51std::shared_future<RETURN_TYPE>
sese::async(
const std::function<RETURN_TYPE()> &task)
noexcept {
52 std::packaged_task<RETURN_TYPE()> packaged_task(task);
53 std::shared_future<RETURN_TYPE> future(packaged_task.get_future());
56 [&](std::packaged_task<RETURN_TYPE()> task) {
59 std::move(packaged_task)