MCPcopy Create free account
hub / github.com/ShiqiYu/CPP / Storage

Method Storage

week15/examples/nestedclass.cpp:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 Fruit fruit;
16public:
17 Storage(Fruit f)
18 {
19 this->fruit = f;
20 }
21 void print()
22 {
23 cout << fruit.getInfo() << endl;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected