Commit 009c4005 authored by Milo Yip's avatar Milo Yip

Fixes 'not' keyword that is not supported by Visual Studio by default

parent 28294fa7
......@@ -43,7 +43,7 @@ template <typename T> struct EnableIfCond<true, T> { typedef T Type; };
template <typename T> struct EnableIfCond<false, T> { /* empty */ };
template <bool Condition, typename T = void>
struct DisableIfCond : EnableIfCond<not Condition, T> {};
struct DisableIfCond : EnableIfCond<!Condition, T> {};
template <typename Condition, typename T = void>
struct EnableIf : EnableIfCond<Condition::Value, T> {};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment