Empirical
Public Types | Public Member Functions | List of all members
emp::vector< bool, Ts... > Class Template Reference

Build a specialized debug wrapper for emp::vector<bool> More...

#include <vector.h>

Inheritance diagram for emp::vector< bool, Ts... >:

Public Types

using iterator = typename stdv_t::iterator
 
using const_iterator = typename stdv_t::const_iterator
 
using value_type = bool
 
using size_type = typename stdv_t::size_type
 
using reference = typename stdv_t::reference
 
using const_reference = typename stdv_t::const_reference
 

Public Member Functions

 vector ()
 
 vector (const this_t &_in)
 
 vector (size_t size)
 
 vector (size_t size, bool val)
 
 vector (std::initializer_list< bool > in_list)
 
 vector (const stdv_t &in)
 
template<typename InputIt >
 vector (InputIt first, InputIt last)
 
void resize (size_t new_size)
 
void resize (size_t new_size, bool val)
 
this_toperator= (const this_t &)=default
 
auto operator[] (size_t pos) -> decltype(stdv_t::operator[](pos))
 
bool operator[] (size_t pos) const
 
auto & back ()
 
bool back () const
 
auto & front ()
 
bool front () const
 
void pop_back ()
 

Detailed Description

template<typename... Ts>
class emp::vector< bool, Ts... >

Build a specialized debug wrapper for emp::vector<bool>

Member Typedef Documentation

template<typename... Ts>
using emp::vector< bool, Ts... >::const_iterator = typename stdv_t::const_iterator
template<typename... Ts>
using emp::vector< bool, Ts... >::const_reference = typename stdv_t::const_reference
template<typename... Ts>
using emp::vector< bool, Ts... >::iterator = typename stdv_t::iterator
template<typename... Ts>
using emp::vector< bool, Ts... >::reference = typename stdv_t::reference
template<typename... Ts>
using emp::vector< bool, Ts... >::size_type = typename stdv_t::size_type
template<typename... Ts>
using emp::vector< bool, Ts... >::value_type = bool

Constructor & Destructor Documentation

template<typename... Ts>
emp::vector< bool, Ts... >::vector ( )
inline
template<typename... Ts>
emp::vector< bool, Ts... >::vector ( const this_t _in)
inline
template<typename... Ts>
emp::vector< bool, Ts... >::vector ( size_t  size)
inline
template<typename... Ts>
emp::vector< bool, Ts... >::vector ( size_t  size,
bool  val 
)
inline
template<typename... Ts>
emp::vector< bool, Ts... >::vector ( std::initializer_list< bool >  in_list)
inline
template<typename... Ts>
emp::vector< bool, Ts... >::vector ( const stdv_t &  in)
inline
template<typename... Ts>
template<typename InputIt >
emp::vector< bool, Ts... >::vector ( InputIt  first,
InputIt  last 
)
inline

Member Function Documentation

template<typename... Ts>
auto& emp::vector< bool, Ts... >::back ( )
inline
template<typename... Ts>
bool emp::vector< bool, Ts... >::back ( ) const
inline
template<typename... Ts>
auto& emp::vector< bool, Ts... >::front ( )
inline
template<typename... Ts>
bool emp::vector< bool, Ts... >::front ( ) const
inline
template<typename... Ts>
this_t& emp::vector< bool, Ts... >::operator= ( const this_t )
default
template<typename... Ts>
auto emp::vector< bool, Ts... >::operator[] ( size_t  pos) -> decltype(stdv_t::operator[](pos))
inline
template<typename... Ts>
bool emp::vector< bool, Ts... >::operator[] ( size_t  pos) const
inline
template<typename... Ts>
void emp::vector< bool, Ts... >::pop_back ( )
inline
template<typename... Ts>
void emp::vector< bool, Ts... >::resize ( size_t  new_size)
inline
template<typename... Ts>
void emp::vector< bool, Ts... >::resize ( size_t  new_size,
bool  val 
)
inline

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