Public Member Functions | Private Attributes | Friends | List of all members
boost::detail::shared_count Class Reference

#include <shared_count.hpp>

Public Member Functions

bool empty () const
 
void * get_deleter (sp_typeinfo const &ti) const
 
void * get_local_deleter (sp_typeinfo const &ti) const
 
void * get_untyped_deleter () const
 
shared_countoperator= (shared_count const &r)
 
BOOST_CONSTEXPR shared_count ()
 
template<class Y , class D >
 shared_count (boost::movelib::unique_ptr< Y, D > &r)
 
template<class P , class D >
 shared_count (P p, D d)
 
template<class P , class D , class A >
 shared_count (P p, D d, A a)
 
template<class P , class D >
 shared_count (P p, sp_inplace_tag< D >)
 
template<class P , class D , class A >
 shared_count (P p, sp_inplace_tag< D >, A a)
 
 shared_count (shared_count &&r)
 
 shared_count (shared_count const &r)
 
BOOST_CONSTEXPR shared_count (sp_counted_base *pi)
 
template<class Y >
 shared_count (std::auto_ptr< Y > &r)
 
template<class Y , class D >
 shared_count (std::unique_ptr< Y, D > &r)
 
 shared_count (weak_count const &r)
 
 shared_count (weak_count const &r, sp_nothrow_tag)
 
template<class Y >
 shared_count (Y *p)
 
void swap (shared_count &r)
 
bool unique () const
 
long use_count () const
 
 ~shared_count ()
 

Private Attributes

sp_counted_basepi_
 

Friends

bool operator< (shared_count const &a, shared_count const &b)
 
bool operator== (shared_count const &a, shared_count const &b)
 
class weak_count
 

Detailed Description

Definition at line 98 of file shared_count.hpp.

Constructor & Destructor Documentation

◆ shared_count() [1/14]

BOOST_CONSTEXPR boost::detail::shared_count::shared_count ( )
inline

Definition at line 112 of file shared_count.hpp.

◆ shared_count() [2/14]

BOOST_CONSTEXPR boost::detail::shared_count::shared_count ( sp_counted_base pi)
inlineexplicit

Definition at line 119 of file shared_count.hpp.

◆ shared_count() [3/14]

template<class Y >
boost::detail::shared_count::shared_count ( Y *  p)
inlineexplicit

Definition at line 126 of file shared_count.hpp.

◆ shared_count() [4/14]

template<class P , class D >
boost::detail::shared_count::shared_count ( p,
d 
)
inline

Definition at line 156 of file shared_count.hpp.

◆ shared_count() [5/14]

template<class P , class D >
boost::detail::shared_count::shared_count ( p,
sp_inplace_tag< D >   
)
inline

Definition at line 188 of file shared_count.hpp.

◆ shared_count() [6/14]

template<class P , class D , class A >
boost::detail::shared_count::shared_count ( p,
d,
A  a 
)
inline

Definition at line 220 of file shared_count.hpp.

◆ shared_count() [7/14]

template<class P , class D , class A >
boost::detail::shared_count::shared_count ( p,
sp_inplace_tag< D >  ,
A  a 
)
inline

Definition at line 277 of file shared_count.hpp.

◆ shared_count() [8/14]

template<class Y >
boost::detail::shared_count::shared_count ( std::auto_ptr< Y > &  r)
inlineexplicit

Definition at line 339 of file shared_count.hpp.

◆ shared_count() [9/14]

template<class Y , class D >
boost::detail::shared_count::shared_count ( std::unique_ptr< Y, D > &  r)
inlineexplicit

Definition at line 361 of file shared_count.hpp.

◆ shared_count() [10/14]

template<class Y , class D >
boost::detail::shared_count::shared_count ( boost::movelib::unique_ptr< Y, D > &  r)
inlineexplicit

Definition at line 386 of file shared_count.hpp.

◆ ~shared_count()

boost::detail::shared_count::~shared_count ( )
inline

Definition at line 408 of file shared_count.hpp.

◆ shared_count() [11/14]

boost::detail::shared_count::shared_count ( shared_count const r)
inline

Definition at line 416 of file shared_count.hpp.

◆ shared_count() [12/14]

boost::detail::shared_count::shared_count ( shared_count &&  r)
inline

Definition at line 426 of file shared_count.hpp.

◆ shared_count() [13/14]

boost::detail::shared_count::shared_count ( weak_count const r)
inlineexplicit

Definition at line 617 of file shared_count.hpp.

◆ shared_count() [14/14]

boost::detail::shared_count::shared_count ( weak_count const r,
sp_nothrow_tag   
)
inline

Definition at line 628 of file shared_count.hpp.

Member Function Documentation

◆ empty()

bool boost::detail::shared_count::empty ( ) const
inline

Definition at line 470 of file shared_count.hpp.

◆ get_deleter()

void* boost::detail::shared_count::get_deleter ( sp_typeinfo const ti) const
inline

Definition at line 485 of file shared_count.hpp.

◆ get_local_deleter()

void* boost::detail::shared_count::get_local_deleter ( sp_typeinfo const ti) const
inline

Definition at line 490 of file shared_count.hpp.

◆ get_untyped_deleter()

void* boost::detail::shared_count::get_untyped_deleter ( ) const
inline

Definition at line 495 of file shared_count.hpp.

◆ operator=()

shared_count& boost::detail::shared_count::operator= ( shared_count const r)
inline

Definition at line 439 of file shared_count.hpp.

◆ swap()

void boost::detail::shared_count::swap ( shared_count r)
inline

Definition at line 453 of file shared_count.hpp.

◆ unique()

bool boost::detail::shared_count::unique ( ) const
inline

Definition at line 465 of file shared_count.hpp.

◆ use_count()

long boost::detail::shared_count::use_count ( ) const
inline

Definition at line 460 of file shared_count.hpp.

Friends And Related Function Documentation

◆ operator<

bool operator< ( shared_count const a,
shared_count const b 
)
friend

Definition at line 480 of file shared_count.hpp.

◆ operator==

bool operator== ( shared_count const a,
shared_count const b 
)
friend

Definition at line 475 of file shared_count.hpp.

◆ weak_count

friend class weak_count
friend

Definition at line 108 of file shared_count.hpp.

Member Data Documentation

◆ pi_

sp_counted_base* boost::detail::shared_count::pi_
private

Definition at line 102 of file shared_count.hpp.


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


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:14