Ticket #9372: hasxxx.diff

File hasxxx.diff, 768 bytes (added by Tom Browder <tom.browder@…>, 9 years ago)

patch for the two remaining errors from the original report

  • mpl/has_xxx.hpp

     
    231231      BOOST_MPL_HAS_MEMBER_INTROSPECTION_TEST_NAME(args)(...); \
    232232    /**/
    233233
    234 #   if !BOOST_MPL_HAS_XXX_NO_WRAPPED_TYPES
     234#   if !defined(BOOST_MPL_HAS_XXX_NO_WRAPPED_TYPES)
    235235#     define BOOST_MPL_HAS_MEMBER_MULTI_ACCEPT(z, n, args) \
    236236        template< typename V > \
    237237        static boost::mpl::aux::yes_tag \
     
    313313      ) \
    314314    /**/
    315315
    316 #   if BOOST_MPL_HAS_XXX_NEEDS_TEMPLATE_SFINAE
     316#   if defined(BOOST_MPL_HAS_XXX_NEEDS_TEMPLATE_SFINAE)
    317317
    318318#     if !defined(BOOST_MPL_HAS_XXX_NEEDS_NAMESPACE_LEVEL_SUBSTITUTE)
    319319#       if BOOST_WORKAROUND(BOOST_MSVC, <= 1400)