[libcxx-commits] [PATCH] D111773: [libcxx] __cpp_lib_ranges value should be 201911L under C++20, not 201811L
cqwrteur via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Oct 13 20:07:52 PDT 2021
expnkx created this revision.
expnkx added reviewers: libc++, ldionne.
Herald added subscribers: libcxx-commits, arichardson.
expnkx requested review of this revision.
This breaks my code since my code detects __cpp_lib_ranges >= 201911L
I have checked cppreference, libstdc++, msvc stl, they all define __cpp_lib_ranges as 201911L. Clearly this is a bug.
Test runs successfully locally
Repository:
rCXX libc++
https://reviews.llvm.org/D111773
Files:
libcxx/include/version
libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
libcxx/utils/generate_feature_test_macro_components.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111773.379593.patch
Type: text/x-patch
Size: 6574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211014/8da8e032/attachment.bin>
More information about the libcxx-commits
mailing list