4.6.0
Freundlich's C++ toolkit
|
An intrusive list.
Elements that are going to be part of a list must derive from fcppt::intrusive::base<Type>
. They get a list as a constructor parameter and as long as they are not destroyed or moved from, they are part of the list.
Public Types | |
using | iterator = fcppt::intrusive::iterator<Type> |
using | const_iterator = fcppt::intrusive::iterator<Type const> |
Public Member Functions | |
list () | |
list (list &&) noexcept | |
list & | operator= (list &&) noexcept |
~list () | |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
bool | empty () const |
Friends | |
template<typename T > | |
class | fcppt::intrusive::base |
using fcppt::intrusive::list< Type >::const_iterator = fcppt::intrusive::iterator<Type const> |
using fcppt::intrusive::list< Type >::iterator = fcppt::intrusive::iterator<Type> |
fcppt::intrusive::list< Type >::list | ( | ) |
|
noexcept |
fcppt::intrusive::list< Type >::~list | ( | ) |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
noexcept |