On this page
article
peary::utils::string_hash
peary::utils::string_hash
Hash for std::unordered_map.
#include <peary/utils/string_hash_map.hpp>
Public Types
| Name | |
|---|---|
| using std::hash< std::string_view > | hash_type |
| using void | is_transparent |
Public Functions
| Name | |
|---|---|
| std::size_t | operator()(const char * str) const |
| std::size_t | operator()(std::string_view str) const |
| std::size_t | operator()(const std::string & str) const |
Public Types Documentation
using hash_type
using peary::utils::string_hash::hash_type = std::hash<std::string_view>;
using is_transparent
using peary::utils::string_hash::is_transparent = void;
Public Functions Documentation
function operator()
inline std::size_t operator()(
const char * str
) const
function operator()
inline std::size_t operator()(
std::string_view str
) const
function operator()
inline std::size_t operator()(
const std::string & str
) const
Updated on 2025-11-14 at 11:31:23 +0100