Template Class IntrospectiveStateIndexedSwapWrapper

Inheritance Relationships

Base Type

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

Class Documentation

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

Public Types

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

Public Functions

IntrospectiveStateIndexedSwapWrapper() = default
IntrospectiveStateIndexedSwapWrapper(const parent_t &in)
IntrospectiveStateIndexedSwapWrapper(const parent_t &in, const size_t idx_)
value_type operator*()
value_type *operator->()
IntrospectiveStateIndexedSwapWrapper &operator++()
IntrospectiveStateIndexedSwapWrapper operator++(int)
IntrospectiveStateIndexedSwapWrapper &operator--()
IntrospectiveStateIndexedSwapWrapper operator--(int)
template<typename RHS, typename = typename std::enable_if<std::is_arithmetic<RHS>::value, RHS>::type>
IntrospectiveStateIndexedSwapWrapper operator+(const RHS rhs)
template<typename RHS, typename = typename std::enable_if<std::is_arithmetic<RHS>::value, RHS>::type>
IntrospectiveStateIndexedSwapWrapper operator-(const RHS rhs)