Zero  0.1.0
Public Member Functions | List of all members
compile_time_assert< T > Struct Template Reference

Compile-time assertion trick. More...

#include <w_base.h>

Public Member Functions

 compile_time_assert ()
 

Detailed Description

template<typename T>
struct compile_time_assert< T >

Compile-time assertion trick.

If the assertion fails you will get a compile error. The problem is that you will also get an unused variable complaint if warnings are turned on, so we make a bogus reference to the named structure.

This is used by macros

Constructor & Destructor Documentation

§ compile_time_assert()

template<typename T >
compile_time_assert< T >::compile_time_assert ( )
inline

The documentation for this struct was generated from the following file: