Empirical
Classes | Typedefs | Functions | Variables
emp::internal Namespace Reference

Classes

struct  AdaptTemplateHelper
 
struct  AdaptTemplateHelper< T< V... >, U... >
 
class  AdaptTemplateHelper_Arg1
 
class  AdaptTemplateHelper_Arg1< T< X, V... >, U >
 
struct  EMP_eval_type
 
struct  EMP_eval_type< T, true >
 
struct  ImageInfo
 Detailed information about an image. More...
 
class  ImageManager
 
struct  ip_concat
 
struct  ip_concat< IntPack< T1s... >, IntPack< T2s... > >
 
struct  ip_loop
 
struct  ip_loop< IntPack<>, T_OUT, false, VERSION >
 
struct  ip_loop< T_IN, T_OUT, true, VERSION >
 
struct  ip_push_if_not
 
struct  ip_push_if_not< V, V, T >
 
struct  ip_range
 
struct  ip_range< true, START, END, STEP, VALS... >
 
struct  ip_reverse
 
struct  ip_reverse< IntPack< V1, Vs... > >
 
struct  ip_reverse< IntPack<> >
 
struct  ip_sort
 
struct  ip_sort< IntPack< V1, Vs... > >
 
struct  ip_sort< IntPack<> >
 
struct  ip_sort_impl
 
struct  ip_sort_impl< IntPack<>, T_OUT >
 
struct  ip_uniq
 
struct  ip_uniq< IntPack< V1, Vs... > >
 
struct  ip_uniq< IntPack<> >
 
struct  pack_id_impl
 
struct  pack_id_impl< 0, T, Ts... >
 
struct  SignalControl_Base
 
struct  SignalManager_Base
 
struct  SubsetCall_impl
 
struct  tcall_impl
 
struct  test_type_e_impl
 
struct  test_type_e_impl< TEST, T, 0 >
 
struct  test_type_v_impl
 
struct  test_type_v_impl< RESULT, 0 >
 
struct  update_impl
 
struct  update_impl< container_t * >
 
struct  update_impl< Ptr< container_t > >
 

Typedefs

template<typename T >
using value_member = decltype(T::value)
 

Functions

static constexpr size_t Log2 (size_t x)
 An anonymous log2 calculator for hashing below. More...
 
template<typename TEST_T >
constexpr int get_type_index_impl ()
 
template<typename TEST_T , typename T1 , typename... Ts>
constexpr int get_type_index_impl ()
 
template<template< typename... > class FILTER, typename T >
constexpr bool tt_exist_impl (bool_decoy< FILTER< T >> x)
 
template<template< typename... > class FILTER, typename T >
constexpr bool tt_exist_impl (...)
 
template<typename T >
auto Hash_impl (const T &x, bool) -> decltype(x.GetHash())
 
template<typename T >
auto Hash_impl (const T &x, int) -> decltype(std::hash< T >()(x))
 
template<typename T >
std::size_t Hash_impl (const T &x,...)
 
static constexpr double Log2_base (double x)
 
static constexpr double Log2_frac (double x)
 
static constexpr double Log2_pos (double x)
 
static constexpr double Pow2_lt1 (double exp, int id=0)
 
static constexpr double Pow2_impl (double exp)
 
static std::map< std::string, int > & TrackMem_GetMap ()
 
static std::string TrackMem_Status ()
 
static void TrackMem_Inc (const std::string &class_name)
 
static void TrackMem_Dec (const std::string &class_name)
 
static int TrackMem_Count (const std::string &class_name)
 
static void _from_string (std::stringstream &)
 
template<typename T , typename... Ts>
void _from_string (std::stringstream &ss, T &arg1, Ts...extra_args)
 

Variables

static bool ptr_debug = false
 

Typedef Documentation

template<typename T >
using emp::internal::value_member = typedef decltype(T::value)

Function Documentation

static void emp::internal::_from_string ( std::stringstream &  )
inlinestatic
template<typename T , typename... Ts>
void emp::internal::_from_string ( std::stringstream &  ss,
T &  arg1,
Ts...  extra_args 
)
template<typename TEST_T >
constexpr int emp::internal::get_type_index_impl ( )
template<typename TEST_T , typename T1 , typename... Ts>
constexpr int emp::internal::get_type_index_impl ( )
template<typename T >
auto emp::internal::Hash_impl ( const T &  x,
bool   
) -> decltype(x.GetHash())
template<typename T >
auto emp::internal::Hash_impl ( const T &  x,
int   
) -> decltype(std::hash<T>()(x))
template<typename T >
std::size_t emp::internal::Hash_impl ( const T &  x,
  ... 
)
static constexpr size_t emp::internal::Log2 ( size_t  x)
static

An anonymous log2 calculator for hashing below.

static constexpr double emp::internal::Log2_base ( double  x)
static
static constexpr double emp::internal::Log2_frac ( double  x)
static
static constexpr double emp::internal::Log2_pos ( double  x)
static
static constexpr double emp::internal::Pow2_impl ( double  exp)
static
static constexpr double emp::internal::Pow2_lt1 ( double  exp,
int  id = 0 
)
static
static int emp::internal::TrackMem_Count ( const std::string &  class_name)
static
static void emp::internal::TrackMem_Dec ( const std::string &  class_name)
static
static std::map<std::string,int>& emp::internal::TrackMem_GetMap ( )
static
static void emp::internal::TrackMem_Inc ( const std::string &  class_name)
static
static std::string emp::internal::TrackMem_Status ( )
static
template<template< typename... > class FILTER, typename T >
constexpr bool emp::internal::tt_exist_impl ( bool_decoy< FILTER< T >>  x)
template<template< typename... > class FILTER, typename T >
constexpr bool emp::internal::tt_exist_impl (   ...)

Variable Documentation

bool emp::internal::ptr_debug = false
static