Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-cpp20
/ Box
Method
Box
Examples/NoModules/Chapter 15/Ex15_07A/Box.h:8–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
{
7
public:
8
Box() : Box{ 1.0, 1.0, 1.0 } {}
9
Box(double l, double w, double h) : m_length {l}, m_width {w}, m_height {h} {}
10
11
virtual ~Box() = default;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected