|
Euphoria
|
Hash of a non-owning string. More...
Public Member Functions | |
| constexpr | Hsh (const std::string_view s) |
| Creates a new hash object and computes the hash at compile time if possible. | |
Public Attributes | |
| u64 | hash |
| The actual hash. | |
| std::string_view | text |
| Non-owning storage of the printable string, if enabled. | |
Hash of a non-owning string.
It will be (pretty) printed as the original string if that is enabled. Treat it as a regular std::string_view but without the string functionality.
Definition at line 26 of file hash.string.h.
Creates a new hash object and computes the hash at compile time if possible.
Definition at line 39 of file hash.string.h.
| u64 eu::Hsh::hash |
The actual hash.
Prefer to use operators on Hsh instead of accessing this directly.
Definition at line 30 of file hash.string.h.
| std::string_view eu::Hsh::text |
Non-owning storage of the printable string, if enabled.
Please ignore if possible and just print as normal.
Definition at line 35 of file hash.string.h.