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

Method Box

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

Source from the content-addressed store, hash-verified

8{
9public:
10 Box() = default; // Default constructor
11 Box(double length, double width, double height)
12 : m_length{ std::max(length,width) }
13 , m_width { std::min(length,width) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected