abLEMON 1.9.0-101-gccb8629
A maintained fork of LEMON
Loading...
Searching...
No Matches
LemonRangeWrapper2< LIT , P1 , P2 > Class Template Reference

A generic wrapper for Lemon iterators for range-based for loops. More...

#include <lemon/bits/stl_iterators.h>

Detailed Description

template< class LIT , class P1 , class P2 >
class lemon::LemonRangeWrapper2< LIT , P1 , P2 >

This template can be used to create a class that has begin() and end() from a Lemon iterator (with a 2-parameter constructor) to make range-based for loops and STL algorithms work.

LIT is the Lemon iterator that will be wrapped P1 and P2 are the types of the parameters of the constructor of LIT.