Opened 6 years ago
Closed 4 years ago
#12860 closed Bugs (fixed)
Small inconsistency in documentation
| Reported by: | 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 (2)
comment:1 by , 5 years ago
comment:2 by , 4 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    

While
stringis not a problem here, the docs should be consistent.Nice catch!