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

Method setValue

Exercises/NoModules/Chapter 12/Soln12_02/Integer.h:24–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23 int getValue() const { return m_value; }
24 void setValue(int value) { m_value = value; }
25
26// int compare(Integer obj) const; // Compare function with value parameter
27 int compare(const Integer& obj) const; // Compare function with reference parameter

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected