2 Viper()
C++ and STL: Take Advantage of STL Algorithms by Implementing a Custom Iterator一文(http://msdn.microsoft.com/msdnmag/issues/01/04/STL/STL.asp,作者Samir Baja)
> I encoming some problems of boost::regex.Would u mind help me to >solvethem?my enviroment is windows98+visualc++(no service packe)>+stlport4.5.3 1.what 's the difference of the libs compiled by jam >and libs compile bymak file.when I compile the test file >distrubted from boost site,thecompiler always need >boost_regex_vc6_mdid.lib compiled by mak file >notlibboost_regex.lib by jam.
They use different naming conventions at the moment: the prefered way to build regex with vc6+stlport is with the makefiles as that will sort out the linking automatically. If you would rather use jam, then you need to define BOOST_REGEX_NO_LIB when linking (as well as manually adding the right lib file to the project).
> 3.I heard about that the performance of boost::regex lib is lower >than perl .And a microsoft researcher distribute a c++ regex lib >as fast as perl.Is that really?Will u improve the performance of >boost::regex in the futuer?
> Thanks a lot.I'd like look forward ur guidiance.
It's hard to say, and it depends on what you want to do. The GRETA lib is supposed to be faster at the expense of some stack-safety. Boost-regex uses POSIX matching rules, and GRETA uses Perl rules, so they're not quite doing the same thing anyway.
John Maddock