Ticket #1507: variant.patch
File variant.patch, 1.3 KB (added by , 15 years ago) |
---|
-
detail/apply_visitor_delayed.hpp
35 35 // effect (i.e., returned function object would have dead reference). 36 36 // 37 37 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 38 43 template <typename Visitor> 39 44 class apply_visitor_delayed_t 40 45 { … … 74 79 75 80 }; 76 81 82 #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) 83 #pragma warning(pop) 84 #endif 85 77 86 template <typename Visitor> 78 87 inline apply_visitor_delayed_t<Visitor> apply_visitor(Visitor& visitor) 79 88 { -
variant.hpp
99 99 # include "boost/mpl/O1_size.hpp" 100 100 #endif 101 101 102 #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) 103 #pragma warning(push) 104 #pragma warning(disable:4512) //assignment operator could not be generated 105 #endif 102 106 103 107 namespace boost { 104 108 … … 1822 1826 1823 1827 } // namespace boost 1824 1828 1829 #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) 1830 #pragma warning(pop) 1831 #endif 1832 1825 1833 // implementation additions 1826 1834 #include "boost/variant/detail/variant_io.hpp" 1827 1835