llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_append
Louis Dionne aeecef08c3 [libc++] Remove default definition of std::char_traits
This patch removes the base template implementation for std::char_traits.
If my reading of http://eel.is/c++draft/char.traits is correct, the
Standard mandates that the library provides specializations for several
types like char and wchar_t, but not any implementation in the base
template. Indeed, such an implementation is bound to be incorrect for
most types anyways, since things like `eof()` and `int_type` will definitely
have to be customized.

Since the base template implementation should not have worked for anyone,
this shouldn't be a breaking change (I expect that anyone defining a
custom character type today will already have to provide their own
specialization of char_traits). However, since we're aware of some users
of char_traits for unsigned char and signed char, we're keeping those two
specializations around for two releases to give people some time to migrate.

Differential Revision: https://reviews.llvm.org/D138307
2022-11-23 09:51:01 -05:00
..
T_size_size.pass.cpp [libc++][NFC] Remove some of the code duplication in the string tests 2022-08-26 21:57:42 +02:00
initializer_list.pass.cpp [libcxx][AIX] Switch build compiler to clang 2022-06-13 21:45:18 -04:00
iterator.pass.cpp [libc++][NFC] Remove some of the code duplication in the string tests 2022-08-26 21:57:42 +02:00
pointer.pass.cpp [libc++][NFC] Remove some of the code duplication in the string tests 2022-08-26 21:57:42 +02:00
pointer_size.pass.cpp [libc++][NFC] Remove some of the code duplication in the string tests 2022-08-26 21:57:42 +02:00
push_back.pass.cpp [libc++] Remove default definition of std::char_traits 2022-11-23 09:51:01 -05:00
size_char.pass.cpp [libc++][NFC] Remove some of the code duplication in the string tests 2022-08-26 21:57:42 +02:00
string.pass.cpp [libc++][NFC] Remove some of the code duplication in the string tests 2022-08-26 21:57:42 +02:00
string_size_size.pass.cpp [libc++][NFC] Remove some of the code duplication in the string tests 2022-08-26 21:57:42 +02:00
string_view.pass.cpp [libc++][NFC] Remove some of the code duplication in the string tests 2022-08-26 21:57:42 +02:00