#include <Urho3D/Container/ConstString.h>
|
|
| ConstString (ea::string_view str) |
|
|
StringHash | GetHash () const |
|
| operator StringHash () const |
|
Immutable string with precomputed hash. Inherit it from string to allow implicit casts to ea::string w/o allocation. It could be done with cast operator too, but this code would cause crash if operator const ea::string&()
is used: const ea::string& s2 = ConstString("text");
◆ ConstString()
Urho3D::ConstString::ConstString |
( |
| ) |
|
|
default |
◆ GetHash()
The documentation for this class was generated from the following file:
- Urho3D/Container/ConstString.h