template<typename T, typename = Bool>
struct maxon::IsTriviallyHashable< T, typename >
This type trait determines if the UniqueHash of values of type T
can be computed "trivially" by hashing the raw bytes via UniqueHash::GetUniqueHashCode(). By default, this holds only for scalar types. You can specialize this template for your own types if they can be hashed trivially. Alternativaly you can add a static member function "static constexpr Bool TriviallyHashable() { return std::true_type; }".
- Template Parameters
-