bool_constant is C++17.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337576
91177308-0d34-0410-b5e6-
96231b3b80d8
// Extra additions to <type_traits>
//===----------------------------------------------------------------------===//
-template <typename T> struct negation : std::bool_constant<!bool(T::value)> {};
+template <typename T>
+struct negation : std::integral_constant<bool, !bool(T::value)> {};
template <typename...> struct conjunction : std::true_type {};
template <typename B1> struct conjunction<B1> : B1 {};