Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-cpp20
/ setValue
Method
setValue
Exercises/NoModules/Chapter 12/Soln12_01/Integer.h:9–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
Integer(int value);
8
int getValue() const { return m_value; }
9
void setValue(int value) { m_value = value; }
10
void show() const;
11
12
private:
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected