Empirical
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
emp::TypePack<> Struct Template Reference

#include <TypePack.h>

Public Types

using this_t = TypePack<>
 
using first_t = null_t
 
using last_t = null_t
 
template<typename... T>
using push_front = TypePack< T... >
 
template<typename... T>
using push_back = TypePack< T... >
 
template<typename... T>
using add = TypePack< T... >
 
template<int N>
using popN = this_t
 
template<int N>
using shrink = this_t
 
template<typename T , int N = 1>
using pad = typename tp_pad< this_t, T, N >::type
 
template<int N, typename DEFAULT = null_t>
using resize = pad< DEFAULT, N >
 
template<typename IN >
using merge = IN
 
using reverse = this_t
 
using rotate = this_t
 
template<typename RETURN_T >
using to_function_t) = RETURN_T(
 
template<template< typename... > class TEMPLATE>
using apply = TEMPLATE<>
 
template<template< typename... > class FILTER>
using filter = this_t
 
template<template< typename... > class FILTER>
using find_t = null_t
 
template<template< typename... > class WRAPPER>
using wrap = this_t
 

Static Public Member Functions

template<typename T >
static constexpr bool Has ()
 
template<typename T >
static constexpr size_t Count ()
 
static constexpr int GetSize ()
 
static constexpr bool IsEmpty ()
 
static constexpr bool IsUnique ()
 

Static Public Attributes

static constexpr int SIZE = 0
 

Member Typedef Documentation

template<typename... T>
using emp::TypePack<>::add = TypePack<T...>
template<template< typename... > class TEMPLATE>
using emp::TypePack<>::apply = TEMPLATE<>
template<template< typename... > class FILTER>
using emp::TypePack<>::filter = this_t
template<template< typename... > class FILTER>
using emp::TypePack<>::find_t = null_t
template<typename IN >
using emp::TypePack<>::merge = IN
template<typename T , int N = 1>
using emp::TypePack<>::pad = typename tp_pad<this_t,T,N>::type
template<int N>
using emp::TypePack<>::popN = this_t
template<typename... T>
using emp::TypePack<>::push_back = TypePack<T...>
template<typename... T>
using emp::TypePack<>::push_front = TypePack<T...>
template<int N, typename DEFAULT = null_t>
using emp::TypePack<>::resize = pad<DEFAULT,N>
template<int N>
using emp::TypePack<>::shrink = this_t
template<typename RETURN_T >
using emp::TypePack<>::to_function_t = RETURN_T(
template<template< typename... > class WRAPPER>
using emp::TypePack<>::wrap = this_t

Member Function Documentation

template<typename T >
static constexpr size_t emp::TypePack<>::Count ( )
inlinestatic
static constexpr int emp::TypePack<>::GetSize ( )
inlinestatic
template<typename T >
static constexpr bool emp::TypePack<>::Has ( )
inlinestatic
static constexpr bool emp::TypePack<>::IsEmpty ( )
inlinestatic
static constexpr bool emp::TypePack<>::IsUnique ( )
inlinestatic

Member Data Documentation

constexpr int emp::TypePack<>::SIZE = 0
static

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