Boost logo

Boost Users :

From: TAKAHASHI Daisuke (daisuke_at_[hidden])
Date: 2005-03-01 22:21:26


Please try to use "wsmatch" instead of "wcmatch."
It will work well.

But I don't know why such a error occurs...

frank fu <omni123_at_[hidden]> wrote:
> I am trying to move my code from vc6.0 to vc71. Here is the part of
> code using boost regex:
>
> 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:

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
   TAKAHASHI Daisuke
                        d_takahashi_at_[hidden]
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-


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