Boost logo

Boost :

From: Daryle Walker (dwalker07_at_[hidden])
Date: 2002-10-21 02:18:39


On Tuesday, October 15, 2002, at 12:49 AM, Joel de Guzman wrote:

> ----- Original Message -----
> From: "Carl Daniel" <cpdaniel_at_[hidden]>
[SNIP]
>> #if defined(BOOST_MSVC) && (BOOST_MSVC <= 1300)
>> #define SPIRIT_TYPENAME
>> #else
>> #define SPIRIT_TYPENAME typename
>> #endif
>>
>> Appears in a number of files - perhaps it should be replaced with a
>> common
>> mechanism rather than repeating it in each & every file where it's
>> used.
>
> At the end of the file, there's an #undef. This localizes the
> macro to the specific file rather than make it global. It would be
> trivial to do as you suggested though. Thoughts?
[TRUNCATE]

I think that there is a Boost.Config macro that does the same thing.
Could you just use that?

Daryle


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