-#ifdef USE_UNIT_TEST
-//
-// global unit, this is not safe, but until the unit test framework uses
-// shared_ptr throughout this is about as good as it gets :-(
-//
-boost::unit_test::test_suite* get_master_unit(const char* name = 0);
-
-//
-// initialisation class:
-//
-class unit_initialiser
-{
-public:
- unit_initialiser(void (*f)(), const char* /*name*/)
- {
- get_master_unit("Type Traits")->add( BOOST_TEST_CASE(f) );
- }
-};
-
-#define TT_TEST_BEGIN(trait_name)\
- namespace{\
- void trait_name();\
- unit_initialiser init(trait_name, BOOST_STRINGIZE(trait_name));\
- void trait_name(){
-
-#define TT_TEST_END }}
-
-#else
-