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

#include <IntPack.h>

Public Types

using this_t = IntPack<>
 
template<int V>
using push = IntPack< V >
 
template<int V>
using push_back = IntPack< V >
 
template<int V, int X>
using push_if_not = typename internal::ip_push_if_not< V, X, IntPack<>>::result
 
template<int V, int X>
using push_back_if_not = typename internal::ip_push_if_not< V, X, IntPack<>>::back
 
template<int V>
using pop_val = IntPack<>
 
template<int V>
using remove = IntPack<>
 
template<typename T >
using append = T
 

Static Public Member Functions

static constexpr bool Has (int)
 
static constexpr int Count (int)
 
static constexpr int GetID (int V)
 
static constexpr int GetSize ()
 
static constexpr bool IsEmpty ()
 
static constexpr bool IsUnique ()
 
static constexpr int Sum ()
 
static constexpr int Product ()
 
static constexpr int Min (int cap)
 
static constexpr int Max (int floor)
 
static void PrintInts (std::ostream &os=std::cout)
 

Static Public Attributes

static constexpr int SIZE = 0
 

Member Typedef Documentation

template<typename T >
using emp::IntPack<>::append = T
template<int V>
using emp::IntPack<>::pop_val = IntPack<>
template<int V>
using emp::IntPack<>::push = IntPack<V>
template<int V>
using emp::IntPack<>::push_back = IntPack<V>
template<int V, int X>
using emp::IntPack<>::push_back_if_not = typename internal::ip_push_if_not<V,X,IntPack<>>::back
template<int V, int X>
using emp::IntPack<>::push_if_not = typename internal::ip_push_if_not<V,X,IntPack<>>::result
template<int V>
using emp::IntPack<>::remove = IntPack<>
using emp::IntPack<>::this_t = IntPack<>

Member Function Documentation

static constexpr int emp::IntPack<>::Count ( int  )
inlinestatic
static constexpr int emp::IntPack<>::GetID ( int  V)
inlinestatic
static constexpr int emp::IntPack<>::GetSize ( )
inlinestatic
static constexpr bool emp::IntPack<>::Has ( int  )
inlinestatic
static constexpr bool emp::IntPack<>::IsEmpty ( )
inlinestatic
static constexpr bool emp::IntPack<>::IsUnique ( )
inlinestatic
static constexpr int emp::IntPack<>::Max ( int  floor)
inlinestatic
static constexpr int emp::IntPack<>::Min ( int  cap)
inlinestatic
static void emp::IntPack<>::PrintInts ( std::ostream &  os = std::cout)
inlinestatic
static constexpr int emp::IntPack<>::Product ( )
inlinestatic
static constexpr int emp::IntPack<>::Sum ( )
inlinestatic

Member Data Documentation

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

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