Synopsis

Declared in header <boost/scope/scope_success.hpp>

template<
    typename Func,
    typename Cond,
    typename = enable_if<detail::is_invocable<const Cond &>::value>::type>
scope_success<Func, Cond>(
    Func,
    Cond) -> scope_success<Func, Cond>;