COROIO: NNet::NDetail::TIntrusiveNode< T > Class Template Reference
COROIO
Loading...
Searching...
No Matches
NNet::NDetail::TIntrusiveNode< T > Class Template Reference

Links of an object in a TIntrusiveList. More...

#include <intrusive_list.hpp>

Public Member Functions

 TIntrusiveNode (const TIntrusiveNode &)=delete
TIntrusiveNode & operator= (const TIntrusiveNode &)=delete
bool IsLinked () const
 Returns true if the object is in a list.
void Unlink ()
 Removes the object from its list in O(1). It must be in a list.

Friends

class TIntrusiveList< T >

Detailed Description

template<typename T>
class NNet::NDetail::TIntrusiveNode< T >

Links of an object in a TIntrusiveList.

Derive the object from it: struct TItem: TIntrusiveNode<TItem> { ... };. The object is in at most one list at a time, and the list does not own it.


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