ai::CompileTimeChecker< bool > Struct Template Reference
Provides compile-time errors that are similar to run-time assertions.
More...
#include <AITypes.h>
List of all members.
Detailed Description
template<bool>
struct ai::CompileTimeChecker< bool >
Provides compile-time errors that are similar to run-time assertions.
This is an implementation of Andrei Alexandrescu's CompileTimeChecker. Use the AI_STATIC_CHECK macro to instantiate a CompileTimeChecker object. For example:
AI_STATIC_CHECK(sizeof(wchar_t) == sizeof(unsigned short), wchar_t_size_does_not_match_unsigned_short_size);
Constructor & Destructor Documentation
The documentation for this struct was generated from the following file: