8#ifndef INCLUDED_BSLSTL_EQUALTO
9#define INCLUDED_BSLSTL_EQUALTO
288#include <bslscm_version.h>
310template<
class VALUE_TYPE =
void>
341 operator()(
const VALUE_TYPE& lhs,
const VALUE_TYPE& rhs)
const;
373#if BSLS_COMPILERFEATURES_CPLUSPLUS >= 201103L
378 template<
class TYPE1,
class TYPE2>
380 auto operator()(TYPE1&& lhs, TYPE2&& rhs)
const
381 noexcept(
noexcept(std::forward<TYPE1>(lhs) == std::forward<TYPE2>(rhs)))
382 ->
decltype( std::forward<TYPE1>(lhs) == std::forward<TYPE2>(rhs))
383 {
return std::forward<TYPE1>(lhs) == std::forward<TYPE2>(rhs); }
388 template<
class TYPE1,
class TYPE2>
389 inline bool operator()(
const TYPE1& lhs,
const TYPE2& rhs)
const
409template<
class VALUE_TYPE>
412 const VALUE_TYPE& rhs)
const
428template<
class VALUE_TYPE>
433template<
class VALUE_TYPE>
#define BSLA_NODISCARD
Definition bsla_nodiscard.h:320
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
#define BSLS_KEYWORD_CONSTEXPR
Definition bsls_keyword.h:588
Definition bdlb_printmethods.h:283
equal_to(const equal_to &original)=default
equal_to()=default
Create a equal_to object.
~equal_to()=default
Destroy this object.
bool operator()(const TYPE1 &lhs, const TYPE2 &rhs) const
Definition bslstl_equalto.h:389
equal_to & operator=(const equal_to &)=default
void is_transparent
Definition bslstl_equalto.h:351
Definition bslstl_equalto.h:311
VALUE_TYPE first_argument_type
Definition bslstl_equalto.h:314
equal_to(const equal_to &original)=default
VALUE_TYPE second_argument_type
Definition bslstl_equalto.h:315
bool result_type
Definition bslstl_equalto.h:316
equal_to()=default
Create a equal_to object.
~equal_to()=default
Destroy this object.
BSLA_NODISCARD BSLS_KEYWORD_CONSTEXPR bool operator()(const VALUE_TYPE &lhs, const VALUE_TYPE &rhs) const
Definition bslstl_equalto.h:411
equal_to & operator=(const equal_to &)=default
Definition bslmf_istriviallycopyable.h:329
Definition bslmf_istriviallydefaultconstructible.h:293