Ticket #6142: boost-has_xxx-defines.patch
File boost-has_xxx-defines.patch, 1.5 KB (added by , 11 years ago) |
---|
-
boost/mpl/has_xxx.hpp
old new 341 341 ) \ 342 342 /**/ 343 343 344 # if ! BOOST_MPL_HAS_XXX_NO_EXPLICIT_TEST_FUNCTION344 # if !defined(BOOST_MPL_HAS_XXX_NO_EXPLICIT_TEST_FUNCTION) || !BOOST_MPL_HAS_XXX_NO_EXPLICIT_TEST_FUNCTION 345 345 # define BOOST_MPL_HAS_MEMBER_REJECT(args, member_macro) \ 346 346 template< typename V > \ 347 347 static boost::mpl::aux::no_tag \ … … 354 354 /**/ 355 355 # endif 356 356 357 # if ! BOOST_MPL_HAS_XXX_NO_WRAPPED_TYPES357 # if !defined(BOOST_MPL_HAS_XXX_NO_WRAPPED_TYPES) || !BOOST_MPL_HAS_XXX_NO_WRAPPED_TYPES 358 358 # define BOOST_MPL_HAS_MEMBER_MULTI_ACCEPT(z, n, args) \ 359 359 template< typename V > \ 360 360 static boost::mpl::aux::yes_tag \ … … 383 383 /**/ 384 384 # endif 385 385 386 # if ! BOOST_MPL_HAS_XXX_NO_EXPLICIT_TEST_FUNCTION386 # if !defined(BOOST_MPL_HAS_XXX_NO_EXPLICIT_TEST_FUNCTION) || !BOOST_MPL_HAS_XXX_NO_EXPLICIT_TEST_FUNCTION 387 387 # define BOOST_MPL_HAS_MEMBER_TEST(args) \ 388 388 sizeof(BOOST_MPL_HAS_MEMBER_INTROSPECTION_TEST_NAME(args)< U >(0)) \ 389 389 == sizeof(boost::mpl::aux::yes_tag) \ … … 456 456 ) \ 457 457 /**/ 458 458 459 # if BOOST_MPL_HAS_XXX_NEEDS_TEMPLATE_SFINAE459 # if defined(BOOST_MPL_HAS_XXX_NEEDS_TEMPLATE_SFINAE) && BOOST_MPL_HAS_XXX_NEEDS_TEMPLATE_SFINAE 460 460 461 461 # if !defined(BOOST_MPL_HAS_XXX_NEEDS_NAMESPACE_LEVEL_SUBSTITUTE) 462 462 # if BOOST_WORKAROUND(BOOST_MSVC, <= 1400)