Ticket #1792: concept_check_warning.patch
File concept_check_warning.patch, 750 bytes (added by , 15 years ago) |
---|
-
boost/concept_check.hpp
169 169 TT b; 170 170 }; 171 171 172 #if (defined _MSC_VER) 173 # pragma warning( push ) 174 # pragma warning( disable : 4510 ) // default constructor could not be generated 175 # pragma warning( disable : 4610 ) // object 'class' can never be instantiated - user-defined constructor required 176 #endif 172 177 // The SGI STL version of Assignable requires copy constructor and operator= 173 178 BOOST_concept(SGIAssignable,(TT)) 174 179 { … … 190 195 } 191 196 TT a; 192 197 }; 198 #if (defined _MSC_VER) 199 # pragma warning( pop ) 200 #endif 193 201 194 202 BOOST_concept(Convertible,(X)(Y)) 195 203 {