Boost logo

Boost :

From: ozawa_at_[hidden]
Date: 2001-08-21 06:22:08


Hello.
I wrote the following code and tried to compile it using VC6SP5 on
Windows 2000, but it failed.

  boost::reg_expression<char, boost::c_regex_traits<char> > regex("aaa");
  boost::cmatch results;
  boost::regex_match("bbb", results, regex); // here the error occurred

Error message is:
error C2665: 'regex_match' : none of the 8 overloads can convert
parameter 1 from type 'unsigned short [4]'

And the same error occur with "boost::cpp_regex_traits".
How can I use "boost::c_regex_traits" or "boost::cpp_regex_traits" ?

takuma


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk