Opened 12 years ago

Closed 11 years ago

#5476 closed Bugs (invalid)

qi::list::parse incorrectly assumes value_type is default constructible

Reported by: anonymous Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc:

Description

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();

Change History (4)

comment:1 by anonymous, 12 years ago

Component: Nonespirit
Owner: set to Joel de Guzman

comment:2 by Joel de Guzman, 12 years ago

You have to provide a minimal test case that exhibits your problem as per Spirit support policy: http://boost-spirit.com/home/feedback-and-support/

comment:3 by Hartmut Kaiser, 12 years ago

Please attach a small code example demonstrating the problem.

comment:4 by Bryce Adelstein Lelbach, 11 years ago

Resolution: invalid
Status: newclosed

Marking as invalid as it's been 5 weeks and the report was anonymous, so we have no way to contact the reporter for more details.

Note: See TracTickets for help on using tickets.