SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Types | List of all members
smtk::recursive< X, T > Struct Template Reference

Takes a template class and a tuple and returns a tuple of elements transformed by the template class, recursing through nested tuples if necessary. More...

#include <TupleTraits.h>

Public Types

using type = typename X< T >::type
 

Detailed Description

template<template< typename > class X, typename T>
struct smtk::recursive< X, T >

Takes a template class and a tuple and returns a tuple of elements transformed by the template class, recursing through nested tuples if necessary.

Examples:

recursive<std::remove_reference, std::tuple<bool&, std::tuple<int&, float&> >::type ==
std::tuple<bool, std::tuple<int, float> >

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