Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2005-05-03 11:37:40

"Eric Niebler" wrote:

>> Is there a compelling reason to omit the second underline?
> I don't think there's a /compelling/ reason, but here's my thought
> process:
> * This isn't an algorithm, so I don't want to evoke std::for_each.
> * It's like a new keyword, and some other languages have "foreach" as a
> keyword.
> Anyway, I'm not married to the name, and I'd gladly change it if people
> preferred to type an extra underscore. :-)
No, please.

I'd rather like to know whether I can do a
    #define FOREACH(...) BOOST_FOREACH(...)
in my code.


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