[regex] Using Boost.Regex rather than std::regex with VC++

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

On Sat, Oct 31, 2009 at 2:02 PM, Ahmed Charles
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
Thanks in advance.
This may not be an answer you want, I do not know the regex library, but maybe Boost.Xpressive still uses the normal Boost-side code since it uses regex, at the very least the static version does.

AMDG Ahmed Charles 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
This does give you the boost version. In Christ, Steven Watanabe

Maybe through ADL it doesn't in his code? Ahmed, can you give us a
small snippet example of where you call a regex function and the one
you didnt expect is called?
Dee
On Sun, Nov 1, 2009 at 9:00 AM, Steven Watanabe
AMDG
Ahmed Charles 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
This does give you the boost version.
In Christ, Steven Watanabe
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

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 *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.

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
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 *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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Ahmed Charles http://www.ahmedcharles.com
participants (5)
-
Ahmed Charles
-
Diederick C. Niehorster
-
John Maddock
-
OvermindDL1
-
Steven Watanabe