libhatchet
Loading...
Searching...
No Matches
hxkey_equal_t< T, enabled_t > Class Template Reference

#include <hxkey.hpp>

Public Member Functions

template<typename A_, typename B_>
constexpr bool operator() (const A_ &a_, const B_ &b_) const

Detailed Description

template<typename T = void, typename enabled_t = void>
class hxkey_equal_t< T, enabled_t >

hxkey_equal_t<T> - A constexpr callable that returns true if two objects are equivalent.

Invokes operator== by default. Specialize for a key type T to resolve equality without a global operator==.

  • T : The type to compare.

Member Function Documentation

◆ operator()()

template<typename T = void, typename enabled_t = void>
template<typename A_, typename B_>
bool hxkey_equal_t< T, enabled_t >::operator() ( const A_ & a_,
const B_ & b_ ) const
inlineconstexpr

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