Boost C++ Libraries: Ticket #5648: Proto decltype limited to one per scope https://svn.boost.org/trac10/ticket/5648 <p> The macro BOOST_PROTO_DECLTYPE_ only works once per scope because the variable "sz" does not embed the desired type name. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5648 Trac 1.4.3 Eric Niebler Mon, 27 Jun 2011 18:13:57 GMT status changed https://svn.boost.org/trac10/ticket/5648#comment:1 https://svn.boost.org/trac10/ticket/5648#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Note that this is an internal macro and shouldn't be used outside of Proto's implementation. But fixing this is simple enough, so I'll do it. </p> Ticket Mathias Gaunard Mon, 27 Jun 2011 18:20:02 GMT <link>https://svn.boost.org/trac10/ticket/5648#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5648#comment:2</guid> <description> <p> While an implementation detail, I find that it is quite practical to have decltype emulation through Boost.Typeof (which unfortunately is not able to leverage decltype itself) when decltype is not available on the target compiler. </p> <p> Maybe it could be worth moving that out of Proto. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Eric Niebler</dc:creator> <pubDate>Tue, 20 Sep 2011 02:34:51 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5648#comment:3 https://svn.boost.org/trac10/ticket/5648#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/74475" title="merge [74474] from trunk, fixes #5648">[74475]</a>) merge <a class="changeset" href="https://svn.boost.org/trac10/changeset/74474" title="tweak for internal BOOST_PROTO_DECLTYPE_ macro">[74474]</a> from trunk, fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5648" title="#5648: Bugs: Proto decltype limited to one per scope (closed: fixed)">#5648</a> </p> Ticket