File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
tests/std/tests/VSO_0157762_feature_test_macros Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -1274,7 +1274,7 @@ struct _Fake_proxy_ptr_impl { // fake replacement for a container proxy smart po
1274
1274
1275
1275
struct _Basic_container_proxy_ptr12 {
1276
1276
// smart pointer components for a _Container_proxy * that don't depend on the allocator
1277
- _Container_proxy* _Ptr;
1277
+ _Container_proxy* _Ptr = nullptr ;
1278
1278
1279
1279
constexpr void _Release() noexcept { // disengage this _Basic_container_proxy_ptr12
1280
1280
_Ptr = nullptr;
Original file line number Diff line number Diff line change 1183
1183
#define __cpp_lib_constexpr_algorithms 201806L
1184
1184
#define __cpp_lib_constexpr_complex 201711L
1185
1185
1186
- #if defined(__cpp_constexpr_dynamic_alloc) \
1187
- && defined (__clang__) // TRANSITION, MSVC support for constexpr dynamic allocation
1186
+ #ifdef __cpp_constexpr_dynamic_alloc
1188
1187
#define __cpp_lib_constexpr_dynamic_alloc 201907L
1189
- #endif // defined( __cpp_constexpr_dynamic_alloc) && defined(__clang__)
1188
+ #endif // __cpp_constexpr_dynamic_alloc
1190
1189
1191
1190
#define __cpp_lib_constexpr_functional 201907L
1192
1191
#define __cpp_lib_constexpr_iterator 201811L
Original file line number Diff line number Diff line change @@ -411,8 +411,7 @@ STATIC_ASSERT(__cpp_lib_constexpr_complex == 201711L);
411
411
#endif
412
412
#endif
413
413
414
- #if _HAS_CXX20 && defined(__cpp_constexpr_dynamic_alloc) \
415
- && defined (__clang__) // TRANSITION, MSVC support for constexpr dynamic allocation
414
+ #if _HAS_CXX20 && defined(__cpp_constexpr_dynamic_alloc)
416
415
#ifndef __cpp_lib_constexpr_dynamic_alloc
417
416
#error __cpp_lib_constexpr_dynamic_alloc is not defined
418
417
#elif __cpp_lib_constexpr_dynamic_alloc != 201907L
You can’t perform that action at this time.
0 commit comments