folly::bind::capture_indirect

Binds an async-closure capture whose pointer-like value is dereferenced once to expose the underlying object.

Synopsis

Declared in <folly/coro/safe/BindCaptures.h>

template<typename... Ts>
struct capture_indirect
    : folly::bind::ext::merge_update_args</* implementation-defined */, Ts...>

Base Classes

NameDescription
folly::bind::ext::merge_update_args</* implementation-defined */, Ts...>Concatenates several like_args lists, mapping each bind_info_t through BindInfoFn.

Type Aliases

NameDescription
binding_list_t The concatenated binding list with each bind_info_t mapped by BindInfoFn.

Member Functions

NameDescription
unsafe_tuple_to_bind Move out the concatenated tuple of bound values.

Using Declarations

Name
Unnamed using

Deduction Guides

NameDescription
capture_indirect<folly::bind::ext::deduce_args_t<Ts>...> Deduction guide for capture_indirect from its bound arguments.