Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-cpp20
/ getObjectCount
Method
getObjectCount
Examples/NoModules/Chapter 12/Ex12_16/Box.h:15–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
double volume() const { return m_length * m_width * m_height; }
14
15
static size_t getObjectCount() { return s_object_count; }
16
17
private:
18
double m_length {1.0};
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected