Boost logo

Boost Users :

From: frank fu (omni123_at_[hidden])
Date: 2005-03-02 10:38:10


Thanks a lot!

On Wed, 2 Mar 2005 10:59:56 -0000, John Maddock <john_at_[hidden]> wrote:
> > boost::wregex ee(L"[E|e],(\\w+),(.+)$");
> > boost::wcmatch mr;
> > TString value=L"some char";
> > if (boost::regex_match(value, mr, ee))
> > {
> > ...
> > }
> >
> > Those code compiled with UNICODE and was ok on vc6.0. But when I
> > compile with VC71, it gives me error c2664:
>
> With VC7.1 basic_string::const_iterator is no longer a pointer type, so
> wcmatch is the wrong typedef to use: use wsmatch instead (you should have
> been using it before, it's just that your code compiled "by accident" with
> VC6).
>
> John.
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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