:relfileprefix: ../../ [#9010F04689A5A89ACE45416BDC344A9C535C7DA0-make_scope_exit] = Overload set make_scope_exit == Members pass:v,q[Creates a scope guard with a given action function object.] [source,cpp,subs="verbatim,macros,-callouts"] ---- template xref:boost/scope/scope_exit-0a.adoc[scope_exit]::type> make_scope_exit( F&& func, bool active = true) noexcept(std::is_nothrow_constructible::type>, F, bool>::value); xref:boost/scope/make_scope_exit-0d.adoc[pass:c,q,m[*_» more..._*]] ---- [source,cpp,subs="verbatim,macros,-callouts"] ---- template< typename F, typename C> enable_if::type, typename std::decay::type>, F, C, bool>::value, xref:boost/scope/scope_exit-0a.adoc[scope_exit]::type, decay::type>>::type make_scope_exit( F&& func, C&& cond, bool active = true) noexcept(std::is_nothrow_constructible::type, typename std::decay::type>, F, C, bool>::value); xref:boost/scope/make_scope_exit-09.adoc[pass:c,q,m[*_» more..._*]] ----