Specialization of functor std::hash
for type String . Note that this specialization can also be used in combination with derived string types, like AString .
This specialization is provided with the inclusion of header file alib/compatibility/std_strings_functional.hpp .
alib::strings::compatibility::std
, the true location is namespace std
(as mandatory).TChar | The character type of the string. |
Definition at line 76 of file std_strings_functional.hpp.
#include <std_strings_functional.hpp>
Public Method Index: | |
std::size_t | operator() (const alib::strings::TString< TChar > &src) const |
|
inline |
Calculates the hash code for ALib strings.
src | The string object to hash. |
Definition at line 83 of file std_strings_functional.hpp.