cml::STATIC_ASSERTION_FAILURE_M< T, M > Struct Template Reference

A more meaningful compile-time assertion struct. More...

#include <cml_assert.h>

Collaboration diagram for cml::STATIC_ASSERTION_FAILURE_M< T, M >:

Collaboration graph
[legend]

List of all members.

Public Attributes

M::bogus result


Detailed Description

template<bool T, typename M>
struct cml::STATIC_ASSERTION_FAILURE_M< T, M >

A more meaningful compile-time assertion struct.

The parameter M is a struct type which has been declared but not defined; e.g. struct this_is_an_error.

When used with CML_STATIC_REQUIRE_M(<expr>,M), the compiler errors will contain the struct name at the point of the error.

Definition at line 66 of file cml_assert.h.


Member Data Documentation

template<bool T, typename M >
M::bogus cml::STATIC_ASSERTION_FAILURE_M< T, M >::result

Definition at line 67 of file cml_assert.h.


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

Generated on Sat Jul 18 19:35:38 2009 for CML 1.0 by  doxygen 1.5.9