struct invoke_wrapped_decorate_select

Declaration

template <std::size_t Depth, typename Result>
struct invoke_wrapped_decorate_select { /* full declaration omitted */ };

Description

Helper for routing non void result types to the corresponding callable object.

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

Method Overview

  • public template <typename C, typename... Args>static auto apply(C && callable, Args &&... args) -> decltype(dispatch_wrapped_invocation_select<(sizeof...(args) > 1)>(static_cast<decltype(callable) &&>(callable), unwrap_depth_impl<Depth>(static_cast<decltype(args) &&>(args)...)))

Methods

template <typename C, typename... Args>
static auto apply(C&& callable, Args&&... args)
    -> decltype(dispatch_wrapped_invocation_select<
                (sizeof...(args) > 1)>(
        static_cast<decltype(callable)&&>(
            callable),
        unwrap_depth_impl<Depth>(
            static_cast<decltype(args)&&>(
                args)...)))

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

Parameters

C&& callable
Args&&... args