Template Class scope_exit¶
Defined in File scope.hpp
Class Documentation¶
-
template<typename EF>
class scope_exit¶ Public Functions
-
scope_exit(scope_exit &&other) noexcept = default¶
-
scope_exit(const scope_exit&) = delete¶
-
inline ~scope_exit() noexcept¶
-
scope_exit &operator=(const scope_exit&) = delete¶
-
scope_exit &operator=(scope_exit&&) = delete¶
-
inline void release() noexcept¶
-
scope_exit(scope_exit &&other) noexcept = default¶