Type categorization via EnableIfType - for integer info class

This commit is contained in:
Pavel Kirienko 2014-02-21 21:41:14 +04:00
parent 47a2b01a14
commit aee9ce238e

View File

@ -44,6 +44,10 @@ template<typename T>
struct EnableIf<true, T> { typedef T Type; };
template<typename T, typename R = void>
struct EnableIfType { typedef R Type; };
template <bool Condition, typename TrueType, typename FalseType>
struct StaticIf;