Opened 10 years ago

Last modified 5 years ago

#8013 new Bugs

Fusion sequence attribute compatibility

Reported by: K-ballo <kaballo86@…> Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost 1.53.0 Severity: Problem
Keywords: Cc:

Description

From Spirit point of view, two fusion sequences are compatible if one of them is a prefix of the other. This is unintentional.

Attachments (1)

attr_compat.cpp (1.0 KB ) - added by K-ballo <kaballo86@…> 10 years ago.
Small sample reproducing the issue

Download all attachments as: .zip

Change History (2)

by K-ballo <kaballo86@…>, 10 years ago

Attachment: attr_compat.cpp added

Small sample reproducing the issue

comment:1 by Nikita Kniazev <nok.raven@…>, 5 years ago

qi is happy with boost::fusion::vector< int, char, float, double > too (x3 fails on static assert with a clean message). I think it should be fixed even though it could break some users code.

Note: See TracTickets for help on using tickets.