Template Class ExtrospectiveStateIndexedSwapWrapper

Inheritance Relationships

Base Type

  • public emp::vector::iterator< Cardinal< Spec > >

Class Documentation

template<typename Spec>
class dish2::ExtrospectiveStateIndexedSwapWrapper : public emp::vector::iterator<Cardinal<Spec>>

Public Types

using value_type = dish2::ReadableStateIndexedSwapper<Spec>
using pointer = value_type*
using reference = value_type&

Public Functions

ExtrospectiveStateIndexedSwapWrapper() = default
ExtrospectiveStateIndexedSwapWrapper(const parent_t &in)
ExtrospectiveStateIndexedSwapWrapper(const parent_t &in, const size_t idx_)
value_type operator*()
value_type *operator->()
ExtrospectiveStateIndexedSwapWrapper &operator++()
ExtrospectiveStateIndexedSwapWrapper operator++(int)
ExtrospectiveStateIndexedSwapWrapper &operator--()
ExtrospectiveStateIndexedSwapWrapper operator--(int)
ExtrospectiveStateIndexedSwapWrapper operator+(const size_t rhs)
ExtrospectiveStateIndexedSwapWrapper operator-(const size_t rhs)