Home
Random
Nearby
Log in
Settings
Donate Now
If Wikipedia is useful to you, please give today.
About Wikipedia
Disclaimers
Search
FIFO (computing and electronics): Difference between revisions
Article
Talk
Language
Watch
View history
Edit
Browse history interactively
← Previous edit
Next edit →
Content deleted
Content added
Visual
Wikitext
Revision as of 14:04, 30 January 2020
edit
Diaspomod
(
talk
|
contribs
)
62
edits
m
→
Code
← Previous edit
Revision as of 14:11, 30 January 2020
edit
undo
Diaspomod
(
talk
|
contribs
)
62
edits
m
→
Code
Next edit →
Line 37:
public:
void enqueue(T _value) {
auto new_node =
back->swap(
make_unique<Node>(_value
)
);
back->swap(new_node);
back = &(**back).next;
}