Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-cpp20
/ getWidth
Method
getWidth
Examples/NoModules/Chapter 13/Ex13_02/Box.h:15–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
// Accessors
14
double getLength() const { return m_length; }
15
double getWidth() const { return m_width; }
16
double getHeight() const { return m_height; }
17
18
bool operator<(const Box& aBox) const // Less-than operator
Callers
1
show
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected