From: Jonathan Wakely Date: Thu, 8 Jan 2015 13:27:30 +0000 (+0000) Subject: * include/bits/hashtable_policy.h: Use __bool_constant. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea0b599a914a5022d295b37ea52593c4db880cc6;p=gcc.git * include/bits/hashtable_policy.h: Use __bool_constant. From-SVN: r219343 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index affe20416bb..7e261654903 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2015-01-08 Jonathan Wakely + + * include/bits/hashtable_policy.h: Use __bool_constant. + 2015-01-07 Jonathan Wakely * libsupc++/Makefile.am: Compile del_ops.cc as C++14. diff --git a/libstdc++-v3/include/bits/hashtable_policy.h b/libstdc++-v3/include/bits/hashtable_policy.h index 1251ef07ed3..14bcca6562c 100644 --- a/libstdc++-v3/include/bits/hashtable_policy.h +++ b/libstdc++-v3/include/bits/hashtable_policy.h @@ -81,7 +81,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION // Helper type used to detect whether the hash functor is noexcept. template - struct __is_noexcept_hash : std::integral_constant()(declval()))> { }; @@ -211,9 +211,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION template struct _Hashtable_traits { - template - using __bool_constant = integral_constant; - using __hash_cached = __bool_constant<_Cache_hash_code>; using __constant_iterators = __bool_constant<_Constant_iterators>; using __unique_keys = __bool_constant<_Unique_keys>;