From: Jonathan Wakely Date: Fri, 20 Jul 2018 11:24:38 +0000 (+0100) Subject: PR libstdc++/86603 Move __cpp_lib_list_remove_return_type macro X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=afa07bdd786dfd67ff9cd1deef3142b9821c26b5;p=gcc.git PR libstdc++/86603 Move __cpp_lib_list_remove_return_type macro This should only be defined for C++2a not C++17. PR libstdc++/86603 * include/std/version: Move __cpp_lib_list_remove_return_type macro. From-SVN: r262902 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ea7db96f222..71a63db93e8 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2018-07-20 Jonathan Wakely + + PR libstdc++/86603 + * include/std/version: Move __cpp_lib_list_remove_return_type macro. + 2018-07-19 Jonathan Wakely * include/std/type_traits (__is_member_object_pointer_helper): Use diff --git a/libstdc++-v3/include/std/version b/libstdc++-v3/include/std/version index a70c73fd12b..0c26d9b6a7b 100644 --- a/libstdc++-v3/include/std/version +++ b/libstdc++-v3/include/std/version @@ -105,7 +105,6 @@ #define __cpp_lib_is_swappable 201603 #define __cpp_lib_launder 201606 #define __cpp_lib_lcm 201606 -#define __cpp_lib_list_remove_return_type 201806L #define __cpp_lib_logical_traits 201510 #define __cpp_lib_make_from_tuple 201606 #define __cpp_lib_map_insertion 201411 @@ -127,6 +126,7 @@ #if __cplusplus > 201703L // c++2a +#define __cpp_lib_list_remove_return_type 201806L #endif // C++2a #endif // C++17 #endif // C++14