static_assert.h File Reference

Back to the index.

Classes | Macros
static_assert.h File Reference

Go to the source code of this file.

Classes

struct  __nvwa_compile_time_error< bool >
 
struct  __nvwa_compile_time_error< true >
 Part of Wu Yongwei's new/delete debug memory leak detector. More...
 

Macros

#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

Definition in file static_assert.h.

Macro Definition Documentation

◆ STATIC_ASSERT

#define STATIC_ASSERT (   _Expr,
  _Msg 
)
Value:
{ \
__nvwa_compile_time_error<((_Expr) != 0)> ERROR_##_Msg; \
(void)ERROR_##_Msg; \
}

Definition at line 55 of file static_assert.h.

Referenced by operator new().


Generated on Fri Dec 7 2018 19:52:23 for GXemul by doxygen 1.8.13