Skip to content

Instantly share code, notes, and snippets.

@danielgospodinow
Created September 22, 2019 20:05
Show Gist options
  • Save danielgospodinow/76413a05bc98214fc53def3710ac6e73 to your computer and use it in GitHub Desktop.
Save danielgospodinow/76413a05bc98214fc53def3710ac6e73 to your computer and use it in GitHub Desktop.
Linked List constructor
template<typename T>
LinkedList<T>::LinkedList():
_head(nullptr),
_tail(nullptr),
_size(0) {
// Initialize all class variables.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment