[libcxx-commits] [libcxx] [libc++] Reintroduce the removed std::char_traits specialization (PR #66153)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 12 15:45:51 PDT 2023


ldionne wrote:

CC @llvm/libcxx-vendors 

> Having cleaned up a large chunk of our internal generic char_traits usages, I'd like a way to prevent backsliding, if possible. Making this conditional on a preprocessor definition would be an option, if not too rigid one.

Yeah, OK that makes sense. It's a bit of a mess but we can do that if it makes things easier. I am left wondering whether we want to make the default be "the specialization is provided" or "the specialization is not provided".

I would tend to make the default "the specialization is provided" until we've figured out our deprecation story better.

https://github.com/llvm/llvm-project/pull/66153


More information about the libcxx-commits mailing list