MCPcopy Create free account
hub / github.com/Apress/design-patterns-in-modern-cpp / deposit

Method deposit

Structural/Proxy/proxy.cpp:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 }
20
21 void deposit(int amount) override
22 {
23 balance += amount;
24 }
25
26 void withdraw(int amount) override
27 {

Callers 1

smart_pointersFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected