Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2234: Spirit2/Phoenix compilation error (front on iterator_range)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-29 21:23:33
#2234: Spirit2/Phoenix compilation error (front on iterator_range)
------------------------------------------------------------------------+---
Reporter: François Barel <frabar666@â¦> | Owner: djowel
Type: Bugs | Status: new
Milestone: Boost 1.37.0 | Component: spirit
Version: Boost 1.36.0 | Severity: Regression
Keywords: spirit phoenix action attribute const front iterator_range |
------------------------------------------------------------------------+---
Comment(by anonymous):
I think this has been fixed somewhere. The following compiles:
{{{
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/qi_char_.hpp>
using namespace ::boost::spirit;
using namespace ::boost::spirit::qi;
#include <boost/spirit/include/phoenix_stl.hpp>
using namespace ::boost::phoenix;
int main()
{
rule< const wchar_t* > r;
r = raw[ char_ ][ front(_1) ];
return 0;
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2234#comment:2> 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:01 UTC