YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::List Class Referencefinal

#include <intrusive_list.hpp>

Public Member Functions

Listoperator= (const List &)=delete
 
Listoperator= (List &&)=delete
 
 List (const List &)=delete
 
 List () noexcept=default
 
 List (List &&) noexcept
 
void PushFront (Node &node) noexcept
 
void PushBack (Node &node) noexcept
 
bool Empty () const noexcept
 
NodePopFront () noexcept
 

Detailed Description

Definition at line 7 of file intrusive_list.hpp.

Constructor & Destructor Documentation

◆ List() [1/3]

yaclib::detail::List::List ( const List )
delete

◆ List() [2/3]

yaclib::detail::List::List ( )
defaultnoexcept

◆ List() [3/3]

yaclib::detail::List::List ( List &&  other)
noexcept

Definition at line 8 of file intrusive_list.cpp.

References yaclib::MakeContract().

Member Function Documentation

◆ Empty()

bool yaclib::detail::List::Empty ( ) const
noexcept

Definition at line 31 of file intrusive_list.cpp.

References yaclib::detail::Node::next, and YACLIB_DEBUG.

Referenced by yaclib::ManualExecutor::Drain(), and PopFront().

◆ operator=() [1/2]

List & yaclib::detail::List::operator= ( const List )
delete

◆ operator=() [2/2]

List & yaclib::detail::List::operator= ( List &&  )
delete

◆ PopFront()

Node & yaclib::detail::List::PopFront ( )
noexcept

◆ PushBack()

void yaclib::detail::List::PushBack ( Node node)
noexcept

Definition at line 24 of file intrusive_list.cpp.

References yaclib::MakeContract().

◆ PushFront()

void yaclib::detail::List::PushFront ( Node node)
noexcept

Definition at line 16 of file intrusive_list.cpp.

References yaclib::Empty, and yaclib::MakeContract().


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