Boost logo

Boost :

From: Russell Hind (rh_gmane_at_[hidden])
Date: 2005-05-03 02:22:10


Gennadiy Rozental wrote:
>
> Try to compile with all compilers we support. In some cases It just fails
> somewhere within Boost.Range headers. Also why would I need to include all
> there headers if I am not really need them.
>

I did a quick release build test using bcc32 5.6.4 and iterating over a
list<int> using a simple for loop and BOOST_FOREACH showed that
BOOST_FOREACH generates nearly twice as many instructions as using the
hand-written for loop.

Borland's optimiser isn't great, so I guess that is part of the problem.

Cheers

Russell


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk