31 return _head ==
nullptr;
36 return *std::exchange(_head, _head->
next);
40 Node* _head =
nullptr;
Stack(const Stack &)=delete
bool Empty() const noexcept
void PushFront(Node &node) noexcept
Stack & operator=(Stack &&)=delete
Stack & operator=(const Stack &)=delete
void PushBack(Node &node) noexcept
Node & PopFront() noexcept
#define YACLIB_ASSERT(cond)
Contract< V, E > MakeContract()
Creates related future and promise.
Node class, used in intrusive data structure.