Assert Macros
[COMSTL]


Detailed Description

These assert macros are used to enforcement contracts and intermediate assumptions about program state.


Defines

#define COMSTL_ASSERT(expr)   STLSOFT_ASSERT(expr)
 Defines a runtime assertion.
#define COMSTL_MESSAGE_ASSERT(msg, expr)   STLSOFT_MESSAGE_ASSERT(msg, expr)
 Defines a runtime assertion, with message.
#define COMSTL_STATIC_ASSERT(expr)   STLSOFT_STATIC_ASSERT(expr)
 Defines a compile-time assertion.


Define Documentation

#define COMSTL_ASSERT ( expr   )     STLSOFT_ASSERT(expr)

#define COMSTL_MESSAGE_ASSERT ( msg,
expr   )     STLSOFT_MESSAGE_ASSERT(msg, expr)

#define COMSTL_STATIC_ASSERT ( expr   )     STLSOFT_STATIC_ASSERT(expr)

Defines a compile-time assertion.

Parameters:
expr Must be non-zero, or compilation will fail

Referenced by c_str_ptr_GUID_proxy::c_str_ptr_GUID_proxy().


Generated on Thu Jun 10 08:58:21 2010 for STLSoft by  doxygen 1.5.6