diff --git a/include/boost/type_traits/type_traits_test.hpp b/include/boost/type_traits/type_traits_test.hpp index c3eef30..0fe5a0c 100644 --- a/include/boost/type_traits/type_traits_test.hpp +++ b/include/boost/type_traits/type_traits_test.hpp @@ -221,6 +221,7 @@ struct nested_test } }; +#ifndef __SUNPRO_CC #define NESTED_DECL(what)\ template \ struct BOOST_TT_JOIN(nested_tester_,what){\ @@ -229,6 +230,10 @@ struct BOOST_TT_JOIN(nested_tester_,what){\ }; #define NESTED_TEST(what, with)\ {BOOST_TT_JOIN(nested_tester_,what) check(#what "<" #with ">"); (void)check;} +#else +#define NESTED_DECL(what) +#define NESTED_TEST(what, with) +#endif #define BOOST_TT_JOIN( X, Y ) BOOST_DO_TT_JOIN( X, Y ) #define BOOST_DO_TT_JOIN( X, Y ) X##Y @@ -373,3 +378,4 @@ struct test_abc2 +