#include "pxr/pxr.h"
#include "pxr/base/vt/api.h"
#include "pxr/base/tf/hash.h"
#include <typeinfo>
#include <utility>
Go to the source code of this file.
template<class T >
size_t VtHashValue |
( |
T const & |
val | ) |
|
Compute a hash code for val
by invoking TfHash()(val) or when not possible issue a coding error and return 0.
Definition at line 78 of file hash.h.
template<class T >
constexpr bool VtIsHashable |
( |
| ) |
|
A constexpr function that returns true if T is hashable via VtHashValue, false otherwise. This is true if we can invoke TfHash()() on a T instance.
Definition at line 71 of file hash.h.