Case sensitive ASCII hashing functor. More...
#include <userver/utils/str_icase.hpp>
Public Types | |
| using | is_transparent = void | 
Public Member Functions | |
| StrCaseHash () | |
| Generates a new random hash seed for each hasher instance.  | |
| StrCaseHash (HashSeed seed) noexcept | |
| std::size_t | operator() (std::string_view s) const &noexcept | 
| template<class StringStrongTypedef > | |
| auto | operator() (const StringStrongTypedef &s) const &noexcept -> decltype(operator()(std::string_view{s.GetUnderlying()})) | 
| HashSeed | GetSeed () const noexcept | 
Case sensitive ASCII hashing functor.
Definition at line 22 of file str_icase.hpp.
Definition at line 24 of file str_icase.hpp.
      
  | 
  explicitnoexcept | 
Uses the provided seed. Use with caution: a constant seed makes the hasher vulnerable to HashDOS attacks when arbitrary keys are allowed.
      
  | 
  inlinenoexcept | 
Definition at line 45 of file str_icase.hpp.
      
  | 
  inlinenoexcept | 
Definition at line 36 of file str_icase.hpp.