Opened 15 years ago
Closed 13 years ago
#1651 closed Bugs (fixed)
incorrect typedefs in examples
Reported by: | anonymous | Owned by: | Hartmut Kaiser |
---|---|---|---|
Milestone: | To Be Determined | Component: | spirit |
Version: | Boost 1.34.1 | Severity: | Cosmetic |
Keywords: | spirit typedef | Cc: |
Description
http://boost.org/libs/spirit/doc/multi_pass.html
The example can't be compiled as it declares typedefs with names already declared in the library itself and point to different types:
typedef char char_t; typedef multi_pass<istreambuf_iterator<char_t> > iterator_t; typedef skip_parser_iteration_policy<space_parser> iter_policy_t; typedef scanner_policies<iter_policy_t> scanner_policies_t; typedef scanner<iterator_t, scanner_policies_t> scanner_t;
It results in very cryptic error messages with gcc3.4.6.
I'm afraid this is the case for some other Spirit doc pages.
Thanks, Maxim
Change History (3)
comment:1 by , 15 years ago
Component: | Documentation → spirit |
---|---|
Owner: | changed from | to
comment:2 by , 13 years ago
Owner: | changed from | to
---|
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [56351]) Spirit: fixed #1651