Subject: [Boost-bugs] [Boost C++ Libraries] #5476: qi::list::parse incorrectly assumes value_type is default constructible
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-15 11:25:40
#5476: qi::list::parse incorrectly assumes value_type is default constructible
------------------------------+---------------------------------------------
Reporter: anonymous | Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.47.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
In my case I'm using a boost::shared_ptr<> containing maintaining a
pointer to an abstract base class, this causes the following expression to
naturally fail:
// create a local value if Attribute is not unused_type
typedef typename traits::container_value<Attribute>::type
value_type;
value_type val = value_type();
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5476> 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