MCPcopy 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
10void f(const Foo &) {
11 std::cout << "f(const Foo&)" << std::endl;
12}
13
14int main() {
15 std::unique_ptr<Foo> p1(std::make_unique<Foo>());

Callers 3

functionalFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected