[gcc/devel/omp/gcc-9] Add __cpp_lib_bind_front macro to <version> header

Tobias Burnus burnus@gcc.gnu.org
Thu Mar 5 13:59:00 GMT 2020


https://gcc.gnu.org/g:3061315a40b4bfa9a8683fbf71f433601a856d14

commit 3061315a40b4bfa9a8683fbf71f433601a856d14
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Jun 14 19:11:09 2019 +0100

    Add __cpp_lib_bind_front macro to <version> header
    
    Backport from mainline
    2019-06-14  Jonathan Wakely  <jwakely@redhat.com>
    
    	* include/std/version (__cpp_lib_bind_front): Add missing macro.
    
    From-SVN: r272301

Diff:
---
 libstdc++-v3/ChangeLog           | 7 +++++++
 libstdc++-v3/include/std/version | 1 +
 2 files changed, 8 insertions(+)

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index fcf4880..1aba7c8 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,6 +1,13 @@
 2019-06-14  Jonathan Wakely  <jwakely@redhat.com>
 
 	Backport from mainline
+	2019-06-14  Jonathan Wakely  <jwakely@redhat.com>
+
+	* include/std/version (__cpp_lib_bind_front): Add missing macro.
+
+2019-06-14  Jonathan Wakely  <jwakely@redhat.com>
+
+	Backport from mainline
 	2019-06-12  Jonathan Wakely  <jwakely@redhat.com>
 
 	* include/std/algorithm (__cpp_lib_parallel_algorithm): Fix value.
diff --git a/libstdc++-v3/include/std/version b/libstdc++-v3/include/std/version
index 9da3854..f42d740 100644
--- a/libstdc++-v3/include/std/version
+++ b/libstdc++-v3/include/std/version
@@ -149,6 +149,7 @@
 
 #if __cplusplus > 201703L
 // c++2a
+#define __cpp_lib_bind_front 201902L
 #define __cpp_lib_bounded_array_traits 201902L
 #if __cpp_impl_destroying_delete
 # define __cpp_lib_destroying_delete 201806L



More information about the Libstdc++-cvs mailing list