Sierra Toolkit Version of the Day
stk::StaticAssert< expression > Struct Template Reference

Compile-time assertionIf the compile-time expression is true then defines. More...

#include <StaticAssert.hpp>


Detailed Description

template<bool expression>
struct stk::StaticAssert< expression >

Compile-time assertion

If the compile-time expression is true then defines.

  • enum { OK = true };
  • static bool ok() { return true ; }
Todo:
REFACTOR Does StaticAssert belong here? Anywhere?

Definition at line 23 of file StaticAssert.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines