repr 0.1
Reconstructable string representations and more
Loading...
Searching...
No Matches
librepr::TypeList< Ts > Struct Template Reference

#include <list.h>

Inheritance diagram for librepr::TypeList< Ts >:
[legend]
Collaboration diagram for librepr::TypeList< Ts >:
[legend]

Public Types

using map = TypeList< F< Ts >... >
 
using map_t = TypeList< typename F< Ts >::type... >
 
using get = typename pack::Split< Idx, TypeList< Ts... > >::type
 
using split = TypeList< typename do_split< Idx >::head, typename do_split< Idx >::tail >
 
using head = typename do_split< Idx >::head
 
using tail = typename do_split< Idx >::tail
 
using append = TypeList< Ts..., T >
 
using prepend = TypeList< T, Ts... >
 
using to = T< Ts... >
 

Static Public Member Functions

static constexpr decltype(auto) invoke (F &&callable, Args &&... args)
 
static constexpr void for_each (F &&callable, Args &&... args)
 
static constexpr void enumerate (F &&callable, Args &&... args)
 

Static Public Attributes

static constexpr std::size_t size
 

Member Typedef Documentation

◆ append

using librepr::TypeListBase< TypeList , Ts >::append = TypeList <Ts..., T>
inherited

◆ get

using librepr::TypeListBase< TypeList , Ts >::get = typename pack::Split<Idx, TypeList <Ts...> >::type
inherited

◆ head

using librepr::TypeListBase< TypeList , Ts >::head = typename do_split<Idx>::head
inherited

◆ map

using librepr::TypeListBase< TypeList , Ts >::map = TypeList <F<Ts>...>
inherited

◆ map_t

using librepr::TypeListBase< TypeList , Ts >::map_t = TypeList <typename F<Ts>::type...>
inherited

◆ prepend

using librepr::TypeListBase< TypeList , Ts >::prepend = TypeList <T, Ts...>
inherited

◆ split

◆ tail

using librepr::TypeListBase< TypeList , Ts >::tail = typename do_split<Idx>::tail
inherited

◆ to

using librepr::TypeListBase< TypeList , Ts >::to = T<Ts...>
inherited

Member Function Documentation

◆ enumerate()

static constexpr void librepr::TypeListBase< TypeList , Ts >::enumerate ( F &&  callable,
Args &&...  args 
)
inlinestaticconstexprinherited

◆ for_each()

static constexpr void librepr::TypeListBase< TypeList , Ts >::for_each ( F &&  callable,
Args &&...  args 
)
inlinestaticconstexprinherited

◆ invoke()

static constexpr decltype(auto) librepr::TypeListBase< TypeList , Ts >::invoke ( F &&  callable,
Args &&...  args 
)
inlinestaticconstexprinherited

Member Data Documentation

◆ size

constexpr std::size_t librepr::TypeListBase< TypeList , Ts >::size
staticconstexprinherited

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