boostorg / thread

Boost.org thread module
http://boost.org/libs/thread
201 stars 161 forks source link

future<shared_future<T>>::unwrap does not exist #333

Open thisismiller opened 3 years ago

thisismiller commented 3 years ago

The docs say:

Member function unwrap() EXTENSION
template <typename R2>
 future<R2>  future< future<R2>>::unwrap();  // EXTENSION
template <typename R2>
 boost::shared_future<R2>  future< boost::shared_future<R2>>::unwrap();  // EXTENSION

thread.hpp:1887 appears to define the future<future\<R2>>::unwrap, but it doesn't appear that there's a specialization for future<shared_future\<R2>> to provide the documented unwrap method.