This struct defines a hash operation for string views enabling bsl::string`s or `bsl::string_view`s to be used as keys in the standard unordered associative containers such as `bsl::unordered_map and bsl::unordered_set. Note that this class is an empty POD type.
Synopsis
Declared in <bdlb_caselessstringviewhash.h>
struct CaselessStringViewHash;
Type Aliases
Name |
Description |
Type of the argument to the function‐call operator. |
|
Type alias indicating this is a transparent hash functor. |
|
Type of the function‐call operator's result (a hash value). |
Member Functions
Name |
Description |
Return a hash code generated from the contents of the specified null‐terminated |
|
Created with MrDocs