FIFO (computing and electronics): Difference between revisions

Content deleted Content added
Diaspomod (talk | contribs)
Diaspomod (talk | contribs)
Line 37:
public:
void enqueue(T _value) {
auto new_node = back->swap(make_unique<Node>(_value));
back->swap(new_node);
back = &(**back).next;
}