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

#include <bslstl_ownerless.h>

Public Types

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

Public Member Functions

 owner_less ()=default
 
 owner_less (const owner_less &original)=default
 
 ~owner_less ()=default
 
owner_lessoperator= (const owner_less &rhs)=default
 
template<class ELEMENT_TYPE_A , class ELEMENT_TYPE_B >
bool operator() (const shared_ptr< ELEMENT_TYPE_A > &a, const shared_ptr< ELEMENT_TYPE_B > &b) const BSLS_KEYWORD_NOEXCEPT
 
template<class ELEMENT_TYPE_A , class ELEMENT_TYPE_B >
bool operator() (const shared_ptr< ELEMENT_TYPE_A > &a, const weak_ptr< ELEMENT_TYPE_B > &b) const BSLS_KEYWORD_NOEXCEPT
 
template<class ELEMENT_TYPE_A , class ELEMENT_TYPE_B >
bool operator() (const weak_ptr< ELEMENT_TYPE_A > &a, const shared_ptr< ELEMENT_TYPE_B > &b) const BSLS_KEYWORD_NOEXCEPT
 
template<class ELEMENT_TYPE_A , class ELEMENT_TYPE_B >
bool operator() (const weak_ptr< ELEMENT_TYPE_A > &a, const weak_ptr< ELEMENT_TYPE_B > &b) const BSLS_KEYWORD_NOEXCEPT
 

Member Typedef Documentation

◆ is_transparent

typedef void bsl::owner_less< void >::is_transparent

Constructor & Destructor Documentation

◆ owner_less() [1/2]

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

◆ owner_less() [2/2]

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

◆ ~owner_less()

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

Member Function Documentation

◆ operator()() [1/4]

template<class ELEMENT_TYPE_A , class ELEMENT_TYPE_B >
bool bsl::owner_less< void >::operator() ( const shared_ptr< ELEMENT_TYPE_A > &  a,
const shared_ptr< ELEMENT_TYPE_B > &  b 
) const
inline

◆ operator()() [2/4]

template<class ELEMENT_TYPE_A , class ELEMENT_TYPE_B >
bool bsl::owner_less< void >::operator() ( const shared_ptr< ELEMENT_TYPE_A > &  a,
const weak_ptr< ELEMENT_TYPE_B > &  b 
) const
inline

◆ operator()() [3/4]

template<class ELEMENT_TYPE_A , class ELEMENT_TYPE_B >
bool bsl::owner_less< void >::operator() ( const weak_ptr< ELEMENT_TYPE_A > &  a,
const shared_ptr< ELEMENT_TYPE_B > &  b 
) const
inline

◆ operator()() [4/4]

template<class ELEMENT_TYPE_A , class ELEMENT_TYPE_B >
bool bsl::owner_less< void >::operator() ( const weak_ptr< ELEMENT_TYPE_A > &  a,
const weak_ptr< ELEMENT_TYPE_B > &  b 
) const
inline

Return true if the address of the BloombergLP::bslma::SharedPtrRep object used by the specified a is ordered before the address of the BloombergLP::bslma::SharedPtrRep object used by the specified b under the total ordering supplied by std::less<BloombergLP::bslma::SharedPtrRep *>, and false otherwise.

◆ operator=()

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

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