Kanzi  3.9.9
Kanzi Engine C++ API
hash< kanzi::string_view > Struct Template Reference

Hash for string_view. More...

#include <kanzi/core/cpp/string_view.hpp>

Public Member Functions

size_t operator() (const kanzi::string_view &s) const
 

Detailed Description

template<>
struct hash< kanzi::string_view >

Hash for string_view.

Taken from http://stackoverflow.com/questions/98153/whats-the-best-hashing-algorithm-to-use-on-a-stl-string-when-using-hash-map

Member Function Documentation

size_t hash< kanzi::string_view >::operator() ( const kanzi::string_view &  s) const
inline

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