MCPcopy Create free account
hub / github.com/EricPengShuai/Interview / operator-

Method operator-

base_code/overload.cpp:43–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 return Time(hh + t.hh, mm + t.mm, ss + t.ss);
42 }
43 Time operator- (Time t) const {
44 return Time(hh - t.hh, mm - t.mm, ss - t.ss);
45 }
46
47
48 void ShowTime() const {

Callers

nothing calls this directly

Calls 1

TimeClass · 0.85

Tested by

no test coverage detected