xrpld
Loading...
Searching...
No Matches
beast::LockFreeStack< Element, Tag >::Node Class Reference

#include <LockFreeStack.h>

Inheritance diagram for beast::LockFreeStack< Element, Tag >::Node:
Collaboration diagram for beast::LockFreeStack< Element, Tag >::Node:

Public Member Functions

 Node ()
 Node (Node *next)
 Node (Node const &)=delete
Nodeoperator= (Node const &)=delete

Private Attributes

std::atomic< Node * > next_

Friends

class LockFreeStack
template<class Container, bool IsConst>
class LockFreeStackIterator

Detailed Description

template<class Element, class Tag = void>
class beast::LockFreeStack< Element, Tag >::Node

Definition at line 121 of file LockFreeStack.h.

Constructor & Destructor Documentation

◆ Node() [1/3]

template<class Element, class Tag = void>
beast::LockFreeStack< Element, Tag >::Node::Node ( )

Definition at line 124 of file LockFreeStack.h.

◆ Node() [2/3]

template<class Element, class Tag = void>
beast::LockFreeStack< Element, Tag >::Node::Node ( Node * next)
explicit

Definition at line 128 of file LockFreeStack.h.

◆ Node() [3/3]

template<class Element, class Tag = void>
beast::LockFreeStack< Element, Tag >::Node::Node ( Node const & )
delete

Member Function Documentation

◆ operator=()

template<class Element, class Tag = void>
Node & beast::LockFreeStack< Element, Tag >::Node::operator= ( Node const & )
delete

◆ LockFreeStack

template<class Element, class Tag = void>
friend class LockFreeStack
friend

Definition at line 137 of file LockFreeStack.h.

◆ LockFreeStackIterator

template<class Element, class Tag = void>
template<class Container, bool IsConst>
friend class LockFreeStackIterator
friend

Definition at line 140 of file LockFreeStack.h.

Member Data Documentation

◆ next_

template<class Element, class Tag = void>
std::atomic<Node*> beast::LockFreeStack< Element, Tag >::Node::next_
private

Definition at line 142 of file LockFreeStack.h.