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
I believe this should work:
template struct CompileTimeAssert; template<> struct CompileTimeAssert{}; #define STATIC_ASSERT(e) (CompileTimeAssert <(e) != 0>())