Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template <class T>
- void QueueList<T>::print(std::ostream& out)
- {
- Node* p = head_;
- while (p != nullptr)
- {
- out << p->value_ << ' ';
- p = p->next_;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement