|
Boost Users : |
Subject: Re: [Boost-users] [regex] Using Boost.Regex rather than std::regex withVC++
From: Ahmed Charles (ahmedcharles_at_[hidden])
Date: 2009-11-01 12:49:03
Sorry, I must've messed it up somehow. Now I'm getting the boost version.
Thanks.
On Sun, Nov 1, 2009 at 3:39 AM, John Maddock <john_at_[hidden]> wrote:
> I'm using VC2010, which provides an implementation of
>> std::regex/std::tr1::regex and boost gladly uses this implementation
>> rather
>> than it's own. I'd like to turn this off, so that I get the boost version
>> when including:
>>
>> #include <boost/regex.hpp>
>>
>
> boost/regex.hpp *always* provides the Boost version (in namespace boost::).
>
> boost/tr1/regex.hpp provides the std:: version if it's available, otherwise
> falls back to the boost version (in namespace std::tr1::).
>
> HTH, John.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
-- Ahmed Charles http://www.ahmedcharles.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