Content deleted Content added
<source> deprecated in favor of <syntaxhighlight> |
Chartrekhan (talk | contribs) The code segment did not actually work. I will write up my fix in the talk page. |
||
Line 26:
struct Node {
T value;
Node(T _value): value(_value) {}
};
public:
void enqueue(T _value) {
back = front;
} else {
back->next = make_shared<Node>(_value);
back = back->next;
}
}
|