ant
A2 ant: class-based analysis framework
ant::ForLoopCounter< T >::iterator Struct Reference

#include <ForLoopCounter.h>

+ Inheritance diagram for ant::ForLoopCounter< T >::iterator:
+ Collaboration diagram for ant::ForLoopCounter< T >::iterator:

Public Member Functions

 iterator (const ForLoopCounter &c, T start) noexcept
 
iteratoroperator++ ()
 
bool constexpr operator== (const iterator &other) const noexcept
 
bool constexpr operator!= (const iterator &other) const noexcept
 
const constexpr T & operator* () const noexcept
 

Public Attributes

const ForLoopCountercounter
 
i
 
last
 

Constructor & Destructor Documentation

◆ iterator()

template<typename T >
ant::ForLoopCounter< T >::iterator::iterator ( const ForLoopCounter c,
start 
)
inlinenoexcept

Member Function Documentation

◆ operator!=()

template<typename T >
bool constexpr ant::ForLoopCounter< T >::iterator::operator!= ( const iterator other) const
inlinenoexcept

◆ operator*()

template<typename T >
const constexpr T& ant::ForLoopCounter< T >::iterator::operator* ( ) const
inlinenoexcept

◆ operator++()

template<typename T >
iterator& ant::ForLoopCounter< T >::iterator::operator++ ( )
inline

◆ operator==()

template<typename T >
bool constexpr ant::ForLoopCounter< T >::iterator::operator== ( const iterator other) const
inlinenoexcept

Member Data Documentation

◆ counter

template<typename T >
const ForLoopCounter& ant::ForLoopCounter< T >::iterator::counter

◆ i

template<typename T >
T ant::ForLoopCounter< T >::iterator::i

◆ last

template<typename T >
T ant::ForLoopCounter< T >::iterator::last

The documentation for this struct was generated from the following file: