Boost C++ Libraries: Ticket #6402: boost::spirit::lazy( *X ) does not have same semantics as *X https://svn.boost.org/trac10/ticket/6402 <p> I use a very dynamic parser where I need to inherit &amp; parse attributes using the Nabialek trick. As the Nabialek trick sadly seems to require pointer to rules for efficiency lazy must be used to deffer the derefence. However, if the rule is lets say rule&lt; Iterator, void( T&amp; ) &gt;, then it would seem it's impossible to pass T&amp; to the rule as lazy() doesn't provide the same semantics as rule&lt; Iterator, void( T&amp; ) &gt;. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6402 Trac 1.4.3 Joel de Guzman Mon, 16 Jan 2012 10:54:22 GMT <link>https://svn.boost.org/trac10/ticket/6402#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6402#comment:1</guid> <description> <p> Please provide a minimal test case as per: <a class="ext-link" href="http://boost-spirit.com/home/feedback-and-support/"><span class="icon">​</span>http://boost-spirit.com/home/feedback-and-support/</a> </p> <p> Also, it would be best to simply use the mailing list for support first, before adding a ticket here. </p> </description> <category>Ticket</category> </item> <item> <author>sairony@…</author> <pubDate>Mon, 16 Jan 2012 13:33:12 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/6402 https://svn.boost.org/trac10/ticket/6402 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">minimallazy.cpp</span> </li> </ul> <p> Minimal test case for short comings of passing arguments to rules evaluated with lazy() </p> Ticket anonymous Mon, 16 Jan 2012 13:37:15 GMT <link>https://svn.boost.org/trac10/ticket/6402#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6402#comment:2</guid> <description> <p> Sorry. I've attached a minimal test case, here's a link to where the problem was discussed very briefly on the mailing list: <a class="ext-link" href="http://boost.2283326.n4.nabble.com/Passing-arguments-to-rules-that-requires-spirit-lazy-td3390182.html"><span class="icon">​</span>http://boost.2283326.n4.nabble.com/Passing-arguments-to-rules-that-requires-spirit-lazy-td3390182.html</a> . </p> </description> <category>Ticket</category> </item> </channel> </rss>