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

#include <list.h>

Inheritance diagram for librepr::ValueList< Vs >:
[legend]
Collaboration diagram for librepr::ValueList< Vs >:
[legend]

Public Types

using wrap = pack::wrap< T, Vs... >
 
using types = T< decltype(Vs)... >
 
using do_split = pack::Split< Idx, ValueList< Vs... > >
 
using split = TypeList< pack::unwrap< ValueList, typename do_split< Idx >::head >, pack::unwrap< ValueList, typename do_split< Idx >::tail > >
 
using head = typename do_split< Idx >::head
 
using tail = typename do_split< Idx >::tail
 
using append = ValueList< Vs..., V >
 
using prepend = ValueList< V, Vs... >
 
using to = T< Vs... >
 

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
 
static constexpr auto get
 

Member Typedef Documentation

◆ append

using librepr::ValueListBase< ValueList , Vs >::append = ValueList <Vs..., V>
inherited

◆ do_split

using librepr::ValueListBase< ValueList , Vs >::do_split = pack::Split<Idx, ValueList <Vs...> >
inherited

◆ head

using librepr::ValueListBase< ValueList , Vs >::head = typename do_split<Idx>::head
inherited

◆ prepend

using librepr::ValueListBase< ValueList , Vs >::prepend = ValueList <V, Vs...>
inherited

◆ split

◆ tail

using librepr::ValueListBase< ValueList , Vs >::tail = typename do_split<Idx>::tail
inherited

◆ to

using librepr::ValueListBase< ValueList , Vs >::to = T<Vs...>
inherited

◆ types

using librepr::ValueListBase< ValueList , Vs >::types = T<decltype(Vs)...>
inherited

◆ wrap

using librepr::ValueListBase< ValueList , Vs >::wrap = pack::wrap<T, Vs...>
inherited

Member Function Documentation

◆ enumerate()

static constexpr void librepr::ValueListBase< ValueList , Vs >::enumerate ( F &&  callable,
Args &&...  args 
)
inlinestaticconstexprinherited

◆ for_each()

static constexpr void librepr::ValueListBase< ValueList , Vs >::for_each ( F &&  callable,
Args &&...  args 
)
inlinestaticconstexprinherited

◆ invoke()

static constexpr decltype(auto) librepr::ValueListBase< ValueList , Vs >::invoke ( F &&  callable,
Args &&...  args 
)
inlinestaticconstexprinherited

Member Data Documentation

◆ get

constexpr auto librepr::ValueListBase< ValueList , Vs >::get
staticconstexprinherited

◆ size

constexpr std::size_t librepr::ValueListBase< ValueList , Vs >::size
staticconstexprinherited

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