template <std::size_t Depth,
typename C,
typename... Args>
auto invoke_wrapped(C&& callable, Args&&... args)
-> decltype(invoke_wrapped_decorate_select<
Depth,
decltype(unwrap_depth_impl<Depth>(
static_cast<decltype(args)&&>(
args)...))>::
apply(
static_cast<
decltype(callable)&&>(
callable),
static_cast<
decltype(args)&&>(
args)...))
template <std::size_t Depth,
typename C,
typename... Args>
auto invoke_wrapped(C&& callable, Args&&... args)
-> decltype(invoke_wrapped_decorate_select<
Depth,
decltype(unwrap_depth_impl<Depth>(
static_cast<decltype(args)&&>(
args)...))>::
apply(
static_cast<
decltype(callable)&&>(
callable),
static_cast<
decltype(args)&&>(
args)...))Description
map_pack may return a tuple, a plain type or void choose the corresponding invocation function accordingly.
Declared at: libs/pika/pack_traversal/include/pika/pack_traversal/detail/unwrap_impl.hpp:252
Parameters
- C&& callable
- Args&&... args