Subject: [Boost-bugs] [Boost C++ Libraries] #1651: incorrect typedefs in examples
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-02-22 08:36:26
#1651: incorrect typedefs in examples
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: matias
Type: Bugs | Status: new
Milestone: To Be Determined | Component: Documentation
Version: Boost 1.34.1 | Severity: Cosmetic
Keywords: spirit typedef |
------------------------------+---------------------------------------------
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
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1651>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC