mirror of
https://github.com/boostorg/type_traits.git
synced 2025-08-03 14:34:34 +02:00
Sunpro fixes (can't cope with NESTED_TEST)
[SVN r9720]
This commit is contained in:
@@ -221,6 +221,7 @@ struct nested_test
|
||||
}
|
||||
};
|
||||
|
||||
#ifndef __SUNPRO_CC
|
||||
#define NESTED_DECL(what)\
|
||||
template <class T> \
|
||||
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)<with> 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
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user