Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <iterators.h>
Public Member Functions | |
BeginEndReverseIteratorWrapper (const Container &c) | |
Container::const_reverse_iterator | begin () const |
Container::const_reverse_iterator | end () const |
The Reverse() function allows to reverse the iteration order of a range-based for loop over a container that support STL reverse iterators. The syntax is: for (const type& t : Reverse(container_of_t)) { ... }
Definition at line 87 of file iterators.h.
|
inlineexplicit |
Definition at line 89 of file iterators.h.
|
inline |
Definition at line 90 of file iterators.h.
|
inline |
Definition at line 93 of file iterators.h.