* include/std/type_traits (__cpp_lib_bool_constant): Define.

From-SVN: r229152
This commit is contained in:
Jonathan Wakely 2015-10-21 22:20:25 +01:00 committed by Jonathan Wakely
parent 78fd2726ca
commit f9badf7134
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-10-21 Jonathan Wakely <jwakely@redhat.com>
* include/std/type_traits (__cpp_lib_bool_constant): Define.
2015-10-16 Jonathan Wakely <jwakely@redhat.com>
* doc/xml/manual/configure.xml: Document

View File

@ -93,7 +93,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
using __bool_constant = integral_constant<bool, __v>;
#if __cplusplus > 201402L
// TODO: #define __cpp_lib_bool_constant 201505
# define __cpp_lib_bool_constant 201505
template<bool __v>
using bool_constant = integral_constant<bool, __v>;
#endif