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

Method volume

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

Source from the content-addressed store, hash-verified

11 ~Box(); // Destructor
12
13 double volume() const { return m_length * m_width * m_height; }
14
15 static size_t getObjectCount() { return s_object_count; }
16

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected