Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/changkun/modern-cpp-tutorial
/ Foo
Class
Foo
code/2/2.5.cpp:12–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
#include <initializer_list>
11
12
class Foo {
13
private:
14
int value;
15
public:
16
Foo(int) {}
17
};
18
19
class Magic {
20
public:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected