mirror of git://gcc.gnu.org/git/gcc.git
Update value of __cpp_lib_shared_ptr_arrays macro
* include/bits/shared_ptr_base.h (__cpp_lib_shared_ptr_arrays): Define as 201611L, because P0497R0 changes are supported. * include/std/version (__cpp_lib_shared_ptr_arrays): Likewise. From-SVN: r267938
This commit is contained in:
parent
6e3dd211ca
commit
10ddff67d3
|
|
@ -1,5 +1,9 @@
|
||||||
2019-01-15 Jonathan Wakely <jwakely@redhat.com>
|
2019-01-15 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
|
* include/bits/shared_ptr_base.h (__cpp_lib_shared_ptr_arrays): Define
|
||||||
|
as 201611L, because P0497R0 changes are supported.
|
||||||
|
* include/std/version (__cpp_lib_shared_ptr_arrays): Likewise.
|
||||||
|
|
||||||
* include/bits/erase_if.h [__cplusplus > 201703L]
|
* include/bits/erase_if.h [__cplusplus > 201703L]
|
||||||
(__cpp_lib_erase_if): Only define for C++2a.
|
(__cpp_lib_erase_if): Only define for C++2a.
|
||||||
* include/std/iterator [__cplusplus >= 201402L && !_GLIBCXX_DEBUG]
|
* include/std/iterator [__cplusplus >= 201402L && !_GLIBCXX_DEBUG]
|
||||||
|
|
|
||||||
|
|
@ -890,7 +890,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
_M_pi = nullptr;
|
_M_pi = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define __cpp_lib_shared_ptr_arrays 201603
|
#define __cpp_lib_shared_ptr_arrays 201611L
|
||||||
|
|
||||||
// Helper traits for shared_ptr of array:
|
// Helper traits for shared_ptr of array:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@
|
||||||
#define __cpp_lib_allocator_traits_is_always_equal 201411
|
#define __cpp_lib_allocator_traits_is_always_equal 201411
|
||||||
#define __cpp_lib_is_null_pointer 201309
|
#define __cpp_lib_is_null_pointer 201309
|
||||||
#define __cpp_lib_result_of_sfinae 201210
|
#define __cpp_lib_result_of_sfinae 201210
|
||||||
#define __cpp_lib_shared_ptr_arrays 201603
|
#define __cpp_lib_shared_ptr_arrays 201611L
|
||||||
|
|
||||||
#if !defined(__STRICT_ANSI__)
|
#if !defined(__STRICT_ANSI__)
|
||||||
// gnu++11
|
// gnu++11
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue