proxygen
folly::futures::detail::callableResult< T, F > Struct Template Reference

#include <Future-pre.h>

Public Types

typedef std::conditional< is_invocable< F >::value, detail::argResult< false, F >, typename std::conditional< is_invocable< F, T && >::value, detail::argResult< false, F, T && >, detail::argResult< true, F, Try< T > && > >::type >::type Arg
 
typedef isFutureOrSemiFuture< typename Arg::Result > ReturnsFuture
 
typedef Future< typename ReturnsFuture::InnerReturn
 

Detailed Description

template<typename T, typename F>
struct folly::futures::detail::callableResult< T, F >

Definition at line 103 of file Future-pre.h.

Member Typedef Documentation

template<typename T , typename F >
typedef std::conditional< is_invocable<F>::value, detail::argResult<false, F>, typename std::conditional< is_invocable<F, T&&>::value, detail::argResult<false, F, T&&>, detail::argResult<true, F, Try<T>&&> >::type>::type folly::futures::detail::callableResult< T, F >::Arg

Definition at line 110 of file Future-pre.h.

template<typename T , typename F >
typedef Future<typename ReturnsFuture::Inner> folly::futures::detail::callableResult< T, F >::Return

Definition at line 112 of file Future-pre.h.

template<typename T , typename F >
typedef isFutureOrSemiFuture<typename Arg::Result> folly::futures::detail::callableResult< T, F >::ReturnsFuture

Definition at line 111 of file Future-pre.h.


The documentation for this struct was generated from the following file: