userver: utils::CachedHash< Key > Struct Template Reference
Loading...
Searching...
No Matches
utils::CachedHash< Key > Struct Template Referencefinal

#include <userver/utils/cached_hash.hpp>

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.

Public Attributes

std::size_t hash
 
Key key
 

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: