Re: [Spirit Development] Bug using operator >> and > in same sequence

Bryce Lelbach <[email protected]> Sat, 1 Jan 2011 18:00:04 -0500
Newsgroups gmane.comp.parsers.spirit.devel
Message-ID <20110101180004.12cf8836@Pegasus>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Taking a look at support/arguments.hpp, it looks like the tree isn't being
flattened before the placeholders are evaluated and the static index range
kicks in.

rule<vector3<int, int, int>(void)> r = int_ >> int_ > int_ compiles, which
leads me to think that this might be intentional, or possibly an oversight. It
might be a bug introduced by the new has_semantic_actions<> CP - I'll look into
that.

Joel, Hartmut, can you guys shed some light on this? Is this a bug, or is this
desired behavior?

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

iEYEARECAAYFAk0fsfQACgkQO/fqqIuE2t7Z9ACeOvuLZqvjFIx/FmJjJTSr6Hsr
amwAoJGjZXypvTU972TvkLHQ+/5+LreX
=vj3+
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl