Boost logo

Proto :

Subject: [proto] [Spirit] Bug in today's boost_trunk -- ambiguous operator >
From: Bryce Lelbach (admin_at_[hidden])
Date: 2010-12-23 20:32:24


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anyone have any thoughts on what this might be? The ambiguity seems to be in
proto?

Begin forwarded message:

This works fine for me when a and b are not const. The bug seems to be in
proto, not Spirit.

[snip]

On Thu, 23 Dec 2010 17:51:49 -0700
Robert Nelson <boardmaster357_at_[hidden]> wrote:

> [snip]
>
> The following code does not compile as of today, but should compile on
> version 67416.
>
> #include <boost/fusion/tuple.hpp> //including this file caused ambiguity errors
> #include <boost/spirit/include/qi.hpp>
> #include <string>
>
> int main()
> {
> static const boost::spirit::qi::rule<std::string::const_iterator> a;
> static const boost::spirit::qi::rule<std::string::const_iterator> b;
> boost::spirit::qi::rule<std::string::const_iterator> rule = a > b;
> }

- --
Bryce Lelbach aka wash
boost-spirit.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAk0T+CgACgkQO/fqqIuE2t6YWACgoypx6WHoQqEokz8uwNq9ujZt
PfEAn0/MLL6Gc/D+p80Qnu2Pijl4iVT+
=nadC
-----END PGP SIGNATURE-----


Proto list run by eric at boostpro.com