Ticket #1507: variant101109.patch

File variant101109.patch, 3.3 KB (added by Richard Webb <richard.webb@…>, 13 years ago)
  • boost/variant/detail/apply_visitor_binary.hpp

     
    6363        return visitor_(value1_, value2);
    6464    }
    6565
     66private:
     67    apply_visitor_binary_invoke& operator=(const apply_visitor_binary_invoke&);
     68
    6669};
    6770
    6871template <typename Visitor, typename Visitable2>
     
    100103        return boost::apply_visitor(invoker, visitable2_);
    101104    }
    102105
     106private:
     107    apply_visitor_binary_unwrap& operator=(const apply_visitor_binary_unwrap&);
     108
    103109};
    104110
    105111}} // namespace detail::variant
  • boost/variant/detail/apply_visitor_delayed.hpp

     
    7272        return apply_visitor(visitor_, visitable1, visitable2);
    7373    }
    7474
     75private:
     76    apply_visitor_delayed_t& operator=(const apply_visitor_delayed_t&);
     77
    7578};
    7679
    7780template <typename Visitor>
  • boost/variant/detail/variant_io.hpp

     
    6464        out_ << operand;
    6565    }
    6666
     67private:
     68    printer& operator=(const printer&);
     69
    6770};
    6871
    6972}} // namespace detail::variant
  • boost/variant/detail/visitation_impl.hpp

     
    3535#include "boost/type_traits/has_nothrow_copy.hpp"
    3636#include "boost/variant/detail/has_nothrow_move.hpp"
    3737
     38#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     39# pragma warning (push)
     40# pragma warning (disable : 4702) //unreachable code
     41#endif
    3842
    3943///////////////////////////////////////////////////////////////////////////////
    4044// BOOST_VARIANT_VISITATION_UNROLLING_LIMIT
     
    283287}} // namespace detail::variant
    284288} // namespace boost
    285289
     290#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) 
     291# pragma warning(pop) 
     292#endif
     293
    286294#endif // BOOST_VARIANT_DETAIL_VISITATION_IMPL_HPP
  • boost/variant/variant.hpp

     
    698698        ::boost::detail::variant::move_swap( operand, other );
    699699    }
    700700
     701private:
     702    swap_with& operator=(const swap_with&);
     703
    701704};
    702705
    703706///////////////////////////////////////////////////////////////////////////////
     
    759762        return Comp()(lhs_content, rhs_content);
    760763    }
    761764
     765private:
     766    comparer& operator=(const comparer&);
     767
    762768};
    763769
    764770///////////////////////////////////////////////////////////////////////////////
  • libs/variant/test/test7.cpp

     
    197197
    198198   ValueType& expected_;
    199199
     200private:
     201   compare_helper& operator=(const compare_helper&);
     202
    200203};
    201204
    202205template<typename VariantType, typename ExpectedType>