Hash functor that hashes the raw bytes of trivially-copyable values. More...
#include <src/utility.h>
Public Types | |
| using | value_type = T |
| Value type accepted by the hash functor. | |
Public Member Functions | |
| std::size_t | operator() (const value_type &value) const |
| Hash a copy of the object's representation using the standard string-view hash. | |
Hash functor that hashes the raw bytes of trivially-copyable values.
|
inline |
Hash a copy of the object's representation using the standard string-view hash.
| value | Value whose raw bytes are hashed. |