Template Class LiveCellIdxIterator¶
Defined in File LiveCellIdxIterator.hpp
Class Documentation¶
-
template<typename
Spec>
classdish2::LiveCellIdxIterator: protected emp::vector::const_iterator<dish2::Cell<Spec>>¶ Public Types
-
using
value_type= size_t¶
-
using
pointer= value_type*¶
-
using
reference= value_type&¶
-
using
iterator_category= std::forward_iterator_tag¶
-
using
difference_type= typename parent_t::difference_type¶
Public Functions
-
LiveCellIdxIterator(const LiveCellIdxIterator&) = default¶
-
const value_type
operator*()¶
-
LiveCellIdxIterator &
operator++()¶
-
LiveCellIdxIterator
operator++(int)¶
-
LiveCellIdxIterator &
operator--()¶
-
LiveCellIdxIterator
operator--(int)¶
-
bool
operator==(const LiveCellIdxIterator &other) const¶
-
bool
operator!=(const LiveCellIdxIterator &other) const¶
Public Static Functions
-
LiveCellIdxIterator
make_begin(const emp::vector<dish2::Cell<Spec>> &population)¶
-
LiveCellIdxIterator
make_end(const emp::vector<dish2::Cell<Spec>> &population)¶
-
using