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 , 12 years ago
| Component: | None → spirit |
|---|---|
| Owner: | set to |
comment:2 by , 12 years ago
comment:4 by , 11 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
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.

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/