Ticket #7675: decltype.patch

File decltype.patch, 696 bytes (added by gromer@…, 10 years ago)

Patch to fix the issue, relative to 1.52.0

  • boost/config/suffix.hpp

    old new  
    634634#  endif
    635635#endif
    636636
     637// Propagate deprecated BOOST_NO_DECLTYPE and BOOST_NO_DECLTYPE_N3276 macros
     638// to their replacements. We have to do this before reading the values of
     639// the new macros below.
     640#if defined(BOOST_NO_DECLTYPE_N3276) && !defined(BOOST_NO_CXX11_DECLTYPE_N3276)
     641#  define BOOST_NO_CXX11_DECLTYPE_N3276
     642#endif
     643#if defined(BOOST_NO_DECLTYPE) && !defined(BOOST_NO_CXX11_DECLTYPE)
     644#  define BOOST_NO_CXX11_DECLTYPE
     645#endif
     646
    637647//
    638648// Set BOOST_NO_DECLTYPE_N3276 when BOOST_NO_DECLTYPE is defined
    639649//