13 explicit scope_exit(F&& function)
noexcept(std::is_nothrow_move_constructible_v<F>) : function_(
std::move(function))
scope_exit(scope_exit const &)=delete
scope_exit(scope_exit &&)=delete
scope_exit(F &&function) noexcept(std::is_nothrow_move_constructible_v< F >)
auto operator=(scope_exit &&) -> scope_exit &=delete
auto operator=(scope_exit const &) -> scope_exit &=delete
Aggregates multiple thread_registry_backend instances into a single queryable view.
auto make_scope_exit(F &&function) -> scope_exit< std::decay_t< F > >