userver: utils::CachedHashKeyEqual< Equal, class > Class Template Reference
Loading...
Searching...
No Matches
utils::CachedHashKeyEqual< Equal, class > Class Template Reference

#include <userver/utils/cached_hash.hpp>

Detailed Description

template<class Equal, class = std::enable_if_t<!std::is_final_v<Equal>>>
class utils::CachedHashKeyEqual< Equal, class >

Compares utils::CachedHash only by keys.

Definition at line 36 of file cached_hash.hpp.

+ Inheritance diagram for utils::CachedHashKeyEqual< Equal, class >:
+ Collaboration diagram for utils::CachedHashKeyEqual< Equal, class >:

Public Member Functions

constexpr CachedHashKeyEqual (const Equal &eq)
 
template<class T >
constexpr bool operator() (const CachedHash< T > &x, const CachedHash< T > &y) const
 

Constructor & Destructor Documentation

◆ CachedHashKeyEqual()

template<class Equal , class = std::enable_if_t<!std::is_final_v<Equal>>>
constexpr utils::CachedHashKeyEqual< Equal, class >::CachedHashKeyEqual ( const Equal & eq)
inlineexplicitconstexpr

Definition at line 38 of file cached_hash.hpp.

Member Function Documentation

◆ operator()()

template<class Equal , class = std::enable_if_t<!std::is_final_v<Equal>>>
template<class T >
constexpr bool utils::CachedHashKeyEqual< Equal, class >::operator() ( const CachedHash< T > & x,
const CachedHash< T > & y ) const
inlineconstexpr

Definition at line 41 of file cached_hash.hpp.


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