Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/design-patterns-in-modern-cpp
/ drive
Method
drive
Structural/Proxy/ProxyCodingExercise.cpp:21–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
20
string drink() const { return
"drinking"
; }
21
string drive() const { return
"driving"
; }
22
string drink_and_drive() const { return
"driving while drunk"
; }
23
};
24
Callers
2
drive
Method · 0.45
TEST_F
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected