2 // { dg-do compile { target c++14 } }
4 template<class T, T... S> struct String_template {};
6 template<class C, C... S>
7 constexpr String_template<C, S...> operator""_template() {
8 return String_template<C, S...> {};
11 template<class prefix = decltype("0x"_template), class T>
12 int hex(T v) { return 1; }
16 // auto h2 = hex<decltype("0x"_template)>(1);