CONZEPT 16 C++ API
C16::ArrayGeneric::IteratorGeneric Class Reference

Generic iterator of an array. More...

#include "C16/Array.hpp"

Inheritance diagram for C16::ArrayGeneric::IteratorGeneric:
C16::Array< Element >::Iterator C16::Array< Element >::IteratorConst C16::Array< Element >::Iterator

Detailed Description

Generic iterator of an array.

Public Types

using difference_type = std::ptrdiff_t
 Type of the difference of iterators. More...
 

Public Member Functions

bool operator== (const IteratorGeneric &other) const
 Gets if the iterator is equal to another iterator. More...
 
bool operator!= (const IteratorGeneric &other) const
 Gets if the iterator is unequal to another iterator. More...
 
bool operator<= (const IteratorGeneric &other) const
 Gets if the iterator is lower than or equal to another iterator. More...
 
bool operator>= (const IteratorGeneric &other) const
 Gets if the iterator is greater than or equal to another iterator. More...
 
bool operator< (const IteratorGeneric &other) const
 Gets if the iterator is lower than another iterator. More...
 
bool operator> (const IteratorGeneric &other) const
 Gets if the iterator is greater than another iterator. More...
 
difference_type operator- (const IteratorGeneric &other) const
 Gets the difference to another iterator. More...
 

Member Typedef Documentation

◆ difference_type

Type of the difference of iterators.

Member Function Documentation

◆ operator==()

bool C16::ArrayGeneric::IteratorGeneric::operator== ( const IteratorGeneric other) const

Gets if the iterator is equal to another iterator.

Parameters
otherAnother iterator

◆ operator!=()

bool C16::ArrayGeneric::IteratorGeneric::operator!= ( const IteratorGeneric other) const

Gets if the iterator is unequal to another iterator.

Parameters
otherAnother iterator

◆ operator<=()

bool C16::ArrayGeneric::IteratorGeneric::operator<= ( const IteratorGeneric other) const

Gets if the iterator is lower than or equal to another iterator.

Parameters
otherAnother iterator

◆ operator>=()

bool C16::ArrayGeneric::IteratorGeneric::operator>= ( const IteratorGeneric other) const

Gets if the iterator is greater than or equal to another iterator.

Parameters
otherAnother iterator

◆ operator<()

bool C16::ArrayGeneric::IteratorGeneric::operator< ( const IteratorGeneric other) const

Gets if the iterator is lower than another iterator.

Parameters
otherAnother iterator

◆ operator>()

bool C16::ArrayGeneric::IteratorGeneric::operator> ( const IteratorGeneric other) const

Gets if the iterator is greater than another iterator.

Parameters
otherAnother iterator

◆ operator-()

difference_type C16::ArrayGeneric::IteratorGeneric::operator- ( const IteratorGeneric other) const

Gets the difference to another iterator.

Parameters
otherAnother iterator