Move constructor

Synopsis

Declared in <beman/scope/scope.hpp>

constexpr
scope_guard(scope_guard&& rhs) noexcept(std::is_nothrow_move_constructible_v<ScopeExitFunc> && std::is_nothrow_move_constructible_v<InvokeChecker>)
requires (HasRelease<InvokeChecker> || HasStaticRelease<InvokeChecker>);

Parameters

Name

Description

rhs

The object to move construct from