MCPcopy Create free account
hub / github.com/bewuethr/stroustrup-ppp / set

Method set

code_snippets/Chapter18/chapter.18.2.cpp:25–25  ·  view source on GitHub ↗

access: read

Source from the content-addressed store, hash-verified

23
24 double get(int n) { return elem[n]; } // access: read
25 void set(int n, double v) { elem[n]=v; } // access: write
26};
27
28//------------------------------------------------------------------------------

Callers 2

fFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected