Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/changkun/modern-cpp-tutorial
/ f
Function
f
code/5/5.2.cpp:10–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
};
9
10
void f(const Foo &) {
11
std::cout <<
"f(const Foo&)"
<< std::endl;
12
}
13
14
int main() {
15
std::unique_ptr<Foo> p1(std::make_unique<Foo>());
Callers
3
functional
Function · 0.85
main
Function · 0.85
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected