Closed artemp closed 4 years ago
std::vector<char>
cpu-intensive-task
const_cast
AsyncHelloWorker_v2
GetResult
gsl::owner
std::vector<char>
to hold results of acpu-intensive-task
to avoidconst_cast
(c++)AsyncHelloWorker_v2
usingGetResult
to pass results of an async op (impl style)gsl::owner
utility to express explicit transfer of a ownership (c++)