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

Function operator%

Examples/NoModules/Chapter 13/Ex13_07/Integer.h:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 return one.getValue() / other.getValue();
29}
30inline Integer operator%(const Integer& one, const Integer& other)
31{
32 return one.getValue() % other.getValue();
33}
34
35#endif

Callers

nothing calls this directly

Calls 1

getValueMethod · 0.45

Tested by

no test coverage detected