Since boost is forbidden in a company I work for I need to implement its functionality in pure C++. I\'ve looked into boost sources but they seem to be too complex to unders
template struct StaticAssert; template<> struct StaticAssert {}; int main() { StaticAssert< (4>3) >(); //OK StaticAssert< (2+2==5) >(); //ERROR }