Home
last modified time | relevance | path

Searched refs:bad_cast (Results 1 – 25 of 51) sorted by relevance

123

/third_party/boost/libs/conversion/test/
Dpolymorphic_cast_test.cpp86 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()
Dcast_test.cpp75 catch (const std::bad_cast&) in main()
/third_party/boost/libs/statechart/test/
DStateCastTest.cpp48 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/
Dcatch_exceptions.hpp86 catch ( const std::bad_cast & ex ) in catch_exceptions()
91 catch ( const std::bad_cast & ) in catch_exceptions()
/third_party/boost/boost/type_erasure/
Dexception.hpp36 class bad_any_cast : public std::bad_cast {};
/third_party/boost/boost/serialization/
Dsmart_cast.hpp155 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/
Dbad_address_cast.hpp32 public std::bad_cast
/third_party/boost/libs/asio/include/boost/asio/ip/
Dbad_address_cast.hpp32 public std::bad_cast
/third_party/abseil-cpp/absl/types/
Dbad_any_cast.h59 class bad_any_cast : public std::bad_cast {
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dbad_any_cast.h59 class bad_any_cast : public std::bad_cast {
/third_party/boost/boost/
Dpolymorphic_cast.hpp82 if ( tmp == 0 ) boost::throw_exception( std::bad_cast() ); in polymorphic_cast()
Dpolymorphic_pointer_cast.hpp71 if ( !tmp ) boost::throw_exception( std::bad_cast() ); in polymorphic_pointer_cast()
/third_party/boost/libs/asio/include/boost/asio/generic/
Dseq_packet_protocol.hpp70 std::bad_cast ex; in seq_packet_protocol()
Draw_protocol.hpp71 std::bad_cast ex; in raw_protocol()
Ddatagram_protocol.hpp71 std::bad_cast ex; in datagram_protocol()
Dstream_protocol.hpp72 std::bad_cast ex; in stream_protocol()
/third_party/boost/boost/asio/generic/
Draw_protocol.hpp71 std::bad_cast ex; in raw_protocol()
Dseq_packet_protocol.hpp70 std::bad_cast ex; in seq_packet_protocol()
Ddatagram_protocol.hpp71 std::bad_cast ex; in datagram_protocol()
Dstream_protocol.hpp72 std::bad_cast ex; in stream_protocol()
/third_party/boost/boost/lexical_cast/
Dbad_lexical_cast.hpp38 public std::bad_cast
/third_party/boost/boost/contract/core/
Dexception.hpp32 class bad_cast {}; class
83 public std::bad_cast, public boost::contract::exception {
/third_party/boost/libs/numeric/conversion/doc/
Dconverter_policies.qbk36 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/
DglcConfigListWGL.cpp103 catch (const std::bad_cast&) in getConfigListWGL()
/third_party/boost/libs/date_time/test/posix_time/
Dtestc_local_adjustor.cpp84 catch (std::bad_cast&) in main()

123