Capture of a cleanup arg, whose refs downgrade dependents to after‐cleanup.

Synopsis

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

template<typename T>
requires (!std::is_rvalue_reference_v<T> &&
           detail::immovable_async_closure_co_cleanup<std::remove_cvref_t<T>>)
class co_cleanup_capture
    : public /* implementation-defined */

Base Classes

Name

Description

/* implementation-defined */

Protected Member Functions

Name

get_lref

Protected Data Members

Name

v_

Created with MrDocs