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

Method Carton

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

Source from the content-addressed store, hash-verified

10{
11public:
12 explicit Carton(std::string_view mat = "Cardboard") : m_material {mat} {}
13 using Box::volume; // Inherit as public
14
15private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected