sparrow 0.3.0
Loading...
Searching...
No Matches
sparrow::reference_wrapper_equal Struct Reference

Functor for comparing two reference wrappers. More...

#include <reference_wrapper_utils.hpp>

Public Member Functions

template<typename T>
bool operator() (const std::reference_wrapper< T > &lhs, const std::reference_wrapper< T > &rhs) const
 

Detailed Description

Functor for comparing two reference wrappers.

This functor is used to compare two reference wrappers for equality. It compares the underlying referenced objects using the == operator.

Template Parameters
TThe type of the referenced object.

Definition at line 43 of file reference_wrapper_utils.hpp.

Member Function Documentation

◆ operator()()

template<typename T>
bool sparrow::reference_wrapper_equal::operator() ( const std::reference_wrapper< T > & lhs,
const std::reference_wrapper< T > & rhs ) const
inline

Definition at line 46 of file reference_wrapper_utils.hpp.


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