|
libhatchet
|
Go to the source code of this file.
Classes | |
| class | hxref< T > |
Functions | |
| template<typename T> | |
| hxhash_t | hxkey_hash (const hxref< T > &ref_) |
An optional reference type.
Implements std::optional<T&>. See hxoptional for a std::optional<T> equivalent.
hxkey_hash(hxref<T>) - Returns the hash of the referenced value if engaged, otherwise 1u.