Boost logo

Boost Users :

From: John Maddock (john_maddock_at_[hidden])
Date: 2003-05-08 05:28:37


> Anyone have any suggestions? I am well out of my depth in trying to
> understand the incantations here, and have a dozen spots in the code where
> this occurs.
> TIA,

You are using the wrong match_results type: when searching std::string's you
need to use match_results<std::string::const_iterator> which is the same as
the typedef boost::smatch, note that the typedef boost::cmatch is really
match_results<const char*> which is not the same thing in VC7.

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