static_assert.h File Reference


Detailed Description

Template class to check validity duing compile time (adapted from Loki).

Version:
1.2, 2005/11/22
Author:
Wu Yongwei

Definition in file static_assert.h.

Go to the source code of this file.

Data Structures

struct  __nvwa_compile_time_error< true >

Defines

#define STATIC_ASSERT(_Expr, _Msg)


Define Documentation

#define STATIC_ASSERT ( _Expr,
_Msg   ) 

Value:

{ \
        __nvwa_compile_time_error<((_Expr) != 0)> ERROR_##_Msg; \
        (void)ERROR_##_Msg; \
    }

Definition at line 44 of file static_assert.h.


Generated on Wed May 5 00:06:39 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6