|
Sunshine master
Self-hosted game stream host for Moonlight.
|
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 value by viewing its object representation as bytes. | |
Hash functor that hashes the raw bytes of trivially-copyable values.
|
inline |
Hash a value by viewing its object representation as bytes.
| value | Value whose raw bytes are hashed. |