Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
util::MutableVectorIteration< T > Struct Template Reference

Allow iterating over a vector<T> as a mutable vector<T*>. More...

#include <iterators.h>

Classes

struct  Iterator
 

Public Member Functions

 MutableVectorIteration (std::vector< T > *v)
 
Iterator begin ()
 
Iterator end ()
 

Detailed Description

template<class T>
struct util::MutableVectorIteration< T >

Allow iterating over a vector<T> as a mutable vector<T*>.

Definition at line 157 of file iterators.h.

Constructor & Destructor Documentation

◆ MutableVectorIteration()

template<class T >
util::MutableVectorIteration< T >::MutableVectorIteration ( std::vector< T > * v)
inlineexplicit

Definition at line 158 of file iterators.h.

Member Function Documentation

◆ begin()

template<class T >
Iterator util::MutableVectorIteration< T >::begin ( )
inline

Definition at line 171 of file iterators.h.

◆ end()

template<class T >
Iterator util::MutableVectorIteration< T >::end ( )
inline

Definition at line 172 of file iterators.h.


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