BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsl::owner_equal Struct Reference

#include <bslstl_ownerequal.h>

Public Types

typedef void is_transparent
 Type alias indicating this is a transparent comparator.
 

Public Member Functions

 owner_equal ()=default
 
 owner_equal (const owner_equal &original)=default
 
 ~owner_equal ()=default
 
owner_equaloperator= (const owner_equal &rhs)=default
 
template<class ELEMENT_TYPE_X , class ELEMENT_TYPE_Y >
bool operator() (const shared_ptr< ELEMENT_TYPE_X > &x, const shared_ptr< ELEMENT_TYPE_Y > &y) const BSLS_KEYWORD_NOEXCEPT
 
template<class ELEMENT_TYPE_X , class ELEMENT_TYPE_Y >
bool operator() (const shared_ptr< ELEMENT_TYPE_X > &x, const weak_ptr< ELEMENT_TYPE_Y > &y) const BSLS_KEYWORD_NOEXCEPT
 
template<class ELEMENT_TYPE_X , class ELEMENT_TYPE_Y >
bool operator() (const weak_ptr< ELEMENT_TYPE_X > &x, const shared_ptr< ELEMENT_TYPE_Y > &y) const BSLS_KEYWORD_NOEXCEPT
 
template<class ELEMENT_TYPE_X , class ELEMENT_TYPE_Y >
bool operator() (const weak_ptr< ELEMENT_TYPE_X > &x, const weak_ptr< ELEMENT_TYPE_Y > &y) const BSLS_KEYWORD_NOEXCEPT
 

Member Typedef Documentation

◆ is_transparent

Constructor & Destructor Documentation

◆ owner_equal() [1/2]

bsl::owner_equal::owner_equal ( )
default

◆ owner_equal() [2/2]

bsl::owner_equal::owner_equal ( const owner_equal original)
default

◆ ~owner_equal()

bsl::owner_equal::~owner_equal ( )
default

Member Function Documentation

◆ operator()() [1/4]

template<class ELEMENT_TYPE_X , class ELEMENT_TYPE_Y >
bool bsl::owner_equal::operator() ( const shared_ptr< ELEMENT_TYPE_X > &  x,
const shared_ptr< ELEMENT_TYPE_Y > &  y 
) const
inline

◆ operator()() [2/4]

template<class ELEMENT_TYPE_X , class ELEMENT_TYPE_Y >
bool bsl::owner_equal::operator() ( const shared_ptr< ELEMENT_TYPE_X > &  x,
const weak_ptr< ELEMENT_TYPE_Y > &  y 
) const
inline

◆ operator()() [3/4]

template<class ELEMENT_TYPE_X , class ELEMENT_TYPE_Y >
bool bsl::owner_equal::operator() ( const weak_ptr< ELEMENT_TYPE_X > &  x,
const shared_ptr< ELEMENT_TYPE_Y > &  y 
) const
inline

◆ operator()() [4/4]

template<class ELEMENT_TYPE_X , class ELEMENT_TYPE_Y >
bool bsl::owner_equal::operator() ( const weak_ptr< ELEMENT_TYPE_X > &  x,
const weak_ptr< ELEMENT_TYPE_Y > &  y 
) const
inline

Return true if the address of the BloombergLP::bslma::SharedPtrRep object used by the specified x is equal to the address of the BloombergLP::bslma::SharedPtrRep object used by the specified y, and false otherwise.

◆ operator=()

owner_equal & bsl::owner_equal::operator= ( const owner_equal rhs)
default

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