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

Method Box

Examples/NoModules/Appendix A/ExA_13/Box.cpp:3–3  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "Box.h"
2
3Box::Box() : Box{ 1.0, 1.0, 1.0 } {}
4Box::Box(double length, double width, double height)
5 : m_length{ length }, m_width{ width }, m_height{ height }
6{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected