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

Method volume

Examples/NoModules/Chapter 14/Ex14_03/Box.h:24–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 { std::cout << "Box copy constructor" << std::endl; }
23
24 double volume() const { return m_length * m_width * m_height; }
25
26 // Accessors
27 double getLength() const { return m_length; }

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected