Boost logo

Boost Users :

Subject: Re: [Boost-users] xpressive
From: Eric Niebler (eric_at_[hidden])
Date: 2011-05-07 06:27:00


On 5/7/2011 1:56 AM, Louis Lavery wrote:
> Apart from the C4701 warning (which I can suppress for now) it seems
> happy compiling stuff like this...
>
> sregex rex = as_xpr("foo") >> _d >> "xyz";
>
> ...so long as I enable language extensions and use the pragma.

Oh, you were using /Za? This switch is useless. Even Microsoft's own
headers don't compiler with language extensions disabled. I used to work
in the MSVC group at Microsoft. Every time a customer complained about
/Za, they were told to simply stop using it.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net