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

Method Box

Exercises/Modules/Chapter 21/Soln21_02/Soln21_02.cpp:59–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57{
58public:
59 Box() : Box{ 1, 1, 1 } {};
60 Box(double length, double width, double height)
61 : m_length{ length }, m_width{ width }, m_height{ height }
62 {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected