|
Boost : |
From: Daryle Walker (darylew_at_[hidden])
Date: 2001-07-26 14:10:55
It's weird how something you think is minor blows up to something major....
If you have problems with conveniently using an entire container with an
algorithm, what about:
#define BOOST_RANGE(x) (x).begin(),(x).end()
This way you don't have to worry about making a new range type, figuring all
the overloads, or any qualification issues. You do have to make sure "x" is
not an expression that updates itself (e.g. "my_object++").
-- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT mac DOT com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk