Searched refs:polymorphic_cast (Results 1 – 10 of 10) sorted by relevance
60 derived = polymorphic_cast<Derived*>( base ); // downcast, throw on error in main()63 Base2 * base2 = polymorphic_cast<Base2*>( base ); // crosscast in main()74 try { derived = polymorphic_cast<Derived*>( base ); } in main()
77 derived = boost::polymorphic_cast<Derived*>( base ); in test_polymorphic_cast()95 base2 = boost::polymorphic_cast<Base2*>( base ); // crosscast in test_polymorphic_cast()262 BOOST_TEST_THROWS( boost::polymorphic_cast<Derived*>( base ), std::bad_cast ); in test_polymorphic_cast_fail()
36 # The [@boost:boost/polymorphic_cast.hpp boost/polymorphic_cast.hpp] header37 provides [link polymorphic_cast `polymorphic_cast<>`] and92 #include <boost/polymorphic_cast.hpp>105 [#polymorphic_cast]106 [section polymorphic_cast]114 behavior if `p` is `0`. The `polymorphic_cast`119 or when efficiency is not important, `polymorphic_cast` is preferred.129 While `polymorphic_downcast` and `polymorphic_cast` work with built-in pointer types only,179 inline Derived polymorphic_cast(Base* x);207 `polymorphic_cast` was suggested by Bjarne Stroustrup in "The C++ Programming Language".
171 state = boost::polymorphic_cast<const derived *>(&b)->state; in assign()176 return state == boost::polymorphic_cast<const derived *>(&b)->state; in equal()
79 inline Target polymorphic_cast(Source* x) in polymorphic_cast() function
47 inline Target polymorphic_cast(Source *v) in polymorphic_cast() function
379 …ITensor *weights_aux = utils::cast::polymorphic_cast<ITensor *>(tensors.get_tensor(offset_in… in prepare()395 …ITensor *weights_transf = utils::cast::polymorphic_cast<ITensor *>(tensors.get_tensor(offset_int_v… in prepare()
221 …ITensor *weights_aux = utils::cast::polymorphic_cast<ITensor *>(tensors.get_tensor(offset_in… in prepare()
365 …ITensor *b_aux = utils::cast::polymorphic_cast<ITensor *>(tensors.get_tensor(offset_int_vec(… in prepare()
71 …backing_tensor = (tensor_handle != nullptr) ? arm_compute::utils::cast::polymorphic_cast<typename … in get_backing_tensor()