Searched refs:bad_cast (Results 1 – 25 of 51) sorted by relevance
123
/third_party/boost/libs/conversion/test/ |
D | polymorphic_cast_test.cpp | 86 catch( std::bad_cast const& ) in test_polymorphic_cast() 104 catch( std::bad_cast const& ) in test_polymorphic_cast() 129 catch( std::bad_cast const& ) in test_polymorphic_pointer_cast() 147 catch( std::bad_cast const& ) in test_polymorphic_pointer_cast() 165 catch( std::bad_cast const& ) in test_polymorphic_pointer_cast() 262 BOOST_TEST_THROWS( boost::polymorphic_cast<Derived*>( base ), std::bad_cast ); in test_polymorphic_cast_fail() 270 BOOST_TEST_THROWS( boost::polymorphic_pointer_cast<Derived>( base ), std::bad_cast ); in test_polymorphic_pointer_cast_fail() 273 …WS( boost::polymorphic_pointer_cast<Derived>( boost::shared_ptr<Base>(new Base) ), std::bad_cast ); in test_polymorphic_pointer_cast_fail() 276 …ROWS( boost::polymorphic_pointer_cast<Derived>( std::shared_ptr<Base>(new Base) ), std::bad_cast ); in test_polymorphic_pointer_cast_fail() 279 … boost::polymorphic_pointer_cast<Derived>( boost::intrusive_ptr<Base>(new Base) ), std::bad_cast ); in test_polymorphic_pointer_cast_fail()
|
D | cast_test.cpp | 75 catch (const std::bad_cast&) in main()
|
/third_party/boost/libs/statechart/test/ |
D | StateCastTest.cpp | 48 BOOST_REQUIRE_THROW( state_downcast< const State & >(), std::bad_cast ); in AssertNotInState() 50 BOOST_REQUIRE_THROW( state_cast< const State & >(), std::bad_cast ); in AssertNotInState() 67 BOOST_REQUIRE_THROW( theState.template state_downcast< const State & >(), std::bad_cast ); in AssertNotInState() 69 BOOST_REQUIRE_THROW( theState.template state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
|
/third_party/boost/boost/detail/ |
D | catch_exceptions.hpp | 86 catch ( const std::bad_cast & ex ) in catch_exceptions() 91 catch ( const std::bad_cast & ) in catch_exceptions()
|
/third_party/boost/boost/type_erasure/ |
D | exception.hpp | 36 class bad_any_cast : public std::bad_cast {};
|
/third_party/boost/boost/serialization/ |
D | smart_cast.hpp | 155 if ( tmp == 0 ) throw_exception(std::bad_cast()); 186 if ( tmp == 0 ) throw_exception(std::bad_cast()); in cast()
|
/third_party/boost/boost/asio/ip/ |
D | bad_address_cast.hpp | 32 public std::bad_cast
|
/third_party/boost/libs/asio/include/boost/asio/ip/ |
D | bad_address_cast.hpp | 32 public std::bad_cast
|
/third_party/abseil-cpp/absl/types/ |
D | bad_any_cast.h | 59 class bad_any_cast : public std::bad_cast {
|
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
D | bad_any_cast.h | 59 class bad_any_cast : public std::bad_cast {
|
/third_party/boost/boost/ |
D | polymorphic_cast.hpp | 82 if ( tmp == 0 ) boost::throw_exception( std::bad_cast() ); in polymorphic_cast()
|
D | polymorphic_pointer_cast.hpp | 71 if ( !tmp ) boost::throw_exception( std::bad_cast() ); in polymorphic_pointer_cast()
|
/third_party/boost/libs/asio/include/boost/asio/generic/ |
D | seq_packet_protocol.hpp | 70 std::bad_cast ex; in seq_packet_protocol()
|
D | raw_protocol.hpp | 71 std::bad_cast ex; in raw_protocol()
|
D | datagram_protocol.hpp | 71 std::bad_cast ex; in datagram_protocol()
|
D | stream_protocol.hpp | 72 std::bad_cast ex; in stream_protocol()
|
/third_party/boost/boost/asio/generic/ |
D | raw_protocol.hpp | 71 std::bad_cast ex; in raw_protocol()
|
D | seq_packet_protocol.hpp | 70 std::bad_cast ex; in seq_packet_protocol()
|
D | datagram_protocol.hpp | 71 std::bad_cast ex; in datagram_protocol()
|
D | stream_protocol.hpp | 72 std::bad_cast ex; in stream_protocol()
|
/third_party/boost/boost/lexical_cast/ |
D | bad_lexical_cast.hpp | 38 public std::bad_cast
|
/third_party/boost/boost/contract/core/ |
D | exception.hpp | 32 class bad_cast {}; class 83 public std::bad_cast, public boost::contract::exception {
|
/third_party/boost/libs/numeric/conversion/doc/ |
D | converter_policies.qbk | 36 If it throws, is is recommended that it be `std::bad_cast` or derived. 42 void operator() ( boost::range_check_result ) ; // throw bad_cast or derived 76 class bad_numeric_cast : public std::bad_cast
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcConfigListWGL.cpp | 103 catch (const std::bad_cast&) in getConfigListWGL()
|
/third_party/boost/libs/date_time/test/posix_time/ |
D | testc_local_adjustor.cpp | 84 catch (std::bad_cast&) in main()
|
123