Template Class GlobalAnchorIterator

Inheritance Relationships

Base Type

  • protected std::vector::const_iterator< sgpl::Instruction< Spec > >

Class Documentation

template<typename Spec>
class sgpl::GlobalAnchorIterator : protected std::vector::const_iterator<sgpl::Instruction<Spec>>

Public Types

using value_type = inst_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

const value_type &operator*()
const value_type *operator->()
parent_t begin() const
parent_t end() const
GlobalAnchorIterator &operator++()
GlobalAnchorIterator operator++(int)
bool operator==(const GlobalAnchorIterator &other) const
bool operator!=(const GlobalAnchorIterator &other) const
size_t CalcDistance(const parent_t &from) const

Public Static Functions

GlobalAnchorIterator make_begin(const container_t &container)
GlobalAnchorIterator make_end(const container_t &container)