Hedgehog  3.1.0
A library to generate hybrid pipeline workflow systems
Loading...
Searching...
No Matches
hh::tool::internals::Splitter< delimiter, Types > Struct Template Reference

Metafunction splitting a variadic to input and output types at a specific delimiter. More...

#include "meta_functions.h"

Collaboration diagram for hh::tool::internals::Splitter< delimiter, Types >:
Collaboration graph

Public Types

using Inputs = internals::SplitInput_t< std::tuple< Types... >, std::make_integer_sequence< size_t, delimiter > >
 Type accessor of the input types.
 
using Outputs = internals::SplitOutput_t< std::tuple< Types... >, delimiter, std::make_integer_sequence< size_t, sizeof...(Types) - delimiter > >
 Type accessor of the output types.
 

Detailed Description

template<size_t delimiter, typename ... Types>
struct hh::tool::internals::Splitter< delimiter, Types >

Metafunction splitting a variadic to input and output types at a specific delimiter.

Template Parameters
delimiterPosition to split the variadic of types
TypesVariadic of type

Definition at line 121 of file meta_functions.h.

Member Typedef Documentation

◆ Inputs

template<size_t delimiter, typename ... Types>
using hh::tool::internals::Splitter< delimiter, Types >::Inputs = internals::SplitInput_t<std::tuple<Types...>, std::make_integer_sequence<size_t, delimiter> >

Type accessor of the input types.

Definition at line 126 of file meta_functions.h.

◆ Outputs

template<size_t delimiter, typename ... Types>
using hh::tool::internals::Splitter< delimiter, Types >::Outputs = internals::SplitOutput_t<std::tuple<Types...>, delimiter, std::make_integer_sequence<size_t, sizeof...(Types) - delimiter> >

Type accessor of the output types.

Definition at line 129 of file meta_functions.h.