Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-cpp20
/ isEmpty
Method
isEmpty
Examples/NoModules/Chapter 17/Ex17_04B/Stack.h:99–99 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
97
98
template <typename T>
99
bool Stack<T>::isEmpty() const { return m_head == nullptr; }
100
101
// noexcept swap member function
102
template <typename T>
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected