Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2006-02-11 20:05:12


David Abrahams wrote:
> Tobias Schwinger <tschwinger_at_[hidden]> writes:
>
>
>>Still, your "#ifdef suggestion" seems much worse to me -- it might
>>have been just provocative rhetoric rather than a serious proposal, I
>>guess...
>
>
> No, it was serious. But if you don't like #ifdefs there are two other
> proposals on the table that address the problem without using them.
>

I have nothing against #ifdefs in general and it has nothing to do with personal taste:
 
#ifdeffing (what a wonderful neologism) an interface means: client code that wants to work regardless of whether the macro is defined or not requires #ifdefs as well.

Further it seems to me a very bad idea to have the interface that's inside a compiled library file depend on other aspects than the what's mangled into the filename (as you most certainly can imagine things can especially get ugly with shared libraries).

Regards,

Tobias


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