Ticket #1507: variant.patch

File variant.patch, 1.3 KB (added by Richard Webb <richard.webb@…>, 15 years ago)
  • detail/apply_visitor_delayed.hpp

     
    3535//   effect (i.e., returned function object would have dead reference).
    3636//
    3737
     38#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     39#pragma warning(push)
     40#pragma warning(disable:4512) //assignment operator could not be generated
     41#endif
     42
    3843template <typename Visitor>
    3944class apply_visitor_delayed_t
    4045{
     
    7479
    7580};
    7681
     82#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     83#pragma warning(pop)
     84#endif
     85
    7786template <typename Visitor>
    7887inline apply_visitor_delayed_t<Visitor> apply_visitor(Visitor& visitor)
    7988{
  • variant.hpp

     
    9999#   include "boost/mpl/O1_size.hpp"
    100100#endif
    101101
     102#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     103#pragma warning(push)
     104#pragma warning(disable:4512) //assignment operator could not be generated
     105#endif
    102106
    103107namespace boost {
    104108
     
    18221826
    18231827} // namespace boost
    18241828
     1829#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     1830#pragma warning(pop)
     1831#endif
     1832
    18251833// implementation additions
    18261834#include "boost/variant/detail/variant_io.hpp"
    18271835