True when T models the async cleanup concept (has a conforming cleanup()).

Synopsis

Declared in <folly/futures/Cleanup.h>

template<class T>
constexpr bool is_cleanup_v = std::is_invocable_v<detail::cleanup_fn, T>;

Created with MrDocs