template <typename T>
constexpr auto unpack_or_void(T&& type)
-> decltype(unpack(
static_cast<decltype(type)&&>(type)))
template <typename T>
constexpr auto unpack_or_void(T&& type)
-> decltype(unpack(
static_cast<decltype(type)&&>(type)))Description
Converts types to the type and spread_box objects to its underlying tuple. If the type is mapped to zero elements, the return type will be void.
Declared at: libs/pika/pack_traversal/include/pika/pack_traversal/detail/pack_traversal_impl.hpp:111
Parameters
- T&& type