Opened 8 years ago

Closed 5 years ago

#10752 closed Bugs (fixed)

Fusion limit is not mentioned in Spirit documentation

Reported by: lars.rohwedder@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost 1.56.0 Severity: Problem
Keywords: Cc:

Description

In #10746 I revealed a limit in boost::fusion that is not mentioned in the documentation of boost::spirit.

The documentation of boost::spirit should mention such limits (and perhaps also offer workarounds in its example code)

And – because my example code in #10746 also considered as "bad style" due to the use of semantic actions in the parser – it would be very nice if there is either a parser for uuids (and other boost data types) in boost::spirit or at least an example that shows how to write such parsers in a better style.

Change History (2)

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

The downside of putting it on the docs -- most of users don't read them and just googles the error message. I added a static assert to Fusion https://github.com/boostorg/fusion/pull/168 as I think it is a better way to deal with the problem.

comment:2 by Joel de Guzman, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.