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