Share via


future::share Method

Converts the object to a shared_future object.

shared_future<Ty> share();

Return Value

shared_future(move(*this))

Requirements

Header: future

Namespace: std

See Also

Reference

future Class

<future>

move