HiPipe  0.7.0
C++17 data pipeline with Python bindings.
List of all members
hipipe::utility::maybe_tuple_impl< N, Ts > Struct Template Reference

Wrap variadic template pack in a tuple if there is more than one type. More...

#include <hipipe/core/utility/tuple.hpp>

Detailed Description

template<std::size_t N, typename... Ts>
struct hipipe::utility::maybe_tuple_impl< N, Ts >

Wrap variadic template pack in a tuple if there is more than one type.

Example:

static_assert(std::is_same_v<maybe_tuple<int, double>, std::tuple<int, double>>);
static_assert(std::is_same_v<maybe_tuple<int>, int>);
static_assert(std::is_same_v<maybe_tuple<>, std::tuple<>>);

Definition at line 55 of file tuple.hpp.


The documentation for this struct was generated from the following file: