:relfileprefix: ../../
[#C4DF9D63B5CBEB250C60B32C44C27B742338F36A]

= Deduction guide scope_fail



== Synopsis

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

