Hedgehog  0.0.0
A library to generate hybrid pipeline workflow systems
hh::traits::_is_included_< T1, T2, std::integer_sequence< std::size_t, Is... > > Struct Template Reference

Check if a tuple of types T1 is included in a tuple of type T2, all type in T1 are in T2. More...

#include "traits.h"

Collaboration diagram for hh::traits::_is_included_< T1, T2, std::integer_sequence< std::size_t, Is... > >:
Collaboration graph

Static Public Attributes

static bool const value = std::disjunction_v<Contains<typename std::tuple_element<Is, T1>::type, T2>...>
 True if all type in T1 are in T2, else False.
 

Detailed Description

template<class T1, class T2, std::size_t... Is>
struct hh::traits::_is_included_< T1, T2, std::integer_sequence< std::size_t, Is... > >

Check if a tuple of types T1 is included in a tuple of type T2, all type in T1 are in T2.

Template Parameters
T1Tuple of types that should be in type T2
T2Tuple of types that should contain all type of T1
IsList of index of tuple T1

Definition at line 105 of file traits.h.


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