:relfileprefix: ../../
[#76AA9CCBB21C2F8E57C7029A98BB875706285D9B]

= Deduction guide scope_exit



== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
template<typename Func>
xref:boost/scope/scope_exit-0a.adoc[scope_exit]<Func>(
    Func,
    bool) -> xref:boost/scope/scope_exit-0a.adoc[scope_exit]<Func>;
----

