AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::inlet::detail::multi_list_prepend< T, Ts > Struct Template Reference

Adds a single type to a parameter pack of TypeLists. More...

#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/v0.5.0/src/axom/inlet/Function.hpp>

Public Types

using type = TypeList< typename list_prepend< T, Ts >::type... >
 

Detailed Description

template<typename T, typename... Ts>
struct axom::inlet::detail::multi_list_prepend< T, Ts >

Adds a single type to a parameter pack of TypeLists.

Template Parameters
TThe type to add to the TypeLists, e.g.,
Ts...The types of the TypeLists to add to, e.g., <TypeList<B, C>, TypeList<D, E>>

In the above example the result type is TypeList<TypeList<A, B, C>, TypeList<A, D, E>>

The Python-like pseudocode for this function is roughly:

def multi_list_prepend(T, Ts):
return [T + T_ for T_ in Ts]

Member Typedef Documentation

◆ type

template<typename T , typename... Ts>
using axom::inlet::detail::multi_list_prepend< T, Ts >::type = TypeList<typename list_prepend<T, Ts>::type...>

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