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

#include <userver/utils/cached_hash.hpp>

Detailed Description

template<class Equal>
requires (!std::is_final_v<Equal>)
class utils::CachedHashKeyEqual< Equal >

Compares utils::CachedHash only by keys (EBO-optimized for non-final Equal)

Definition at line 48 of file cached_hash.hpp.

+ Inheritance diagram for utils::CachedHashKeyEqual< Equal >:

Public Member Functions

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

Constructor & Destructor Documentation

◆ CachedHashKeyEqual() [1/2]

template<class Equal>
utils::CachedHashKeyEqual< Equal >::CachedHashKeyEqual ( const Equal & eq)
inlineexplicitconstexpr

Definition at line 50 of file cached_hash.hpp.

◆ CachedHashKeyEqual() [2/2]

utils::CachedHashKeyEqual< Equal >::CachedHashKeyEqual ( const Equal & eq)
inlineexplicitconstexpr

Definition at line 32 of file cached_hash.hpp.

Member Function Documentation

◆ operator()() [1/2]

bool utils::CachedHashKeyEqual< Equal >::operator() ( const CachedHash< T > & x,
const CachedHash< T > & y ) const
inlineconstexpr

Definition at line 37 of file cached_hash.hpp.

◆ operator()() [2/2]

template<class Equal>
template<class T>
bool utils::CachedHashKeyEqual< Equal >::operator() ( const CachedHash< T > & x,
const CachedHash< T > & y ) const
inlineconstexpr

Definition at line 55 of file cached_hash.hpp.


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