template <bool HadMultipleArguments,
          typename C,
          typename T>
auto dispatch_wrapped_invocation_select(
    C&& callable,
    T&& unwrapped)
    -> decltype(invoke_wrapped_invocation_select<
                should_fuse_invoke<
                    HadMultipleArguments,
                    T>::value>::
                    apply(
                        static_cast<
                            decltype(callable)&&>(
                            callable),
                        static_cast<
                            decltype(unwrapped)&&>(
                            unwrapped)))

Description

Invokes the callable object with the result: - If the result is a tuple-like type `invoke_fused` is used - Otherwise `invoke` is used

Declared at: libs/pika/pack_traversal/include/pika/pack_traversal/detail/unwrap_impl.hpp:210

Parameters

C&& callable
T&& unwrapped