1 #ifndef canvas_Persistency_Common_detail_maybeCastObj_h 2 #define canvas_Persistency_Common_detail_maybeCastObj_h 9 std::type_info
const& tiTo);
10 template <
typename element_type>
12 std::type_info
const& tiTo);
14 std::type_info
const& tiFrom,
15 std::type_info
const& tiTo);
19 template <
class element_type>
22 std::type_info
const& tiTo)
24 static std::type_info
const& tiFrom{
typeid(element_type)};
void const * maybeCastObj(element_type const *address, std::type_info const &tiTo)
bool upcastAllowed(std::type_info const &tiFrom, std::type_info const &tiTo)