Classes | Functions
Variadic.hpp File Reference

Metaprogramming helpers for variadic templates. More...

Go to the source code of this file.

Classes

struct  aurora::Typelist< Ts >
 Class template to store a list of types. More...
 
struct  aurora::Typelist< Ts >
 Class template to store a list of types. More...
 
struct  aurora::TypelistAt< Types, Index >
 Random access to type. More...
 
struct  aurora::TypelistFind< Types, Searched >
 Find position of type in typelist. More...
 
struct  aurora::TypelistCat< LhsTypelist, RhsTypelist >
 Concatenate two typelists. More...
 
struct  aurora::TypelistContains< Typelist1, T >
 Check if type is part of typelist. More...
 

Functions

template<typename... Ts, typename Function >
void aurora::foreach (Function &&fn)
 Apply function for each type in variadic parameter pack. More...
 
template<typename... Ts, typename Function >
void aurora::foreach (Function &&fn, Ts &&...args)
 Apply function for each value in variadic parameter pack. More...
 

Detailed Description

Metaprogramming helpers for variadic templates.