Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/changkun/modern-cpp-tutorial
/ foo
Method
foo
code/5/5.2.cpp:7–7 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5
Foo() { std::cout <<
"Foo::Foo"
<< std::endl; }
6
~Foo() { std::cout <<
"Foo::~Foo"
<< std::endl; }
7
void foo() { std::cout <<
"Foo::foo"
<< std::endl; }
8
};
9
10
void f(const Foo &) {
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected