Skip to main content Link Menu Expand (external link) Document Search Copy Copied

void reset()

Moves the current node to the start of the list

Example

LinkedList<int> list = {3, 4, 5};
++list;
++list;
//Current is now at 5
list.reset();
//current is now at 3