[boost] Formal Review: The Spirit Parser Framework
by Daryle Walker other posts by this author
Oct 21 2002 7:18AM messages near this date
[PMX:#] [boost] mojo II
|
Re: [boost] Formal Review: The Spirit Parser Framework
On Tuesday, October 15, 2002, at 12:49 AM, Joel de Guzman wrote:
> ----- Original Message -----
> From: "Carl Daniel" <cpdaniel@[...].net>
[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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Daryle Walker
Martin Wille
Joel de Guzman
|