2 // { dg-do compile { target c++2a } }
5 using size_t = decltype(sizeof(1));
6 template <typename CharT, std::size_t N>
7 struct basic_fixed_string
9 constexpr basic_fixed_string(const CharT (&foo)[N+1])
12 for (int i = 0; i <= N; ++i)
15 // auto operator<=>(const basic_fixed_string &) = default;
18 template <typename CharT, std::size_t N>
19 basic_fixed_string(const CharT (&str)[N])->basic_fixed_string<CharT, N-1>;
20 template <std::size_t N>
21 using fixed_string = basic_fixed_string<char, N>;
24 template <std::basic_fixed_string Str>
26 using hello_A = A<"hello">;