OR-Tools  9.6
StrongIntRange< IntType >::StrongIntRangeIterator

Detailed Description

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

Definition at line 366 of file 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)
 

Member Typedef Documentation

◆ difference_type

using difference_type = IntType

Definition at line 369 of file strong_int.h.

◆ iterator_category

using iterator_category = std::input_iterator_tag

Definition at line 372 of file strong_int.h.

◆ pointer

using pointer = const IntType*

Definition at line 371 of file strong_int.h.

◆ reference

using reference = const IntType&

Definition at line 370 of file strong_int.h.

◆ value_type

using value_type = IntType

Definition at line 368 of file strong_int.h.

Constructor & Destructor Documentation

◆ StrongIntRangeIterator()

StrongIntRangeIterator ( IntType  initial)
inlineexplicit

Definition at line 374 of file strong_int.h.

Member Function Documentation

◆ operator!=()

bool operator!= ( const StrongIntRangeIterator other) const
inline

Definition at line 375 of file strong_int.h.

◆ operator*()

value_type operator* ( ) const
inline

Definition at line 381 of file strong_int.h.

◆ operator++() [1/2]

StrongIntRangeIterator& operator++ ( )
inline

Definition at line 383 of file strong_int.h.

◆ operator++() [2/2]

StrongIntRangeIterator operator++ ( int  )
inline

Definition at line 387 of file strong_int.h.

◆ operator->()

pointer operator-> ( ) const
inline

Definition at line 382 of file strong_int.h.

◆ operator==()

bool operator== ( const StrongIntRangeIterator other) const
inline

Definition at line 378 of file strong_int.h.


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