Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
util_intops::IndexListView< ValueT, IndexT >::IndexListViewIterator Struct Reference

#include <views.h>

Inheritance diagram for util_intops::IndexListView< ValueT, IndexT >::IndexListViewIterator:
util_intops::util::IteratorCRTP< IndexListViewIterator, value_type >

Public Member Functions

 IndexListViewIterator (absl::Span< value_type > values, index_iterator iter)
bool operator!= (const IndexListViewIterator &other) const
IndexListViewIteratoroperator++ ()
decltype(auto) operator* () const
Public Member Functions inherited from util_intops::util::IteratorCRTP< IndexListViewIterator, value_type >
bool operator== (const IndexListViewIterator &other) const
pointer operator-> () const

Additional Inherited Members

Public Types inherited from util_intops::util::IteratorCRTP< IndexListViewIterator, value_type >
using iterator_category
using value_type
using difference_type
using pointer
using reference

Detailed Description

template<typename ValueT, typename IndexT>
struct util_intops::IndexListView< ValueT, IndexT >::IndexListViewIterator

Definition at line 143 of file views.h.

Constructor & Destructor Documentation

◆ IndexListViewIterator()

template<typename ValueT, typename IndexT>
util_intops::IndexListView< ValueT, IndexT >::IndexListViewIterator::IndexListViewIterator ( absl::Span< value_type > values,
index_iterator iter )
inline

Definition at line 145 of file views.h.

Member Function Documentation

◆ operator!=()

template<typename ValueT, typename IndexT>
bool util_intops::IndexListView< ValueT, IndexT >::IndexListViewIterator::operator!= ( const IndexListViewIterator & other) const
inline

Definition at line 147 of file views.h.

◆ operator*()

template<typename ValueT, typename IndexT>
decltype(auto) util_intops::IndexListView< ValueT, IndexT >::IndexListViewIterator::operator* ( ) const
inline

Definition at line 155 of file views.h.

◆ operator++()

template<typename ValueT, typename IndexT>
IndexListViewIterator & util_intops::IndexListView< ValueT, IndexT >::IndexListViewIterator::operator++ ( )
inline

Definition at line 151 of file views.h.


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