:relfileprefix: ../../../
[#52427FA18600A89D467FE5D96A93EA2574F22E44]

= Function scope_fail::scope_fail



== Synopsis

Declared in header `<https://github.com/Lastique/scope/blob/develop/include/boost/scope/scope_fail.hpp#L174[boost/scope/scope_fail.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
template<
    bool Requires = std::is_move_constructible<base_type>::value,
    typename = enable_if<Requires>::type>
scope_fail(xref:boost/scope/scope_fail-04.adoc[scope_fail]&& that) noexcept(std::is_nothrow_move_constructible<base_type>::value);
----

