2.10.0
Freundlich's C++ toolkit
Public Types | Public Member Functions | Friends
fcppt::intrusive::base< Type > Class Template Reference

Detailed Description

template<typename Type>
class fcppt::intrusive::base< Type >

The base class of an element.

Every type that is used as an element of an fcppt::intrusive::list must derive from this class.

Template Parameters
TypeThe derived type.

Public Types

typedef fcppt::intrusive::list< Type > list_type
 

Public Member Functions

 base (list_type &)
 Inserts the element at the back of a list. More...
 
 base (base &&)
 
baseoperator= (base &&)
 
 ~base ()
 
void unlink ()
 Unlinks this element from the list. More...
 

Friends

template<typename T >
class fcppt::intrusive::list
 
template<typename T >
class fcppt::intrusive::iterator
 

Member Typedef Documentation

◆ list_type

template<typename Type>
typedef fcppt::intrusive::list< Type > fcppt::intrusive::base< Type >::list_type

Constructor & Destructor Documentation

◆ base() [1/2]

template<typename Type>
fcppt::intrusive::base< Type >::base ( list_type )
explicit

Inserts the element at the back of a list.

◆ base() [2/2]

template<typename Type>
fcppt::intrusive::base< Type >::base ( base< Type > &&  )

◆ ~base()

template<typename Type>
fcppt::intrusive::base< Type >::~base ( )

Member Function Documentation

◆ operator=()

template<typename Type>
base& fcppt::intrusive::base< Type >::operator= ( base< Type > &&  )

◆ unlink()

template<typename Type>
void fcppt::intrusive::base< Type >::unlink ( )

Unlinks this element from the list.

Friends And Related Function Documentation

◆ fcppt::intrusive::iterator

template<typename Type>
template<typename T >
friend class fcppt::intrusive::iterator
friend

◆ fcppt::intrusive::list

template<typename Type>
template<typename T >
friend class fcppt::intrusive::list
friend