mirror of git://gcc.gnu.org/git/gcc.git
* 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>
|
2015-10-16 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
* doc/xml/manual/configure.xml: Document
|
* doc/xml/manual/configure.xml: Document
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
using __bool_constant = integral_constant<bool, __v>;
|
using __bool_constant = integral_constant<bool, __v>;
|
||||||
|
|
||||||
#if __cplusplus > 201402L
|
#if __cplusplus > 201402L
|
||||||
// TODO: #define __cpp_lib_bool_constant 201505
|
# define __cpp_lib_bool_constant 201505
|
||||||
template<bool __v>
|
template<bool __v>
|
||||||
using bool_constant = integral_constant<bool, __v>;
|
using bool_constant = integral_constant<bool, __v>;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue