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

Method volume

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

Source from the content-addressed store, hash-verified

10 Box(double length, double width, double height);
11
12 double volume() const { return m_length * m_width * m_height; }
13
14 size_t getObjectCount() const { return s_object_count; }
15

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected