Boost logo

Boost :

Subject: Re: [boost] Support for Cell processor
From: Beman Dawes (bdawes_at_[hidden])
Date: 2008-10-15 14:29:55


On Wed, Oct 15, 2008 at 11:11 AM, Michael Marcin <mike.marcin_at_[hidden]>wrote:

> Beman Dawes wrote:
>
>> On Wed, Oct 15, 2008 at 4:13 AM, Peter Bindels <dascandy_at_[hidden]>
>> wrote:
>>
>> Given that the logging is optional (and probably pointless on an
>>> embedded system) #ifdeffing out the iostream header seems right.
>>>
>>
>>
>> What macro?
>>
>> It seems to me there are really two cases:
>>
>> * Logging is desired. Perhaps BOOST_ALL_LOG and BOOST_libname_LOG (where
>> libname is FILESYSTEM or whatever.
>>
>>
> Being as how there are several proposed boost logging libraries I don't
> think this name is appropriate. BOOST_DISABLE_IOSTREAM or something similar
> would be more appropriate, wouldn't it?

That was the second case, which you didn't quote. But BOOST_DISABLE_IOSTREAM
only deals with the case where <iostream> is present by default. There needs
to be a way to enable logging or other <iostream> related activities that
are off by default.

--Beman


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