Created
June 15, 2021 15:31
-
-
Save BogdanAriton/f9cadf8eabf10418bcc24116c0055eb4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// returning a const pointer to the back - the back is always null because it marks the end of the list | |
Iterator end() const noexcept | |
{ | |
return Iterator(); // this just return a nullptr that represents the end | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment