MCPcopy Create free account
hub / github.com/changkun/modern-cpp-tutorial / foo

Function foo

code/7/7.1.cpp:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <future>
11#include <thread>
12void foo() {
13 std::cout << "hello world" << std::endl;
14}
15
16void foo2() {
17 // 将一个返回值为7的 lambda 表达式封装到 task 中

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected