Minetest  5.4.0
irr::core::unicode::hash Class Reference

Hashing algorithm for hashing a ustring. More...

#include <irrUString.h>

+ Inheritance diagram for irr::core::unicode::hash:
+ Collaboration diagram for irr::core::unicode::hash:

Public Member Functions

size_t operator() (const core::ustring &s) const
 

Detailed Description

Hashing algorithm for hashing a ustring.

Used for things like unordered_maps. Algorithm taken from std::hash<std::string>.

Member Function Documentation

◆ operator()()

size_t irr::core::unicode::hash::operator() ( const core::ustring s) const
inline

References irr::core::ustring16< TAlloc >::begin(), irr::core::ustring16< TAlloc >::end(), and irr::core::ustring16< TAlloc >::size_raw().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: