|
|
◆ operator+
template<typename F = lib::move_only_function<void() &&>>
template<typename G >
Combines two finally_t values into one, such that both underlying functions are called upon destruction of the return value.
- Template Parameters
-
| G | The other type of function to call. |
- Parameters
-
| lhs | The second function to call. |
| rhs | The first function to call. |
- Returns
- Note
- The underlying functions are called in the reverse order of arguments provided, i.e. arguments should be provided in the same order they are created.
|