Bind an in-place-constructed capture built by a factory function.
Declared in <folly/coro/safe/BindCaptures.h>
auto
capture_in_place_with(
auto make_fn,
auto&&... as);
Sugar for capture{in_place_with(fn, ...)}.
A capture binding that in-place-constructs via make_fn.
| Name | Description |
|---|---|
| make_fn | Factory invoked to construct the captured value. |
| as | Arguments forwarded to the factory function. |