Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2006-06-14 15:24:39

On Wed, 14 Jun 2006 14:10:21 -0500, Rene Rivera
<grafik.list_at_[hidden]> wrote:

>Gennaro Prota wrote:
>> [...]
>> Considering, for instance, Comeau with _MSC_VER defined, you mean user
>> code would need to do:
>> (defined _MSC_VER && _MSC_VER == ...)
>> ? That seems acceptable to me.
>Close... The second use would also use the standard macros. Hence:

That's why I asked :) It was my understanding that *either*
BOOST_CXX_COMO is defined *or* BOOST_CXX_MSVC, so one couldn't do that
(BOOST_CXX_MSVC being only defined for the "true" VC++).

>In one of the previous discussions Dave mentioned that optimizing the
>BOOST_WORKAROUND macro to be more terse. For example:
>Or something like that :-) But that would be work to do after the core
>config changes are done.

Nice :) I'm inclined to go directly for that (actually the commas
could be eliminated as well, but that would require some preprocessing
magic which we already preferred not to have when deciding the first
implementation of BOOST_WORKAROUND(); see, for instance



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