proxygen
|
#include <InlineTask.h>
Public Member Functions | |
InlineTaskPromise () noexcept=default | |
~InlineTaskPromise ()=default | |
InlineTask< T > | get_return_object () noexcept |
template<typename Value , std::enable_if_t< std::is_convertible< Value &&, T >::value, int > = 0> | |
void | return_value (Value &&value) noexcept(std::is_nothrow_constructible< T, Value && >::value) |
void | return_value (T &&value) noexcept(std::is_nothrow_move_constructible< T >::value) |
void | unhandled_exception () noexcept |
T | result () |
Public Member Functions inherited from folly::coro::detail::InlineTaskPromiseBase | |
std::experimental::suspend_always | initial_suspend () noexcept |
auto | final_suspend () noexcept |
void | set_continuation (std::experimental::coroutine_handle<> continuation) noexcept |
Private Types | |
using | StorageType = std::conditional_t< std::is_lvalue_reference< T >::value, std::reference_wrapper< std::remove_reference_t< T >>, T > |
Private Attributes | |
folly::Try< StorageType > | result_ |
Additional Inherited Members | |
Protected Member Functions inherited from folly::coro::detail::InlineTaskPromiseBase | |
InlineTaskPromiseBase () noexcept=default | |
InlineTaskPromiseBase (const InlineTaskPromiseBase &)=delete | |
InlineTaskPromiseBase (InlineTaskPromiseBase &&)=delete | |
InlineTaskPromiseBase & | operator= (const InlineTaskPromiseBase &)=delete |
InlineTaskPromiseBase & | operator= (InlineTaskPromiseBase &&)=delete |
Definition at line 88 of file InlineTask.h.
|
private |
Definition at line 133 of file InlineTask.h.
|
defaultnoexcept |
|
default |
|
inlinenoexcept |
Definition at line 221 of file InlineTask.h.
|
inline |
Definition at line 123 of file InlineTask.h.
References folly::gen::move, and value.
|
inlinenoexcept |
Definition at line 106 of file InlineTask.h.
|
inlinenoexcept |
Definition at line 113 of file InlineTask.h.
|
inlinenoexcept |
Definition at line 118 of file InlineTask.h.
References folly::exception_wrapper::from_exception_ptr().
|
private |
Definition at line 135 of file InlineTask.h.