From f9badf7134ba51f5a114d58c10e61cb1acd83997 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 21 Oct 2015 22:20:25 +0100 Subject: [PATCH] * include/std/type_traits (__cpp_lib_bool_constant): Define. From-SVN: r229152 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/include/std/type_traits | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f6c35e69359..9444dd308d2 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2015-10-21 Jonathan Wakely + + * include/std/type_traits (__cpp_lib_bool_constant): Define. + 2015-10-16 Jonathan Wakely * doc/xml/manual/configure.xml: Document diff --git a/libstdc++-v3/include/std/type_traits b/libstdc++-v3/include/std/type_traits index 55ca9167b7b..e291047ad8b 100644 --- a/libstdc++-v3/include/std/type_traits +++ b/libstdc++-v3/include/std/type_traits @@ -93,7 +93,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION using __bool_constant = integral_constant; #if __cplusplus > 201402L -// TODO: #define __cpp_lib_bool_constant 201505 +# define __cpp_lib_bool_constant 201505 template using bool_constant = integral_constant; #endif -- 2.30.2