StaticAssert.hpp File Reference

#include "blocxx/BLOCXX_config.h"

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE

Classes

struct  BLOCXX_NAMESPACE::StaticAssertionFailure< true >

Defines

#define BLOCXX_STATIC_ASSERT_CAT(a, b)   a ## b
#define BLOCXX_STATIC_ASSERT_AUX(a, b)   BLOCXX_STATIC_ASSERT_CAT(a, b)
#define BLOCXX_STATIC_ASSERT(B)


Define Documentation

#define BLOCXX_STATIC_ASSERT (  ) 

Value:

enum { \
   BLOCXX_STATIC_ASSERT_AUX(blocxx_static_assert_enum_, __LINE__) \
   = sizeof( ::blocxx::StaticAssertionFailure< (bool)( B ) > ) \
}

Definition at line 55 of file StaticAssert.hpp.

#define BLOCXX_STATIC_ASSERT_AUX ( a,
 )     BLOCXX_STATIC_ASSERT_CAT(a, b)

Definition at line 53 of file StaticAssert.hpp.

#define BLOCXX_STATIC_ASSERT_CAT ( a,
 )     a ## b

Definition at line 52 of file StaticAssert.hpp.


Generated on Wed Feb 25 19:05:00 2009 for blocxx by  doxygen 1.5.6