Update value of __cpp_lib_shared_ptr_arrays macro
authorJonathan Wakely <jwakely@redhat.com>
Tue, 15 Jan 2019 13:13:11 +0000 (13:13 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 15 Jan 2019 13:13:11 +0000 (13:13 +0000)
* 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

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/shared_ptr_base.h
libstdc++-v3/include/std/version

index 8ad9c2f29f85fac4a7dee1c358468d198d2344b2..6aae4b6e730eab03e35a0fe57c03c3aecddf9eca 100644 (file)
@@ -1,5 +1,9 @@
 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]
        (__cpp_lib_erase_if): Only define for C++2a.
        * include/std/iterator [__cplusplus >= 201402L && !_GLIBCXX_DEBUG]
index cacc7d689eafcc4a8287a3f974d5025a8135692e..b45cbf7366799a27d901de8de175f8673e7899ec 100644 (file)
@@ -890,7 +890,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
          _M_pi = nullptr;
     }
 
-#define __cpp_lib_shared_ptr_arrays 201603
+#define __cpp_lib_shared_ptr_arrays 201611L
 
   // Helper traits for shared_ptr of array:
 
index 36d291dcf93ceb25ea6d663ba3b3d3944f293ceb..38277b9ecf2c4173f6101cc19dd410b25584f2a2 100644 (file)
@@ -52,7 +52,7 @@
 #define __cpp_lib_allocator_traits_is_always_equal 201411
 #define __cpp_lib_is_null_pointer 201309
 #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__)
 // gnu++11