Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
iterators.h File Reference
#include <iterator>
#include <vector>

Go to the source code of this file.

Classes

class  util::BeginEndWrapper< Iterator >
 
class  util::BeginEndReverseIteratorWrapper< Container >
 
class  util::IntegerRangeIterator< IntegerType >
 Simple iterator on an integer range, see IntegerRange below. More...
 
class  util::IntegerRange< IntegerType >
 
struct  util::MutableVectorIteration< T >
 Allow iterating over a vector<T> as a mutable vector<T*>. More...
 
struct  util::MutableVectorIteration< T >::Iterator
 

Namespaces

namespace  util
 A collections of i/o utilities for the Graph classes in ./graph.h.
 

Functions

template<typename Iterator >
BeginEndWrapper< Iterator > util::BeginEndRange (Iterator begin, Iterator end)
 
template<typename Iterator >
BeginEndWrapper< Iterator > util::BeginEndRange (std::pair< Iterator, Iterator > begin_end)
 
template<typename MultiMap >
BeginEndWrapper< typename MultiMap::iterator > util::EqualRange (MultiMap &multi_map, const typename MultiMap::key_type &key)
 
template<typename MultiMap >
BeginEndWrapper< typename MultiMap::const_iterator > util::EqualRange (const MultiMap &multi_map, const typename MultiMap::key_type &key)
 
template<typename Container >
BeginEndReverseIteratorWrapper< Container > util::Reverse (const Container &c)