Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::StringHash Struct Reference

Transparent string hashing for use in unordered containers with string keys for example: std::unordered_map<std::string, V, StringHash, std::equal_to<>>;. More...

#include <transparentmaps.h>

Public Types

using hash_type = std::hash<std::string_view>
 
using is_transparent = void
 

Public Member Functions

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
 
std::size_t operator() (const std::pmr::string &str) const
 

Detailed Description

Transparent string hashing for use in unordered containers with string keys for example: std::unordered_map<std::string, V, StringHash, std::equal_to<>>;.


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