libstdc++: std::owner_less< weak_ptr< _Tp > (original) (raw)

#include <[shared_ptr.h](a17936%5Fsource.html)>

Inherits std::_Sp_owner_less< _Tp, _Tp1 >.

Public Types
typedef _Tp first_argument_type
typedef bool result_type
typedef _Tp second_argument_type
Public Member Functions
bool operator() (const _Tp &__lhs, const _Tp &__rhs) const noexcept
bool operator() (const _Tp &__lhs, const _Tp1 &__rhs) const noexcept
bool operator() (const _Tp1 &__lhs, const _Tp &__rhs) const noexcept

template<typename _Tp>
struct std::owner_less< weak_ptr< _Tp > >

Partial specialization of owner_less for weak_ptr.

Definition at line 908 of file bits/shared_ptr.h.

first_argument_type

first_argument_type is the type of the first argument

Definition at line 134 of file stl_function.h.

result_type

second_argument_type

second_argument_type is the type of the second argument

Definition at line 137 of file stl_function.h.

operator()() [1/3]

template<typename _Tp , typename _Tp1 >

bool std::_Sp_owner_less< _Tp, _Tp1 >::operator() ( const _Tp & __lhs, const _Tp & __rhs ) const inlinenoexceptinherited

operator()() [2/3]

template<typename _Tp , typename _Tp1 >

bool std::_Sp_owner_less< _Tp, _Tp1 >::operator() ( const _Tp & __lhs, const _Tp1 & __rhs ) const inlinenoexceptinherited

operator()() [3/3]

template<typename _Tp , typename _Tp1 >

bool std::_Sp_owner_less< _Tp, _Tp1 >::operator() ( const _Tp1 & __lhs, const _Tp & __rhs ) const inlinenoexceptinherited

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