--------------------------------------------------- -----------------
``__cpp_lib_bit_cast`` ``201806L``
--------------------------------------------------- -----------------
- ``__cpp_lib_bitops`` *unimplemented*
+ ``__cpp_lib_bitops`` ``201907L``
--------------------------------------------------- -----------------
``__cpp_lib_bounded_array_traits`` ``201902L``
--------------------------------------------------- -----------------
# endif
# define __cpp_lib_bind_front 201907L
# define __cpp_lib_bit_cast 201806L
-// # define __cpp_lib_bitops 201907L
+# define __cpp_lib_bitops 201907L
# define __cpp_lib_bounded_array_traits 201902L
# if !defined(_LIBCPP_HAS_NO_CHAR8_T)
# define __cpp_lib_char8_t 201907L
# error "__cpp_lib_bit_cast should have the value 201806L in c++20"
# endif
-# if !defined(_LIBCPP_VERSION)
-# ifndef __cpp_lib_bitops
-# error "__cpp_lib_bitops should be defined in c++20"
-# endif
-# if __cpp_lib_bitops != 201907L
-# error "__cpp_lib_bitops should have the value 201907L in c++20"
-# endif
-# else // _LIBCPP_VERSION
-# ifdef __cpp_lib_bitops
-# error "__cpp_lib_bitops should not be defined because it is unimplemented in libc++!"
-# endif
+# ifndef __cpp_lib_bitops
+# error "__cpp_lib_bitops should be defined in c++20"
+# endif
+# if __cpp_lib_bitops != 201907L
+# error "__cpp_lib_bitops should have the value 201907L in c++20"
# endif
# ifdef __cpp_lib_byteswap
# error "__cpp_lib_bit_cast should have the value 201806L in c++23"
# endif
-# if !defined(_LIBCPP_VERSION)
-# ifndef __cpp_lib_bitops
-# error "__cpp_lib_bitops should be defined in c++23"
-# endif
-# if __cpp_lib_bitops != 201907L
-# error "__cpp_lib_bitops should have the value 201907L in c++23"
-# endif
-# else // _LIBCPP_VERSION
-# ifdef __cpp_lib_bitops
-# error "__cpp_lib_bitops should not be defined because it is unimplemented in libc++!"
-# endif
+# ifndef __cpp_lib_bitops
+# error "__cpp_lib_bitops should be defined in c++23"
+# endif
+# if __cpp_lib_bitops != 201907L
+# error "__cpp_lib_bitops should have the value 201907L in c++23"
# endif
# ifndef __cpp_lib_byteswap
# error "__cpp_lib_bit_cast should have the value 201806L in c++26"
# endif
-# if !defined(_LIBCPP_VERSION)
-# ifndef __cpp_lib_bitops
-# error "__cpp_lib_bitops should be defined in c++26"
-# endif
-# if __cpp_lib_bitops != 201907L
-# error "__cpp_lib_bitops should have the value 201907L in c++26"
-# endif
-# else // _LIBCPP_VERSION
-# ifdef __cpp_lib_bitops
-# error "__cpp_lib_bitops should not be defined because it is unimplemented in libc++!"
-# endif
+# ifndef __cpp_lib_bitops
+# error "__cpp_lib_bitops should be defined in c++26"
+# endif
+# if __cpp_lib_bitops != 201907L
+# error "__cpp_lib_bitops should have the value 201907L in c++26"
# endif
# ifndef __cpp_lib_byteswap
# error "__cpp_lib_bit_cast should have the value 201806L in c++20"
# endif
-# if !defined(_LIBCPP_VERSION)
-# ifndef __cpp_lib_bitops
-# error "__cpp_lib_bitops should be defined in c++20"
-# endif
-# if __cpp_lib_bitops != 201907L
-# error "__cpp_lib_bitops should have the value 201907L in c++20"
-# endif
-# else // _LIBCPP_VERSION
-# ifdef __cpp_lib_bitops
-# error "__cpp_lib_bitops should not be defined because it is unimplemented in libc++!"
-# endif
+# ifndef __cpp_lib_bitops
+# error "__cpp_lib_bitops should be defined in c++20"
+# endif
+# if __cpp_lib_bitops != 201907L
+# error "__cpp_lib_bitops should have the value 201907L in c++20"
# endif
# ifdef __cpp_lib_bitset
# error "__cpp_lib_bit_cast should have the value 201806L in c++23"
# endif
-# if !defined(_LIBCPP_VERSION)
-# ifndef __cpp_lib_bitops
-# error "__cpp_lib_bitops should be defined in c++23"
-# endif
-# if __cpp_lib_bitops != 201907L
-# error "__cpp_lib_bitops should have the value 201907L in c++23"
-# endif
-# else // _LIBCPP_VERSION
-# ifdef __cpp_lib_bitops
-# error "__cpp_lib_bitops should not be defined because it is unimplemented in libc++!"
-# endif
+# ifndef __cpp_lib_bitops
+# error "__cpp_lib_bitops should be defined in c++23"
+# endif
+# if __cpp_lib_bitops != 201907L
+# error "__cpp_lib_bitops should have the value 201907L in c++23"
# endif
# ifdef __cpp_lib_bitset
# error "__cpp_lib_bit_cast should have the value 201806L in c++26"
# endif
-# if !defined(_LIBCPP_VERSION)
-# ifndef __cpp_lib_bitops
-# error "__cpp_lib_bitops should be defined in c++26"
-# endif
-# if __cpp_lib_bitops != 201907L
-# error "__cpp_lib_bitops should have the value 201907L in c++26"
-# endif
-# else // _LIBCPP_VERSION
-# ifdef __cpp_lib_bitops
-# error "__cpp_lib_bitops should not be defined because it is unimplemented in libc++!"
-# endif
+# ifndef __cpp_lib_bitops
+# error "__cpp_lib_bitops should be defined in c++26"
+# endif
+# if __cpp_lib_bitops != 201907L
+# error "__cpp_lib_bitops should have the value 201907L in c++26"
# endif
# if !defined(_LIBCPP_VERSION)
"name": "__cpp_lib_bitops",
"values": {"c++20": 201907},
"headers": ["bit"],
- "unimplemented": True,
},
{
"name": "__cpp_lib_bitset",