aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std/bit
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-10-30 16:57:13 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-10-30 16:57:13 +0000
commit0d58d88db68e190f9dfae241a806086872ef1d10 (patch)
tree8feaa97ad772bdb43493d62c567891602b25a4d0 /libstdc++-v3/include/std/bit
parent43f1814cf15f0d92bb7a41ab4e38ac83dc3fec74 (diff)
downloadgcc-0d58d88db68e190f9dfae241a806086872ef1d10.zip
gcc-0d58d88db68e190f9dfae241a806086872ef1d10.tar.gz
gcc-0d58d88db68e190f9dfae241a806086872ef1d10.tar.bz2
Fix some missing/incorrect feature test macros
* include/std/bit (__cpp_lib_bitops): Define. * include/std/version (__cpp_lib_constexpr): Remove. (__cpp_lib_bitops, __cpp_lib_constexpr_dynamic_alloc): Define. * testsuite/26_numerics/bit/header.cc: New test. * testsuite/26_numerics/bit/header-2.cc: New test. * testsuite/20_util/allocator_traits/header.cc: New test. * testsuite/20_util/allocator_traits/header-2.cc: New test. From-SVN: r277633
Diffstat (limited to 'libstdc++-v3/include/std/bit')
-rw-r--r--libstdc++-v3/include/std/bit2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/include/std/bit b/libstdc++-v3/include/std/bit
index 914cdfe..e89bca2 100644
--- a/libstdc++-v3/include/std/bit
+++ b/libstdc++-v3/include/std/bit
@@ -263,6 +263,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
#if __cplusplus > 201703L
+#define __cpp_lib_bitops 201907L
+
/// @cond undoc
template<typename _Tp, typename _Up = _Tp>
using _If_is_unsigned_integer