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)
template<typename RHS, typename = typename std::enable_if<std::is_arithmetic<RHS>::value, RHS>::type>
ExtrospectiveStateIndexedSwapWrapper operator+(const RHS rhs)
template<typename RHS, typename = typename std::enable_if<std::is_arithmetic<RHS>::value, RHS>::type>
ExtrospectiveStateIndexedSwapWrapper operator-(const RHS rhs)