diff --git a/misc/traits.h b/misc/traits.h index 1c563fa..3236f58 100644 --- a/misc/traits.h +++ b/misc/traits.h @@ -20,28 +20,29 @@ using Not = Bool; template struct Any : Bool {}; - template struct Any : Conditional, Any > {}; template struct All : Bool {}; - template struct All : Conditional, Bool > {}; template using EnableIf = typename std::enable_if::value, Detail::Enabler>::type; - template using DisableIf = typename std::enable_if::value, Detail::Enabler>::type; template using EnableIfAny = typename std::enable_if::value, Detail::Enabler>::type; - template using DisableIfAny = typename std::enable_if::value, Detail::Enabler>::type; +template class Template> +struct IsSpecializationOf : Bool {}; +template