Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
iterators.h File Reference
#include <cstddef>
#include <iterator>
#include <utility>
#include "absl/log/check.h"

Go to the source code of this file.

Classes

class  util::BeginEndWrapper< Iterator >
class  util::BeginEndReverseIteratorWrapper< Container >
class  util::IntegerRangeIterator< IntegerType >
class  util::IntegerRange< IntegerType >
class  util::ChasingIterator< IndexT, sentinel, Tag >

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)