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