|
template<class HashState , class T > |
std::enable_if_t< std::is_integral< T >::value > | TfHashAppend (HashState &h, T integral) |
|
template<class HashState , class Enum > |
std::enable_if_t< std::is_enum< Enum >::value > | TfHashAppend (HashState &h, Enum e) |
|
template<class HashState , class T > |
std::enable_if_t< std::is_floating_point< T >::value > | TfHashAppend (HashState &h, T fp) |
|
template<class HashState , class T , class U > |
void | TfHashAppend (HashState &h, std::pair< T, U > const &p) |
|
template<class HashState , class T > |
void | TfHashAppend (HashState &h, std::vector< T > const &vec) |
|
template<class HashState > |
void | TfHashAppend (HashState &h, std::vector< bool > const &vec) |
|
template<class HashState , class T , class Compare > |
void | TfHashAppend (HashState &h, std::set< T, Compare > const &elements) |
|
template<class HashState , class Key , class Value , class Compare > |
void | TfHashAppend (HashState &h, std::map< Key, Value, Compare > const &elements) |
|
template<class HashState > |
void | TfHashAppend (HashState &h, const std::string &s) |
|
template<class HashState , class T > |
void | TfHashAppend (HashState &h, const T *ptr) |
|
template<class HashState > |
void | TfHashAppend (HashState &h, char const *ptr)=delete |
|
template<class HashState > |
void | TfHashAppend (HashState &h, char *ptr)=delete |
|
TfCStrHashWrapper | TfHashAsCStr (char const *cstr) |
| Indicate that a char pointer is intended to be hashed as a C-style null terminated string.
|
|
template<class HashState > |
void | TfHashAppend (HashState &h, TfCStrHashWrapper hcstr) |
|
Indicate that a char pointer is intended to be hashed as a C-style null terminated string.
Use this to wrap a char pointer in a HashState::Append() call when implementing a TfHashAppend overload.
This structure provides a lightweight view on the char pointer passed to its constructor. It does not copy the data or participate in its lifetime. The passed char pointer must remain valid as long as this struct is used.
Definition at line 175 of file hash.h.