MCPcopy Create free account
hub / github.com/Apress/beginning-cpp20 / volume

Method volume

Examples/NoModules/Chapter 13/Ex13_08/Box.h:20–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 }
19
20 double volume() const { return m_length * m_width * m_height; }
21
22 // Accessors
23 double getLength() const { return m_length; }

Callers 1

operator<=>Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected