Boost logo

Boost :

From: Mat Marcus (mmarcus_at_[hidden])
Date: 2001-12-04 11:06:34


It works on CW 7.0 Mac.

  - Mat

At 1:18 PM +0200 12/4/01, Vesa Karvonen wrote:
>Thanks!
>
>Any results on the Mac CW? What about other versions?
>
>If the workaround works on all CW versions (I'd assume that they use
>the same preprocessor code on every compiler), I'll commit this
>change to the tuple header:
>
>diff -r1.2 tuple.hpp
>49c49,55
>< #define BOOST_PREPROCESSOR_TUPLE_ELEM_DELAY(N,I,T)
>BOOST_PREPROCESSOR_IDENTITY(BOOST_PREPROCESSOR_TUPLE##N##_ELEM##I
>T)()
>---
>> #if defined(__MWERKS__) && __MWERKS__ <= 0x2405
>> // This is a workaround for a CodeWarrior preprocessor bug.
>>Strictly speaking
>> // this workaround invokes undefined behavior, but it works as desired.
>> # define BOOST_PREPROCESSOR_TUPLE_ELEM_DELAY(N,I,T)
>>BOOST_PREPROCESSOR_TUPLE##N##_ELEM##I##T
>> #else
>> # define BOOST_PREPROCESSOR_TUPLE_ELEM_DELAY(N,I,T)
>>BOOST_PREPROCESSOR_IDENTITY(BOOST_PREPROCESSOR_TUPLE##N##_ELEM##I
>>T)()
> > #endif
>

-- 

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