llvm-project/libcxx/test/std/input.output/iostream.format/quoted.manip
Arthur O'Dwyer 34206b869d [libc++] Overhaul std::quoted; fix its relationship to character traits.
Move `__quoted_output_proxy` into the one file that uses it.

A `const char*` has no associated traits class, so `std::quoted("literal")`
should be printable into any basic_ostream regardless of traits.

Use hidden-friend `operator<<` and `operator>>`, since we're permitted to.
(The exact signature is unspecified because the class itself is unspecified.)

We shouldn't support `std::quoted("literal")` in C++03 or C++11 mode.
(We do need `std::__quoted(s)` and `std::__quoted(cs)` in C++11 mode,
because they're used by `std::__fs::filesystem::path`.)

Differential Revision: https://reviews.llvm.org/D120135
2022-03-07 13:28:58 -05:00
..
quoted.pass.cpp [libc++] Add an option to disable wide character support in libc++ 2021-10-12 06:08:23 -04:00
quoted_char.verify.cpp [libc++] Add an option to disable wide character support in libc++ 2021-10-12 06:08:23 -04:00
quoted_traits.compile.pass.cpp [libc++] Overhaul std::quoted; fix its relationship to character traits. 2022-03-07 13:28:58 -05:00
quoted_traits.verify.cpp