24 #ifndef PXR_BASE_TF_SAFE_TYPE_COMPARE_H
25 #define PXR_BASE_TF_SAFE_TYPE_COMPARE_H
53 template <
typename TO,
typename FROM>
56 return dynamic_cast<TO
>(
ptr);
61 #endif // PXR_BASE_TF_SAFE_TYPE_COMPARE_H
TO TfSafeDynamic_cast(FROM *ptr)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
PXR_NAMESPACE_OPEN_SCOPE bool TfSafeTypeCompare(const std::type_info &t1, const std::type_info &t2)