$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2006-02-11 23:40:13
Tobias Schwinger <tschwinger_at_[hidden]> writes:
> 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.
Client code that wants to work whether exceptions are turned on or not
also requires #ifdefs, no matter what you do with the interface to
this particular library.
-- Dave Abrahams Boost Consulting www.boost-consulting.com