|
Boost Users : |
Subject: Re: [Boost-users] [regex] Using Boost.Regex rather than std::regex withVC++
From: John Maddock (john_at_[hidden])
Date: 2009-11-01 05:39:58
> 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 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