Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
util_intops::StrongIntRange< IntType >::StrongIntRangeIterator Class Reference

Iterator over the indices. More...

#include <strong_int.h>

Public Types

using value_type = IntType
 
using difference_type = IntType
 
using reference = const IntType&
 
using pointer = const IntType*
 
using iterator_category = std::input_iterator_tag
 

Public Member Functions

 StrongIntRangeIterator (IntType initial)
 
bool operator!= (const StrongIntRangeIterator &other) const
 
bool operator== (const StrongIntRangeIterator &other) const
 
value_type operator* () const
 
pointer operator-> () const
 
StrongIntRangeIteratoroperator++ ()
 
StrongIntRangeIterator operator++ (int)
 

Detailed Description

template<typename IntType>
class util_intops::StrongIntRange< IntType >::StrongIntRangeIterator

Iterator over the indices.

Definition at line 394 of file strong_int.h.

Member Typedef Documentation

◆ difference_type

template<typename IntType >
using util_intops::StrongIntRange< IntType >::StrongIntRangeIterator::difference_type = IntType

Definition at line 397 of file strong_int.h.

◆ iterator_category

template<typename IntType >
using util_intops::StrongIntRange< IntType >::StrongIntRangeIterator::iterator_category = std::input_iterator_tag

Definition at line 400 of file strong_int.h.

◆ pointer

template<typename IntType >
using util_intops::StrongIntRange< IntType >::StrongIntRangeIterator::pointer = const IntType*

Definition at line 399 of file strong_int.h.

◆ reference

template<typename IntType >
using util_intops::StrongIntRange< IntType >::StrongIntRangeIterator::reference = const IntType&

Definition at line 398 of file strong_int.h.

◆ value_type

template<typename IntType >
using util_intops::StrongIntRange< IntType >::StrongIntRangeIterator::value_type = IntType

Definition at line 396 of file strong_int.h.

Constructor & Destructor Documentation

◆ StrongIntRangeIterator()

template<typename IntType >
util_intops::StrongIntRange< IntType >::StrongIntRangeIterator::StrongIntRangeIterator ( IntType initial)
inlineexplicit

Definition at line 402 of file strong_int.h.

Member Function Documentation

◆ operator!=()

template<typename IntType >
bool util_intops::StrongIntRange< IntType >::StrongIntRangeIterator::operator!= ( const StrongIntRangeIterator & other) const
inline

Definition at line 403 of file strong_int.h.

◆ operator*()

template<typename IntType >
value_type util_intops::StrongIntRange< IntType >::StrongIntRangeIterator::operator* ( ) const
inline

Definition at line 409 of file strong_int.h.

◆ operator++() [1/2]

template<typename IntType >
StrongIntRangeIterator & util_intops::StrongIntRange< IntType >::StrongIntRangeIterator::operator++ ( )
inline

Definition at line 411 of file strong_int.h.

◆ operator++() [2/2]

template<typename IntType >
StrongIntRangeIterator util_intops::StrongIntRange< IntType >::StrongIntRangeIterator::operator++ ( int )
inline

Definition at line 415 of file strong_int.h.

◆ operator->()

template<typename IntType >
pointer util_intops::StrongIntRange< IntType >::StrongIntRangeIterator::operator-> ( ) const
inline

Definition at line 410 of file strong_int.h.

◆ operator==()

template<typename IntType >
bool util_intops::StrongIntRange< IntType >::StrongIntRangeIterator::operator== ( const StrongIntRangeIterator & other) const
inline

Definition at line 406 of file strong_int.h.


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