[PATCH] D153536: [Clang] Implement P2169 A nice placeholder with no name

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 5 14:54:37 PDT 2023


cor3ntin added a comment.

In D153536#4475215 <https://reviews.llvm.org/D153536#4475215>, @philnik wrote:

> Would it be possible to make `__` also a placeholder, so standard libraries can use this before C++26? Or is `_` already a reserved identifier? (I don't think so)

I don't see an issue allowing that in the std namespace. If we allow it everywhere, I'm afraid people will rely on it, which would hurt portability/be confusing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153536



More information about the cfe-commits mailing list