SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
smtk::tuple_contains< T, Tuple > Struct Template Reference

Takes a type and a tuple of types and returns a bool indicating whether or not the type is in the tuple. More...

#include <TupleTraits.h>

Detailed Description

template<typename T, typename Tuple>
struct smtk::tuple_contains< T, Tuple >

Takes a type and a tuple of types and returns a bool indicating whether or not the type is in the tuple.

Examples:

tuple_contains<bool, std::tuple<int, bool, float>>() == true
tuple_contains<bool, std::tuple<int, float>>() == false

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