Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5455: std::vector<byte_> not assignable to std::vector<unsigned char>
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-12 12:10:18
#5455: std::vector<byte_> not assignable to std::vector<unsigned char>
-----------------------------------+----------------------------------------
Reporter: jaredgrubb@⦠| Owner: hkaiser
Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Comment (by hkaiser):
Joel is right, it just can't work the way you set it up. And there is no
way for Spirit to figure out how to convert the two vectors. But why do
you need to use semantic actions? If you were relying on Spirit's
attribute propagation it would be possible to make it work:
{{{
r2 = (*byte_) >> eps;
}}}
compiles just fine and does what you expect.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5455#comment:4> 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:06 UTC