2.10.0
Freundlich's C++ toolkit
Protected Member Functions
fcppt::enable_shared_from_this< Type > Class Template Reference

Detailed Description

template<typename Type>
class fcppt::enable_shared_from_this< Type >

Allows an object to obtain a shared ptr to itself.

Derive from this class to allow an object to obtain a shared ptr to itself.

Inheritance diagram for fcppt::enable_shared_from_this< Type >:

Protected Member Functions

 enable_shared_from_this ()
 
 enable_shared_from_this (enable_shared_from_this const &)
 
enable_shared_from_thisoperator= (enable_shared_from_this const &)
 
 ~enable_shared_from_this ()
 
fcppt::shared_ptr< Type > fcppt_shared_from_this ()
 
fcppt::shared_ptr< Type const > fcppt_shared_from_this () const
 

Constructor & Destructor Documentation

◆ enable_shared_from_this() [1/2]

template<typename Type >
fcppt::enable_shared_from_this< Type >::enable_shared_from_this ( )
protected

◆ enable_shared_from_this() [2/2]

template<typename Type >
fcppt::enable_shared_from_this< Type >::enable_shared_from_this ( enable_shared_from_this< Type > const &  )
protected

◆ ~enable_shared_from_this()

template<typename Type >
fcppt::enable_shared_from_this< Type >::~enable_shared_from_this ( )
protected

Member Function Documentation

◆ fcppt_shared_from_this() [1/2]

template<typename Type >
fcppt::shared_ptr< Type > fcppt::enable_shared_from_this< Type >::fcppt_shared_from_this ( )
protected

◆ fcppt_shared_from_this() [2/2]

template<typename Type >
fcppt::shared_ptr< Type const > fcppt::enable_shared_from_this< Type >::fcppt_shared_from_this ( ) const
protected

◆ operator=()

template<typename Type >
enable_shared_from_this& fcppt::enable_shared_from_this< Type >::operator= ( enable_shared_from_this< Type > const &  )
protected