Guest User

Untitled

a guest
Dec 7th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. template <typename T>
  2. Node<T>* take1(Node<T>** list)
  3. {
  4. Node<T>* r = *list;
  5. *list = r->next;
  6. r->next = nullptr;
  7. return r;
  8. }
Add Comment
Please, Sign In to add comment