repr 0.1
Reconstructable string representations and more
Loading...
Searching...
No Matches
pack.h File Reference
#include <cstddef>
#include <utility>
#include <librepr/macro/util.h>
#include "pack_generated.h"
Include dependency graph for pack.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  librepr::pack::Merge< List< T1... >, List< T2... > >
 
struct  librepr::pack::Split< Idx, List< Ts... > >
 
struct  librepr::pack::detail::UnwrapValue< ValueList, TypeList< Ts... > >
 
struct  librepr::pack::detail::ReBoxImpl< From< Args... >, To >
 
struct  librepr::pack::detail::ReBoxVImpl< From< Args... >, To >
 
struct  librepr::pack::ValueWrapper< V >
 

Namespaces

namespace  librepr
 
namespace  librepr::pack
 
namespace  librepr::pack::detail
 

Typedefs

template<template< typename... > class List, auto... Vs>
using librepr::pack::wrap = List< ValueWrapper< Vs >... >
 
template<template< auto... > class List, typename T >
using librepr::pack::unwrap = typename detail::UnwrapValue< List, T >::type
 
template<typename T , template< typename... > class To>
using librepr::pack::rebox = typename detail::ReBoxImpl< T, To >::type
 
template<typename T , template< auto... > class To>
using librepr::pack::rebox_v = typename detail::ReBoxVImpl< T, To >::type
 
template<std::size_t Idx, typename T >
using librepr::pack::get = typename Split< Idx, T >::type