HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Vt_HashDetail Namespace Reference

Functions

VT_API void _IssueUnimplementedHashError (std::type_info const &t)
 
template<class T , class = decltype(hash_value(std::declval<T>()))>
constexpr bool _IsHashable (int)
 
template<class T , class = decltype(TfHash()(std::declval<T>()))>
constexpr bool _IsHashable (long)
 
template<class T >
constexpr bool _IsHashable (...)
 
template<class T , class = decltype(hash_value(std::declval<T>()))>
size_t _HashValueImpl (T const &val, int)
 
template<class T , class = decltype(TfHash()(std::declval<T>()))>
size_t _HashValueImpl (T const &val, long)
 
template<class T >
size_t _HashValueImpl (T const &val,...)
 

Function Documentation

template<class T , class = decltype(hash_value(std::declval<T>()))>
size_t Vt_HashDetail::_HashValueImpl ( T const val,
int   
)
inline

Definition at line 58 of file hash.h.

template<class T , class = decltype(TfHash()(std::declval<T>()))>
size_t Vt_HashDetail::_HashValueImpl ( T const val,
long   
)
inline

Definition at line 65 of file hash.h.

template<class T >
size_t Vt_HashDetail::_HashValueImpl ( T const val,
  ... 
)
inline

Definition at line 72 of file hash.h.

template<class T , class = decltype(hash_value(std::declval<T>()))>
constexpr bool Vt_HashDetail::_IsHashable ( int  )

Definition at line 47 of file hash.h.

template<class T , class = decltype(TfHash()(std::declval<T>()))>
constexpr bool Vt_HashDetail::_IsHashable ( long  )

Definition at line 49 of file hash.h.

template<class T >
constexpr bool Vt_HashDetail::_IsHashable (   ...)

Definition at line 51 of file hash.h.

VT_API void Vt_HashDetail::_IssueUnimplementedHashError ( std::type_info const t)