Subject: Re: [boost] [range] [1.40] iterator_range::size broken for non-random access iterators
From: Ryan Gallagher (ryan.gallagher_at_[hidden])
Date: 2009-08-21 17:07:12
Eric Niebler <eric <at> boostpro.com> writes:
> BOOST_FOREACH does not call size.
> Please send code that reproduces the error.
Yeah, I just tried reproing it with std::set<int> and it doesn't,
so obviously you're right that BOOST_FOREACH isn't causing the size()
instantiation. I'll try to repro it with a real multi-index ordered index
in a couple hours and get back to you. Thanks,
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk