:relfileprefix: ../../
[#42F7B854B755A3AAA6952F20922E681259CB3BBC]

= Deduction guide scope_exit



== Synopsis

Declared in header `<https://github.com/Lastique/scope/blob/develop/include/boost/scope/scope_exit.hpp#L508[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,
    bool) -> xref:boost/scope/scope_exit-0a.adoc[scope_exit]<Func, Cond>;
----

