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

Method Carton

Examples/NoModules/Chapter 14/Ex14_05/Carton.h:14–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13public:
14 Carton(double length, double width, double height, std::string_view mat)
15 : Box{length, width, height}, m_material{mat}
16 { std::cout << "Carton(double,double,double,string_view) called.\n"; }
17
18private:
19 std::string m_material {"Cardboard"};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected