From: Zachary Turner Date: Fri, 20 Jul 2018 16:51:55 +0000 (+0000) Subject: Change bool_constant to integral_constant. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee762a8b97eaccc6adb31011eba75b7632b06d60;p=llvm Change bool_constant to integral_constant. bool_constant is C++17. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337576 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/STLExtras.h b/include/llvm/ADT/STLExtras.h index d1756d45d7c..94365dd9ced 100644 --- a/include/llvm/ADT/STLExtras.h +++ b/include/llvm/ADT/STLExtras.h @@ -61,7 +61,8 @@ using ValueOfRange = typename std::remove_reference //===----------------------------------------------------------------------===// -template struct negation : std::bool_constant {}; +template +struct negation : std::integral_constant {}; template struct conjunction : std::true_type {}; template struct conjunction : B1 {};