Re: [Boost-bugs] [Boost C++ Libraries] #8208: param of xpressive::sregex_iterator compiler error in VS2012

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8208: param of xpressive::sregex_iterator compiler error in VS2012
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-06 16:25:15


#8208: param of xpressive::sregex_iterator compiler error in VS2012
-----------------------------------+----------------------------------------
  Reporter: wanhihihlo@… | Owner: eric_niebler
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: xpressive
   Version: Boost 1.53.0 | Severity: Problem
Resolution: worksforme | Keywords:
-----------------------------------+----------------------------------------
Changes (by eric_niebler):

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

Comment:

 I copied the code exactly as it is from that example, pasted it into a
 brand new VS2012 project, hit compile, and it worked. For reference, the
 code is here:

 {{{
 #include <iostream>
 #include <boost/xpressive/xpressive.hpp>

 using namespace boost::xpressive;

 int main()
 {
     std::wstring str( L"This is his face." );

     // find a whole word
     wsregex token = +alnum;

     wsregex_iterator cur( str.begin(), str.end(), token );
     wsregex_iterator end;

     for( ; cur != end; ++cur )
     {
         wsmatch const &what = *cur;
         std::wcout << what[0] << L'\n';
     }

     return 0;
 }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8208#comment:1>
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:12 UTC