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

Method getValue

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

Source from the content-addressed store, hash-verified

9 ~Integer(); // Destructor
10
11 int getValue() const { return m_value; }
12 void setValue(int value) { m_value = value; }
13
14 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