Constructor explicitly calling the base constructor
| 10 | public: |
| 11 | // Constructor explicitly calling the base constructor |
| 12 | Carton(double l, double w, double h, std::string_view mat = "cardboard") |
| 13 | : Box{l, w, h}, m_material{mat} |
| 14 | {} |
| 15 | ~Carton() override = default; |
| 16 | |
| 17 | // Function to calculate the volume of a Carton object |
nothing calls this directly
no outgoing calls
no test coverage detected