24 #ifndef PXR_BASE_GF_TRAITS_H
25 #define PXR_BASE_GF_TRAITS_H
29 #include <type_traits>
31 PXR_NAMESPACE_OPEN_SCOPE
36 struct GfIsGfVec {
static const bool value =
false; };
63 bool, GfIsFloatingPoint<T>::value || std::is_arithmetic<T>::value>{};
65 PXR_NAMESPACE_CLOSE_SCOPE
67 #endif // PXR_BASE_GF_TRAITS_H
A metafunction with a static const bool member 'value' that is true for GfRange types and false for a...
A metafunction with a static const bool member 'value' that is true for GfVec types, like GfVec2i, GfVec4d, etc and false for all other types.
A metafunction which is equivalent to std::is_floating_point but allows for additional specialization...
A metafunction with a static const bool member 'value' that is true for GfMatrix types, like GfMatrix3d, GfMatrix4f, etc and false for all other types.
A metafunction with a static const bool member 'value' that is true for GfQuat types and false for al...
A metafunction which is equivalent to std::arithmetic but also includes any specializations from GfIs...