
1 Nov
2009
1 Nov
'09
10:39 a.m.
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.