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

Method Box

Examples/NoModules/Appendix A/ExA_13A/Box.h:27–29  ·  view source on GitHub ↗

Out-of-class member definitions must be explicitly marked as inline

Source from the content-addressed store, hash-verified

25
26// Out-of-class member definitions must be explicitly marked as inline
27inline Box::Box(double length, double width, double height)
28 : m_length{ length }, m_width{ width }, m_height{ height }
29{}
30
31inline double Box::volume() const
32{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected