diff -aur boost_1_55_0-orig/boost/mpl/has_xxx.hpp boost_1_55_0-working/boost/mpl/has_xxx.hpp
|
old
|
new
|
|
| 330 | 330 | template< BOOST_PP_ENUM_PARAMS(BOOST_PP_INC(n), typename V) > class V \ |
| 331 | 331 | > \ |
| 332 | 332 | struct BOOST_MPL_HAS_MEMBER_INTROSPECTION_SUBSTITUTE_NAME(args, n) { \ |
| 333 | | }; \ |
| | 333 | typedef void type }; \ |
| 334 | 334 | /**/ |
| 335 | 335 | |
| 336 | 336 | # define BOOST_MPL_HAS_MEMBER_SUBSTITUTE(args, substitute_macro) \ |
| … |
… |
|
| 355 | 355 | # endif |
| 356 | 356 | |
| 357 | 357 | # if !BOOST_MPL_HAS_XXX_NO_WRAPPED_TYPES |
| | 358 | #if (defined __SUNPRO_CC) |
| 358 | 359 | # define BOOST_MPL_HAS_MEMBER_MULTI_ACCEPT(z, n, args) \ |
| 359 | 360 | template< typename V > \ |
| 360 | 361 | static boost::mpl::aux::yes_tag \ |
| 361 | 362 | BOOST_MPL_HAS_MEMBER_INTROSPECTION_TEST_NAME(args)( \ |
| 362 | 363 | boost::mpl::aux::type_wrapper< V > const volatile* \ |
| 363 | | , BOOST_MPL_HAS_MEMBER_INTROSPECTION_SUBSTITUTE_NAME(args, n) < \ |
| | 364 | , typename BOOST_MPL_HAS_MEMBER_INTROSPECTION_SUBSTITUTE_NAME(args, n) < \ |
| | 365 | U::template BOOST_PP_ARRAY_ELEM(1, args) \ |
| | 366 | >::type* = 0 \ |
| | 367 | ); \ |
| | 368 | /**/ |
| | 369 | #else |
| | 370 | # define BOOST_MPL_HAS_MEMBER_MULTI_ACCEPT(z, n, args) \ |
| | 371 | template< typename V > \ |
| | 372 | static boost::mpl::aux::yes_tag \ |
| | 373 | BOOST_MPL_HAS_MEMBER_INTROSPECTION_TEST_NAME(args)( \ |
| | 374 | boost::mpl::aux::type_wrapper< V > const volatile* \ |
| | 375 | , typename BOOST_MPL_HAS_MEMBER_INTROSPECTION_SUBSTITUTE_NAME(args, n) < \ |
| 364 | 376 | V::template BOOST_PP_ARRAY_ELEM(1, args) \ |
| 365 | | >* = 0 \ |
| | 377 | >::type* = 0 \ |
| 366 | 378 | ); \ |
| 367 | 379 | /**/ |
| | 380 | #endif |
| 368 | 381 | # define BOOST_MPL_HAS_MEMBER_ACCEPT(args, member_macro) \ |
| 369 | 382 | BOOST_PP_REPEAT( \ |
| 370 | 383 | BOOST_PP_ARRAY_ELEM(2, args) \ |