24 #ifndef PXR_BASE_VT_TRAITS_H
25 #define PXR_BASE_VT_TRAITS_H
33 #include <type_traits>
50 #define VT_TYPE_IS_CHEAP_TO_COPY(T) \
51 template <> struct VtValueTypeHasCheapCopy<TF_PP_EAT_PARENS(T)> \
109 #define VT_TYPE_IS_TYPED_VALUE_PROXY(T) \
110 template <> struct VtIsTypedValueProxy<TF_PP_EAT_PARENS(T)> \
115 typename std::enable_if<
126 using type =
typename std::decay<
136 #define VT_TYPE_IS_ERASED_VALUE_PROXY(T) \
137 template <> struct VtIsErasedValueProxy<TF_PP_EAT_PARENS(T)> \
144 std::integral_constant<
145 bool, VtIsTypedValueProxy<T>::value || VtIsErasedValueProxy<T>::value> {};
149 #endif // PXR_BASE_VT_TRAITS_H
T const & VtGetProxiedObject(T const &nonProxy)
typename std::decay< decltype(VtGetProxiedObject(std::declval< T >()))>::type type
Array concept. By default, types are not arrays.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE