[libc++] Mark __cpp_lib_constexpr_memory as being implemented
This commit is contained in:
parent
378941f611
commit
5d0d465ad4
|
|
@ -210,7 +210,7 @@ Status
|
|||
------------------------------------------------- -----------------
|
||||
``__cpp_lib_constexpr_iterator`` *unimplemented*
|
||||
------------------------------------------------- -----------------
|
||||
``__cpp_lib_constexpr_memory`` *unimplemented*
|
||||
``__cpp_lib_constexpr_memory`` ``201811L``
|
||||
------------------------------------------------- -----------------
|
||||
``__cpp_lib_constexpr_numeric`` ``201911L``
|
||||
------------------------------------------------- -----------------
|
||||
|
|
|
|||
|
|
@ -301,7 +301,7 @@ __cpp_lib_void_t 201411L <type_traits>
|
|||
# define __cpp_lib_constexpr_dynamic_alloc 201907L
|
||||
# define __cpp_lib_constexpr_functional 201907L
|
||||
// # define __cpp_lib_constexpr_iterator 201811L
|
||||
// # define __cpp_lib_constexpr_memory 201811L
|
||||
# define __cpp_lib_constexpr_memory 201811L
|
||||
# define __cpp_lib_constexpr_numeric 201911L
|
||||
// # define __cpp_lib_constexpr_string 201907L
|
||||
// # define __cpp_lib_constexpr_string_view 201811L
|
||||
|
|
|
|||
|
|
@ -327,17 +327,11 @@
|
|||
# error "__cpp_lib_constexpr_dynamic_alloc should have the value 201907L in c++20"
|
||||
# endif
|
||||
|
||||
# if !defined(_LIBCPP_VERSION)
|
||||
# ifndef __cpp_lib_constexpr_memory
|
||||
# error "__cpp_lib_constexpr_memory should be defined in c++20"
|
||||
# endif
|
||||
# if __cpp_lib_constexpr_memory != 201811L
|
||||
# error "__cpp_lib_constexpr_memory should have the value 201811L in c++20"
|
||||
# endif
|
||||
# else // _LIBCPP_VERSION
|
||||
# ifdef __cpp_lib_constexpr_memory
|
||||
# error "__cpp_lib_constexpr_memory should not be defined because it is unimplemented in libc++!"
|
||||
# endif
|
||||
# ifndef __cpp_lib_constexpr_memory
|
||||
# error "__cpp_lib_constexpr_memory should be defined in c++20"
|
||||
# endif
|
||||
# if __cpp_lib_constexpr_memory != 201811L
|
||||
# error "__cpp_lib_constexpr_memory should have the value 201811L in c++20"
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_enable_shared_from_this
|
||||
|
|
@ -483,17 +477,11 @@
|
|||
# error "__cpp_lib_constexpr_dynamic_alloc should have the value 201907L in c++2b"
|
||||
# endif
|
||||
|
||||
# if !defined(_LIBCPP_VERSION)
|
||||
# ifndef __cpp_lib_constexpr_memory
|
||||
# error "__cpp_lib_constexpr_memory should be defined in c++2b"
|
||||
# endif
|
||||
# if __cpp_lib_constexpr_memory != 201811L
|
||||
# error "__cpp_lib_constexpr_memory should have the value 201811L in c++2b"
|
||||
# endif
|
||||
# else // _LIBCPP_VERSION
|
||||
# ifdef __cpp_lib_constexpr_memory
|
||||
# error "__cpp_lib_constexpr_memory should not be defined because it is unimplemented in libc++!"
|
||||
# endif
|
||||
# ifndef __cpp_lib_constexpr_memory
|
||||
# error "__cpp_lib_constexpr_memory should be defined in c++2b"
|
||||
# endif
|
||||
# if __cpp_lib_constexpr_memory != 201811L
|
||||
# error "__cpp_lib_constexpr_memory should have the value 201811L in c++2b"
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_enable_shared_from_this
|
||||
|
|
|
|||
|
|
@ -2442,17 +2442,11 @@
|
|||
# endif
|
||||
# endif
|
||||
|
||||
# if !defined(_LIBCPP_VERSION)
|
||||
# ifndef __cpp_lib_constexpr_memory
|
||||
# error "__cpp_lib_constexpr_memory should be defined in c++20"
|
||||
# endif
|
||||
# if __cpp_lib_constexpr_memory != 201811L
|
||||
# error "__cpp_lib_constexpr_memory should have the value 201811L in c++20"
|
||||
# endif
|
||||
# else // _LIBCPP_VERSION
|
||||
# ifdef __cpp_lib_constexpr_memory
|
||||
# error "__cpp_lib_constexpr_memory should not be defined because it is unimplemented in libc++!"
|
||||
# endif
|
||||
# ifndef __cpp_lib_constexpr_memory
|
||||
# error "__cpp_lib_constexpr_memory should be defined in c++20"
|
||||
# endif
|
||||
# if __cpp_lib_constexpr_memory != 201811L
|
||||
# error "__cpp_lib_constexpr_memory should have the value 201811L in c++20"
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_constexpr_numeric
|
||||
|
|
@ -3661,17 +3655,11 @@
|
|||
# endif
|
||||
# endif
|
||||
|
||||
# if !defined(_LIBCPP_VERSION)
|
||||
# ifndef __cpp_lib_constexpr_memory
|
||||
# error "__cpp_lib_constexpr_memory should be defined in c++2b"
|
||||
# endif
|
||||
# if __cpp_lib_constexpr_memory != 201811L
|
||||
# error "__cpp_lib_constexpr_memory should have the value 201811L in c++2b"
|
||||
# endif
|
||||
# else // _LIBCPP_VERSION
|
||||
# ifdef __cpp_lib_constexpr_memory
|
||||
# error "__cpp_lib_constexpr_memory should not be defined because it is unimplemented in libc++!"
|
||||
# endif
|
||||
# ifndef __cpp_lib_constexpr_memory
|
||||
# error "__cpp_lib_constexpr_memory should be defined in c++2b"
|
||||
# endif
|
||||
# if __cpp_lib_constexpr_memory != 201811L
|
||||
# error "__cpp_lib_constexpr_memory should have the value 201811L in c++2b"
|
||||
# endif
|
||||
|
||||
# ifndef __cpp_lib_constexpr_numeric
|
||||
|
|
|
|||
|
|
@ -204,7 +204,6 @@ feature_test_macros = [ add_version_header(x) for x in [
|
|||
"name": "__cpp_lib_constexpr_memory",
|
||||
"values": { "c++20": 201811 },
|
||||
"headers": ["memory"],
|
||||
"unimplemented": True,
|
||||
}, {
|
||||
"name": "__cpp_lib_constexpr_numeric",
|
||||
"values": { "c++20": 201911 },
|
||||
|
|
|
|||
Loading…
Reference in New Issue