abLEMON 1.9.0-101-gccb8629
A maintained fork of LEMON
Loading...
Searching...
No Matches
LemonRangeWrapper1< LIT , P > 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 P >
class lemon::LemonRangeWrapper1< LIT , P >

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

LIT is the Lemon iterator that will be wrapped P is the type of the parameter of the constructor of LIT.