Ticket #3317: boost-is_virtual_base_of-exception-specificiton.patch
File boost-is_virtual_base_of-exception-specificiton.patch, 695 bytes (added by , 13 years ago) |
---|
-
boost/type_traits/is_virtual_base_of.hpp
diff -u -r -p boost_1_39_0/boost/type_traits/is_virtual_base_of.hpp boost.throw/boost/type_traits/is_virtual_base_of.hpp
old new struct is_virtual_base_of_impl<Base, Der 57 57 X(); 58 58 X(const X&); 59 59 X& operator=(const X&); 60 ~X() ;60 ~X() throw(); 61 61 }; 62 62 struct Y : Derived 63 63 { 64 64 Y(); 65 65 Y(const Y&); 66 66 Y& operator=(const Y&); 67 ~Y() ;67 ~Y() throw(); 68 68 }; 69 69 #endif 70 70 BOOST_STATIC_CONSTANT(bool, value = (sizeof(X)==sizeof(Y)));