From f69786a71566f542036e82eff2af4faa17e1ff7f Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 30 Dec 2016 09:29:41 -0800 Subject: [PATCH] Remove Not --- fmt/format.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/fmt/format.h b/fmt/format.h index f82713f3..a67aa340 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -1003,13 +1003,6 @@ struct Conditional { typedef T type; }; template struct Conditional { typedef F type; }; -// For bcc32 which doesn't understand ! in template arguments. -template -struct Not { enum { value = 0 }; }; - -template <> -struct Not { enum { value = 1 }; }; - template struct False { enum { value = 0 }; }; @@ -1301,7 +1294,7 @@ class value { template value(const T &value, - typename EnableIf::value>::value, int>::type = 0) { + typename EnableIf::value, int>::type = 0) { static_assert(internal::type() == internal::CUSTOM, "invalid type"); this->custom.value = &value; this->custom.format = &format_custom_arg;