Created
June 15, 2021 15:17
-
-
Save BogdanAriton/03fd80aab3ebb0475f480bc5bcd6391e 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
std::size_t l_size() const noexcept { return size; }; // gets back the size of the list (hence the l_ in the name) | |
bool isEmpty() const { return l_size() == 0; }; // checks if the size is zero which indicates that the list is empty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment