Empirical
Public Types | Public Member Functions | List of all members
emp::ce_array< T, 1 > Class Template Reference

#include <ce_array.h>

Public Types

using size_t = std::size_t
 
using value_type = T
 

Public Member Functions

constexpr ce_array (const T &default_val)
 
constexpr ce_array (const ce_array< T, 1 > &_in)
 
constexpr void operator= (const ce_array< T, 1 > &_in)
 
constexpr size_t size () const
 
constexpr bool operator== (const ce_array< T, 1 > &_in) const
 
constexpr bool operator!= (const ce_array< T, 1 > &_in) const
 
constexpr T & operator[] (size_t id)
 
constexpr const T & operator[] (size_t id) const
 
constexpr T & back ()
 
constexpr const T & back () const
 
constexpr void fill (const T &v)
 
constexpr bool Has (const T &t) const
 
template<size_t i>
constexpr T & Get ()
 
template<size_t i>
constexpr const T & Get () const
 

Member Typedef Documentation

template<typename T >
using emp::ce_array< T, 1 >::size_t = std::size_t
template<typename T >
using emp::ce_array< T, 1 >::value_type = T

Constructor & Destructor Documentation

template<typename T >
constexpr emp::ce_array< T, 1 >::ce_array ( const T &  default_val)
inline
template<typename T >
constexpr emp::ce_array< T, 1 >::ce_array ( const ce_array< T, 1 > &  _in)
inline

Member Function Documentation

template<typename T >
constexpr T& emp::ce_array< T, 1 >::back ( )
inline
template<typename T >
constexpr const T& emp::ce_array< T, 1 >::back ( ) const
inline
template<typename T >
constexpr void emp::ce_array< T, 1 >::fill ( const T &  v)
inline
template<typename T >
template<size_t i>
constexpr T& emp::ce_array< T, 1 >::Get ( )
inline
template<typename T >
template<size_t i>
constexpr const T& emp::ce_array< T, 1 >::Get ( ) const
inline
template<typename T >
constexpr bool emp::ce_array< T, 1 >::Has ( const T &  t) const
inline
template<typename T >
constexpr bool emp::ce_array< T, 1 >::operator!= ( const ce_array< T, 1 > &  _in) const
inline
template<typename T >
constexpr void emp::ce_array< T, 1 >::operator= ( const ce_array< T, 1 > &  _in)
inline
template<typename T >
constexpr bool emp::ce_array< T, 1 >::operator== ( const ce_array< T, 1 > &  _in) const
inline
template<typename T >
constexpr T& emp::ce_array< T, 1 >::operator[] ( size_t  id)
inline
template<typename T >
constexpr const T& emp::ce_array< T, 1 >::operator[] ( size_t  id) const
inline
template<typename T >
constexpr size_t emp::ce_array< T, 1 >::size ( ) const
inline

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