Opened 21 months ago

Last modified 11 months ago

#12860 new Bugs

Small inconsistency in documentation

Reported by: alex@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost 1.63.0 Severity: Cosmetic
Keywords: tutorial documentation Cc:

Description

The sample on page

http://www.boost.org/doc/libs/1_63_0/libs/spirit/doc/html/spirit/qi/tutorials/mini_xml___asts_.html

contains:

"end_tag = "</" >> string(_r1) >> '>' "

While explaination below repeats that as

"end_tag = "</" >> lit(_r1) >> '>'; "

and further explains "Check out how we used lit here, ...".

Regards, Alex

Change History (1)

comment:1 Changed 11 months ago by Nikita Kniazev <nok.raven@…>

While string is not a problem here, the docs should be consistent.

Nice catch!

Note: See TracTickets for help on using tickets.