halcheck 1.0
Loading...
Searching...
No Matches

◆ finally_t() [4/4]

template<typename F = lib::move_only_function<void() &&>>
template<typename G >
halcheck::lib::finally_t< F >::finally_t ( finally_t< G > && other)
inlineexplicitnoexcept

Delays the invocation of a finally_t's underlying function by transfering the responsibility of calling the function to a new finally_t.

Parameters
otherThe object from which to transfer the function.