Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2006-04-10 09:59:16


Felipe Magno de Almeida wrote:

> BTW, I dont like very much the RCF namespace all in caps, it seems
> like a macro. But that's just an aesthetic issue.
>
>> The BIL library uses macros too, BTW, for the same purpose that RCF uses them.
>
> Yes.
>
>> I know there's a lot of skepticism towards macros in general, but in this
>> setting, the alternative is a 3rd party code generator, or do-it-by-hand
>> boilerplate coding.
>
> Yes, I agree. I just wanted some sort of rationale about why macros
> and what other alternatives are and why they are inferior.

During the development of BIL there was discussion of a 'template based'
idl that got rid of the macros (see the BIL docs). It seemed likely
that it was doable, but I don't believe it ever made it past the
experimental stage. You might search the mail archives if you want to
know more.

Jeff


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