Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2000-09-25 07:53:28


I'm trying to suggest that you use a different enum with equivalent values
in your code. Seems pretty straightforward to me. Am I being dense?
-Dave
----- Original Message -----
From: "John Maddock" <John_Maddock_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Monday, September 25, 2000 7:24 AM
Subject: Re: [boost] regex submission

>
> >I don't see how you could get into trouble by putting the uppercase names
> in
> >boost/regex.h, but I don't have a strong position on this.
>
> One other point - I use some of those declarations internally (the error
> codes), so they have to be somewhere accessable by all the regex code.
>
> I've been trying to think of a precedent in the standard, and the only one
> I can find is the LC_XXX constants - these are required to be macros by
> both the C and C++ standards, so I guess maybe macros are the way to go -
> it just seems backward somehow, on the other hand "std::LC_ALL" looks a
> little wrong as does "boost::REG_ICASE", so maybe they should be
> globals....
>
> - John.
>
>
>
>
>


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