:relfileprefix: ../../
[#B6A9542DBADAA50D1778764A925B6F78308C53CC]

= Function make_scope_success



== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
template<
    typename F,
    typename C>
enable_if<detail::is_invocable<const C &>::value, xref:boost/scope/scope_success-0ec.adoc[scope_success]<decay<F>::type, decay<C>::type>>::type
make_scope_success(
    F&& func,
    C&& cond,
    bool active = true) noexcept(std::is_nothrow_constructible<scope_success<typename std::decay<F>::type, typename std::decay<C>::type>, F, C, bool>::value);
----

