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

Method volume

Examples/NoModules/Chapter 16/Ex16_09/Box.h:15–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 }
14
15 double volume() const { return m_length * m_width * m_height; }
16private:
17 double m_length{ 1.0 };
18 double m_width{ 1.0 };

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected