Hedgehog  0.0.0
A library to generate hybrid pipeline workflow systems
hh::traits::Contains< T, Ts > Struct Template Reference

Check if a template T is in Template pack Ts. More...

#include "traits.h"

Inheritance diagram for hh::traits::Contains< T, Ts >:
Inheritance graph
Collaboration diagram for hh::traits::Contains< T, Ts >:
Collaboration graph

Static Public Attributes

static constexpr bool value = std::disjunction_v<std::is_same<T, Ts>...>
 True if T in Ts, else False.
 

Detailed Description

template<class T, class... Ts>
struct hh::traits::Contains< T, Ts >

Check if a template T is in Template pack Ts.

Template Parameters
TType to test
TsParameter pack
Returns
True if T is in Ts, else False

Definition at line 77 of file traits.h.


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