Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Extra-Creativity/Modern-Cpp-Basics
/ foo
Function
foo
13-Multithreading/Answer-code/Thread.cpp:138–141 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
136
};
137
138
void foo(Object obj)
139
{
140
std::cout <<
"Hello, my new thread!\n"
;
141
}
142
143
int main()
144
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected