Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Double linked list of items of type T containing a member of type intrusive_list_node. More...
#include <intrusive_list.h>
Static Private Member Functions | |
static intrusive_list_node & | node (T &val) |
static T & | item (intrusive_list_node *node) |
static const T & | item (const intrusive_list_node *node) |
Friends | |
class | intrusive_list_base< memptr_intrusive_list< T, U, NodePtr >, T > |
Additional Inherited Members | |
![]() | |
typedef iterator_impl< T > | iterator |
typedef iterator_impl< const T > | const_iterator |
![]() | |
intrusive_list_base () | |
bool | empty () const |
size_t | size () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
void | push_front (T &val) |
void | remove (T &val) |
iterator | erase (iterator it) |
Double linked list of items of type T containing a member of type intrusive_list_node.
NodePtr is a member pointer to the node data field. Class U is either T or a base class of T containing the node member. Default values exist for the sake of a partial specialization working with inheritance case.
The list does not have ownership of its items. Its purpose is to avoid dynamic memory allocation when forming lists of existing objects.
The class is not thread safe.
Definition at line 199 of file intrusive_list.h.
|
inlinestaticprivate |
Definition at line 205 of file intrusive_list.h.
References tbb::internal::memptr_intrusive_list< T, U, NodePtr >::node().
Referenced by tbb::internal::memptr_intrusive_list< T, U, NodePtr >::item().
|
inlinestaticprivate |
Definition at line 213 of file intrusive_list.h.
References tbb::internal::memptr_intrusive_list< T, U, NodePtr >::item(), and tbb::internal::memptr_intrusive_list< T, U, NodePtr >::node().
|
inlinestaticprivate |
Definition at line 203 of file intrusive_list.h.
Referenced by tbb::internal::memptr_intrusive_list< T, U, NodePtr >::item().
|
friend |
Definition at line 201 of file intrusive_list.h.