Boost logo

Boost Users :

From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2008-07-10 10:52:56


Is there an utility within Boost.Range (or Range_ex) that allows making
a range of Ts from a single T?

It seems quite useful and practical.
Basically a std::make_pair(&foo, &foo+1) works but requires foo to be an
lvalue.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net