std::experimental::promise
来自 cppreference.cn
std::experimental::promise
可能指:
-
std::experimental::fundamentals_v1::promise
或std::experimental::fundamentals_v2::promise
,这是 库基础 TS 提供的一个修改版 std::promise,支持类型擦除的分配器; -
std::experimental::concurrency_v1::promise
,这是 并发 TS 提供的一个修改版std::promise
,其get_future()
成员函数返回该 TS 提供的改进版 std::experimental::future。