MCPcopy Create free account
hub / github.com/andreasfertig/programming-with-cpp20 / Consume

Method Consume

12.25-constexprStaticInitFiasco2/main.cpp:11–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 {}
10
11 void Consume(int v) { _amount -= v; }
12
13 int Available() const { return _amount; }
14

Callers 1

HumanMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected