invoke_cold overloads
Declared in <folly/lang/Exception.h>
invoke_cold
template<
typename F,
typename... A,
typename FD = std::remove_pointer_t<std::decay_t<F>>,
typename R = decltype(FOLLY_DECLVAL(F&&)(FOLLY_DECLVAL(A&&)...))>
requires !std::is_function<FD>::value
R
invoke_cold(
F&& f,
A&&... a) noexcept(/* see-below */);
» more...
Invoke the provided function pointer or reference with the provided arguments.
template<
typename F,
typename... A,
typename FD = std::remove_pointer_t<std::decay_t<F>>,
typename R = decltype(FOLLY_DECLVAL(F&&)(FOLLY_DECLVAL(A&&)...))>
requires std::is_function<FD>::value
R
invoke_cold(
F&& f,
A&&... a) noexcept(noexcept(f(static_cast<A &&>(a)...)));
» more...
The result of invoking the function with the arguments.
| Name | Description |
|---|---|
| f | The function to invoke. |
| a | The arguments to forward to the function. |