[libcxx-commits] [PATCH] D138307: [libc++] Remove default definition of std::char_traits

Tom Honermann via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 21 11:07:20 PST 2022


tahonermann added a comment.

> I think a common ground here could be to support signed char and unsigned char explicitly as extensions. But do we agree that std::string<int> makes no sense and if it breaks some users that's fine?

Yes, I'm not worried about other fundamental types; they are much more problematic than `signed char` and `unsigned char` for the reasons you indicated.

> Also, would you have an appetite for reviving https://wg21.link/n1985?

Not really. I could bring it to SG16, but I don't expect it to garner much favor. It might get some points for standardizing existing practice, but I expect the SG16 response to be that we don't want to encourage use of such extensions.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138307/new/

https://reviews.llvm.org/D138307



More information about the libcxx-commits mailing list