mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-09 14:25:06 +08:00
* include/std/type_traits (__cpp_lib_bool_constant): Define.
From-SVN: r229152
This commit is contained in:
parent
78fd2726ca
commit
f9badf7134
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user