Re: [Boost-bugs] [Boost C++ Libraries] #3163: Regex use - compile error

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3163: Regex use - compile error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-10 08:31:57


#3163: Regex use - compile error
----------------------------------+-----------------------------------------
  Reporter: scippio_at_[hidden] | Owner: johnmaddock
      Type: Bugs | Status: closed
 Milestone: Boost 1.40.0 | Component: regex
   Version: Boost 1.39.0 | Severity: Problem
Resolution: invalid | Keywords: regex,compile
----------------------------------+-----------------------------------------
Changes (by anonymous):

  * status: new => closed
  * resolution: => invalid

Comment:

 Steven was almost correct: you're using cmatch which is a typedef for
 match_results<const char*>, but then passing string iterators to the
 function. Use the typedef boost::smatch with string iterators.

 HTH, John.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3163#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC