:relfileprefix: ../../
[#8B11DF64EB3DB032ED91CE8F16E8E8E74B55C747]

= Deduction guide scope_success



== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
template<
    typename Func,
    typename Cond,
    typename = enable_if<detail::is_invocable<const Cond &>::value>::type>
xref:boost/scope/scope_success-0ec.adoc[scope_success]<Func, Cond>(
    Func,
    Cond) -> xref:boost/scope/scope_success-0ec.adoc[scope_success]<Func, Cond>;
----

