Invokes the wrapped callable function object and destroys the callable.

Synopsis

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

~scope_final() noexcept(detail::is_nothrow_invocable<Func &>::value);

Description

Throws: Nothing, unless invoking the callable throws.