Boost logo

Boost :

Subject: Re: [boost] 5 Observations - My experience with the boost libraries
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-03-29 18:26:50

Stefan Seefeld wrote:
> I strongly disagree on this. Wasn't one perceived drawback of Boost its
> use of macros ? The main reason for the use of macros seems to me to be
> to work around deficient compilers, i.e. portability.

Probably not the best place in this long thread to say this, but I don't
see what's wrong with macros.
They're a great way to generate code in ways that are impossible with
templates (and are sometimes faster as well) and can really help in
reducing code duplication. Granted, they're a bit hard to use, but
sometimes they're worth it. The fact most programmers don't know the
preprocessor is not a good reason to ban its usage.

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