Opened 13 years ago

Closed 13 years ago

#3227 closed Bugs (worksforme)

[spirit2][ascii::string] does not self assign

Reported by: cbarron413@… Owned by: Hartmut Kaiser
Milestone: Boost 1.40.0 Component: spirit
Version: Boost Development Trunk Severity: Problem
Keywords: spirit2 string Cc:

Description


Attachments (2)

output.txt​ (152 bytes ) - added by anonymous 13 years ago.
main.cpp​ (1.6 KB ) - added by anonymous 13 years ago.

Download all attachments as: .zip

Change History (3)

by anonymous, 13 years ago

Attachment: output.txt​ added

by anonymous, 13 years ago

Attachment: main.cpp​ added

comment:1 by anonymous, 13 years ago

Resolution: → worksforme
Status: new → closed

If you change line 45 of your example program to:

bool r = parse(first,in.end(),parser,result);

everything works as expected.

Note: See TracTickets for help on using tickets.