:relfileprefix: ../../
[#7B96FFC21A8A4FAB1A9FBED2B72E0C343774852A]

= Deduction guide scope_exit



== Synopsis

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

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

