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

Method MyTime

week11/examples/shared_ptr.cpp:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7 int minutes;
8 public:
9 MyTime(): hours(0), minutes(0)
10 {
11 std::cout << "Constructor MyTime()" << std::endl;
12 }
13 MyTime(int m): hours(0), minutes(m)
14 {
15 std::cout << "Constructor MyTime(int)" << std::endl;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected