KrisLibrary  1.0.0
Functions
iteratorutils.h File Reference

Provides basic utilities to increment/decrement an iterator by a certain amount, 2D range iterators, etc. More...

Go to the source code of this file.

Functions

template<class T >
increment (const T &a, int n=1)
 
template<class T >
decrement (const T &a, int n=1)
 
template<class T >
int iterator_diff (const T &a, const T &b)
 

Detailed Description

Provides basic utilities to increment/decrement an iterator by a certain amount, 2D range iterators, etc.