1 // { dg-do compile { target c++20 } }
4 // _Normalize does not consider char_type for the basic_string_view case
14 Alloc(const Alloc
<U
>&) { }
15 T
* allocate(std::size_t);
16 void deallocate(T
*, std::size_t);
17 bool operator==(const Alloc
&) const;
21 using String
= std::basic_string
<C
, std::char_traits
<C
>, Alloc
<C
>>;
24 struct std::formatter
<String
<wchar_t>> : std::formatter
<std::string
> {
25 auto format(const String
<wchar_t>&, auto& ctx
) const {
26 return std::formatter
<std::string
>::format(" ", ctx
);
30 std::string str
= std::format("{}", String
<wchar_t>{});