| 2 | import <iostream>; |
| 3 | |
| 4 | Box::Box(double length, double width, double height) // Constructor definition |
| 5 | : m_length{length}, m_width{width}, m_height{height} |
| 6 | { |
| 7 | ++s_object_count; |
| 8 | std::cout << "Box constructor 1 called." << std::endl; |
| 9 | } |
| 10 | |
| 11 | Box::Box(double side) : Box{side, side, side} // Constructor for a cube |
| 12 | { |
nothing calls this directly
no outgoing calls
no test coverage detected