Ticket #1507: variant101109.patch
File variant101109.patch, 3.3 KB (added by , 13 years ago) |
---|
-
boost/variant/detail/apply_visitor_binary.hpp
63 63 return visitor_(value1_, value2); 64 64 } 65 65 66 private: 67 apply_visitor_binary_invoke& operator=(const apply_visitor_binary_invoke&); 68 66 69 }; 67 70 68 71 template <typename Visitor, typename Visitable2> … … 100 103 return boost::apply_visitor(invoker, visitable2_); 101 104 } 102 105 106 private: 107 apply_visitor_binary_unwrap& operator=(const apply_visitor_binary_unwrap&); 108 103 109 }; 104 110 105 111 }} // namespace detail::variant -
boost/variant/detail/apply_visitor_delayed.hpp
72 72 return apply_visitor(visitor_, visitable1, visitable2); 73 73 } 74 74 75 private: 76 apply_visitor_delayed_t& operator=(const apply_visitor_delayed_t&); 77 75 78 }; 76 79 77 80 template <typename Visitor> -
boost/variant/detail/variant_io.hpp
64 64 out_ << operand; 65 65 } 66 66 67 private: 68 printer& operator=(const printer&); 69 67 70 }; 68 71 69 72 }} // namespace detail::variant -
boost/variant/detail/visitation_impl.hpp
35 35 #include "boost/type_traits/has_nothrow_copy.hpp" 36 36 #include "boost/variant/detail/has_nothrow_move.hpp" 37 37 38 #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) 39 # pragma warning (push) 40 # pragma warning (disable : 4702) //unreachable code 41 #endif 38 42 39 43 /////////////////////////////////////////////////////////////////////////////// 40 44 // BOOST_VARIANT_VISITATION_UNROLLING_LIMIT … … 283 287 }} // namespace detail::variant 284 288 } // namespace boost 285 289 290 #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) 291 # pragma warning(pop) 292 #endif 293 286 294 #endif // BOOST_VARIANT_DETAIL_VISITATION_IMPL_HPP -
boost/variant/variant.hpp
698 698 ::boost::detail::variant::move_swap( operand, other ); 699 699 } 700 700 701 private: 702 swap_with& operator=(const swap_with&); 703 701 704 }; 702 705 703 706 /////////////////////////////////////////////////////////////////////////////// … … 759 762 return Comp()(lhs_content, rhs_content); 760 763 } 761 764 765 private: 766 comparer& operator=(const comparer&); 767 762 768 }; 763 769 764 770 /////////////////////////////////////////////////////////////////////////////// -
libs/variant/test/test7.cpp
197 197 198 198 ValueType& expected_; 199 199 200 private: 201 compare_helper& operator=(const compare_helper&); 202 200 203 }; 201 204 202 205 template<typename VariantType, typename ExpectedType>