[libcxx-commits] [PATCH] D157058: [libc++] Remove generic char_traits implementation

Corentin Jabot via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 12 23:18:48 PDT 2023


cor3ntin added a comment.

> However, the major caveat that makes this whole thing a fiasco is that nobody ever saw the deprecation warning, because Clang doesn't show those from system headers (TIL).

So when someone creates a basic_string<int>, both `basic_string` and `char_traits<int>` being  defined in headers, users do not get any warning despite the template specialization
originally being produced in user code?
At least, I am assuming this is what is happening.
It's something clang should fix, definitively. Although i can see that there are a few different options. Do we have an issue for that?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157058



More information about the libcxx-commits mailing list