Boost logo

Boost :

Subject: Re: [boost] boost.foreach overhead
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2010-10-18 00:03:05

OvermindDL1 wrote:

> On Sun, Oct 17, 2010 at 3:47 PM, Eric Niebler <eric_at_[hidden]> wrote:
>> On 10/17/2010 2:39 PM, Christopher Jefferson wrote:
>>> Having to step through 69 steps to go through
>>> each stage of a for loop makes debugging almost impossible.
>>> It is for precisely this reason that most projects I work on forbid
>>> BOOST_FOREACH, and a similar preprocessing madness. They just make
>>> debugging, and tracking down compile-time errors, too hard.
>> What debugger do you use? Visual Studio doesn't give me this grief.
> Ditto, but even if it did I could setup a debugging filter in it to
> ignore the extra steps in the VS debugger, can you not do that in GDB?

Suprise -- no, you cannot.

- Volodya

Boost list run by bdawes at, gregod at, cpdaniel at, john at