Ticket #4686: bimap_assignment_ops.patch
File bimap_assignment_ops.patch, 2.6 KB (added by , 12 years ago) |
---|
-
container_adaptor/detail/functor_bag.hpp
84 84 { 85 85 return *(static_cast<Functor const *>(this)); 86 86 } 87 private: 88 // suppress C4512 (assignment operator could not be generated) on msvc with /W4 89 data_with_functor_bag<Data, FunctorList>& operator=(const data_with_functor_bag<Data, FunctorList>&); 87 90 }; 88 91 89 92 } // namespace detail -
relation/structured_pair.hpp
80 80 const BOOST_DEDUCED_TYPENAME base_:: left_value_type & get_left()const { return first; } 81 81 BOOST_DEDUCED_TYPENAME base_::right_value_type & get_right() { return second; } 82 82 const BOOST_DEDUCED_TYPENAME base_::right_value_type & get_right()const { return second; } 83 private: 84 // suppress C4512 (assignment operator could not be generated) on msvc with /W4 85 normal_storage<FirstType, SecondType>& 86 operator=(const normal_storage<FirstType, SecondType>&); 83 87 }; 84 88 85 89 /// \brief Storage definition of the right view of a mutant relation. … … 115 119 const BOOST_DEDUCED_TYPENAME base_:: left_value_type & get_left()const { return second; } 116 120 BOOST_DEDUCED_TYPENAME base_::right_value_type & get_right() { return first; } 117 121 const BOOST_DEDUCED_TYPENAME base_::right_value_type & get_right()const { return first; } 122 private: 123 // suppress C4512 (assignment operator could not be generated) on msvc with /W4 124 mirror_storage<FirstType, SecondType>& 125 operator=(const mirror_storage<FirstType, SecondType>&); 118 126 }; 119 127 120 128 /** \struct boost::bimaps::relation::storage_finder -
relation/mutant_relation.hpp
88 88 const BOOST_DEDUCED_TYPENAME base_:: left_value_type & get_left()const { return left; } 89 89 BOOST_DEDUCED_TYPENAME base_::right_value_type & get_right() { return right; } 90 90 const BOOST_DEDUCED_TYPENAME base_::right_value_type & get_right()const { return right; } 91 private: 92 // suppress C4512 (assignment operator could not be generated) on msvc with /W4 93 relation_storage<LeftType, RightType, force_mutable> 94 operator=(const relation_storage<LeftType, RightType, force_mutable>&); 91 95 }; 92 96 93 97