MCPcopy Create free account
hub / github.com/apple/foundationdb / safeThreadFutureToFuture

Function safeThreadFutureToFuture

flow/include/flow/ThreadHelper.actor.h:752–755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750
751template <class T>
752typename std::enable_if<allow_anonymous_future<T>::value, Future<T>>::type safeThreadFutureToFuture(
753 const ThreadFuture<T>& threadFuture) {
754 return safeThreadFutureToFutureImpl(threadFuture);
755}
756
757template <class T>
758typename std::enable_if<!allow_anonymous_future<T>::value, Future<T>>::type safeThreadFutureToFuture(

Calls

no outgoing calls

Tested by

no test coverage detected