BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsl::equal_to< void > Struct Reference

#include <bslstl_equalto.h>

Public Types

typedef void is_transparent
 

Public Member Functions

 equal_to ()=default
 Create a equal_to object.
 
 equal_to (const equal_to &original)=default
 
 ~equal_to ()=default
 Destroy this object.
 
equal_tooperator= (const equal_to &)=default
 
template<class TYPE1 , class TYPE2 >
bool operator() (const TYPE1 &lhs, const TYPE2 &rhs) const
 

Detailed Description

This struct defines a binary comparison functor applying operator== to two objects of (possibly different) types. Note that this class is an empty POD type.

Member Typedef Documentation

◆ is_transparent

typedef void bsl::equal_to< void >::is_transparent

Constructor & Destructor Documentation

◆ equal_to() [1/2]

bsl::equal_to< void >::equal_to ( )
default

◆ equal_to() [2/2]

bsl::equal_to< void >::equal_to ( const equal_to< void > &  original)
default

Create a equal_to object. Note that as equal_to<void> is an empty (stateless) type, this operation will have no observable effect.

◆ ~equal_to()

bsl::equal_to< void >::~equal_to ( )
default

Member Function Documentation

◆ operator()()

template<class TYPE1 , class TYPE2 >
bool bsl::equal_to< void >::operator() ( const TYPE1 &  lhs,
const TYPE2 &  rhs 
) const
inline

Return true if the specified lhs compares equal to the specified rhs using the equality-comparison operator, lhs == rhs. Implemented inline because of compiler errors (AIX, SUN).

◆ operator=()

equal_to & bsl::equal_to< void >::operator= ( const equal_to< void > &  )
default

Assign to this object the value of the specified rhs object, and a return a reference providing modifiable access to this object. Note that as equal_to is an empty (stateless) type, this operation will have no observable effect.


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