Define the feature test macro for named character escapes.
I assume this was not done because it was implemented before formally accepted, right? cxx_status says the paper is implemented.
Details
Details
- Reviewers
cor3ntin - Commits
- rGbd1bb8cd4254: [Clang] define __cpp_named_character_escapes
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for catching that, I missed there was a feature test macro for it.
It doesn't really make sense for it to be a feature test macro (given WG21's current policies) so I'll make raise an issue about that but I'm happy to approve the change in the meantime
Comment Actions
Then I hope we won't have to revert this in two years or something :)
But in the meantime I agree this is what users will expect so it's better to define it than not to.