userver: utils::CachedHash< Key > Struct Template Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
utils::CachedHash< Key > Struct Template Referencefinal

Holds the key and its hash for faster comparisons and hashing. More...

#include <userver/utils/cached_hash.hpp>

Public Attributes

std::size_t hash
 
Key key
 

Detailed Description

template<class Key>
struct utils::CachedHash< Key >

Holds the key and its hash for faster comparisons and hashing.

Definition at line 17 of file cached_hash.hpp.

Member Data Documentation

◆ hash

template<class Key >
std::size_t utils::CachedHash< Key >::hash

Definition at line 18 of file cached_hash.hpp.

◆ key

template<class Key >
Key utils::CachedHash< Key >::key

Definition at line 19 of file cached_hash.hpp.


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