aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-01-15 13:13:11 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-01-15 13:13:11 +0000
commit10ddff67d3ebe819614f1e885567cbb96cad31ae (patch)
tree5abf2e575c6bdbe32fe8d0fbbcee5988fab1317b
parent6e3dd211cad41b8c51951dea1b34bfe602e91e46 (diff)
downloadgcc-10ddff67d3ebe819614f1e885567cbb96cad31ae.zip
gcc-10ddff67d3ebe819614f1e885567cbb96cad31ae.tar.gz
gcc-10ddff67d3ebe819614f1e885567cbb96cad31ae.tar.bz2
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
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/bits/shared_ptr_base.h2
-rw-r--r--libstdc++-v3/include/std/version2
3 files changed, 6 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 8ad9c2f..6aae4b6 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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]
diff --git a/libstdc++-v3/include/bits/shared_ptr_base.h b/libstdc++-v3/include/bits/shared_ptr_base.h
index cacc7d6..b45cbf7 100644
--- a/libstdc++-v3/include/bits/shared_ptr_base.h
+++ b/libstdc++-v3/include/bits/shared_ptr_base.h
@@ -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:
diff --git a/libstdc++-v3/include/std/version b/libstdc++-v3/include/std/version
index 36d291d..38277b9 100644
--- a/libstdc++-v3/include/std/version
+++ b/libstdc++-v3/include/std/version
@@ -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