static_assert.h File Reference

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

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __nvwa_compile_time_error< true >

Defines

#define STATIC_ASSERT(_Expr, _Msg)


Detailed Description

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

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

Define Documentation

#define STATIC_ASSERT ( _Expr,
_Msg   ) 

Value:

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


Generated on Mon Dec 31 15:07:31 2007 for Nvwa by  doxygen 1.5.1