hpx::experimental::scope_success

Contents

hpx::experimental::scope_success#

Defined in header hpx/experimental/scope.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

template<typename F>
auto hpx::experimental::scope_success(F &&f)#

The class template scope_success is a general-purpose scope guard intended to call its exit function when a scope is normally exited.

Template Parameters:

F – type of stored exit function

Parameters:

f – stored exit function