11template <
typename V,
typename E>
14template <
typename V,
typename E>
17template <
typename V =
void,
typename E = StopError>
25template <
typename V =
void,
typename E = StopError>
35template <
typename V =
void,
typename E = StopError>
A intrusive pointer to objects with an embedded reference count.
constexpr size_t kSharedRefWithFuture
constexpr size_t kSharedRefNoFuture
SharedContract< V, E > MakeSharedContract()
std::pair< SharedFutureOn< V, E >, SharedPromise< V, E > > SharedContractOn
SharedContract< V, E > MakeSharedContractOn(IExecutor &e)
SharedPromise< V, E > MakeSharedPromise()
std::pair< SharedFuture< V, E >, SharedPromise< V, E > > SharedContract
Contract< V, E > MakeContract()
Creates related future and promise.