Re: [Spirit Development][Karma] statement [_0 = _val] is broken in trunk
Robert Nelson <[email protected]> Wed, 5 Jan 2011 18:41:34 -0700
| Newsgroups | gmane.comp.parsers.spirit.devel |
|---|---|
| Message-ID | <[email protected]> |
The problem seems to be isolated to the _0 placeholder. A simple workaround is to change [_0 = _val] to [_1 = at_c<0>(_val),_2 = at_c<1>(_val),...] It's a bit more work, especially for large tuples, but is better than having a broken rule. Just remember to include #include <boost/spirit/home/phoenix/statement/sequence.hpp> if you use the comma operator. Thanks --Robert Nelson ------------------------------------------------------------------------------ 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