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

Constructor & Destructor Documentation

◆ CachedHashKeyEqual()

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

Definition at line 50 of file cached_hash.hpp.

Member Function Documentation

◆ operator()()

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: