Boost C++ Libraries: Ticket #5905: Making switch matching on the result type of a transform https://svn.boost.org/trac10/ticket/5905 <p> Hi, </p> <p> As discussed in the following thread : <a class="ext-link" href="http://lists.boost.org/proto/2011/08/0559.php"><span class="icon">​</span>http://lists.boost.org/proto/2011/08/0559.php</a> </p> <p> I made a patch on trunk to implement what was discussed. Please, find in attached file the corresponding patch for code reviewing and discussion. </p> <p> Best, </p> <p> Pierre Esterie </p> <p> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5905 Trac 1.4.3 Pierre Esterie <pesterie@…> Fri, 16 Sep 2011 12:59:53 GMT attachment set https://svn.boost.org/trac10/ticket/5905 https://svn.boost.org/trac10/ticket/5905 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">new_switch.patch</span> </li> </ul> <p> patch_switch </p> Ticket Eric Niebler Mon, 19 Sep 2011 21:43:55 GMT <link>https://svn.boost.org/trac10/ticket/5905#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5905#comment:1</guid> <description> <p> Looks good. Some feedback. The biggest problem is the lack of changes to the reference docs for <code>switch_</code> (see libs/proto/doc/reference/matches.xml), the missing new_switch.cpp test file, and the formatting that is inconsistent with the rest of Proto's source code. Note: I use 4-spaces for indenting. </p> <p> Also, you can remove the specialization of <code>switch_::impl</code> in the primary <code>switch_</code> template. It's still necessary in the specialization of <code>switch_</code> for the default transform. </p> <p> Thanks for your work on this! </p> </description> <category>Ticket</category> </item> <item> <author>Pierre Esterie <pesterie@…></author> <pubDate>Thu, 22 Sep 2011 14:06:32 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/5905 https://svn.boost.org/trac10/ticket/5905 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">new_switch.2.patch</span> </li> </ul> Ticket Pierre Esterie <pesterie@…> Thu, 22 Sep 2011 14:09:15 GMT <link>https://svn.boost.org/trac10/ticket/5905#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5905#comment:2</guid> <description> <p> Hi Eric, </p> <p> I modified the patch, you can find the new one in attached file. Please Let me know if I missed something again. </p> <p> Thanks by advance ! Best, </p> <p> Pierre </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Eric Niebler</dc:creator> <pubDate>Thu, 22 Sep 2011 17:37:28 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5905#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5905#comment:3</guid> <description> <p> Thanks. Committed to trunk in <a class="changeset" href="https://svn.boost.org/trac10/changeset/74513" title="add second template parameter to proto::siwtch_ to control dispatching ...">[74513]</a>. I'll keep an eye on the regression results and merge to release if it looks good. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Eric Niebler</dc:creator> <pubDate>Fri, 23 Sep 2011 15:04:17 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5905#comment:4 https://svn.boost.org/trac10/ticket/5905#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">new</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/74534" title="merge [74470], [74481], [74513], [74527] from trunk; fixes #4723, #5905">[74534]</a>) merge <a class="changeset" href="https://svn.boost.org/trac10/changeset/74470" title="use rvalue references to bring down number of operator overloads">[74470]</a>, <a class="changeset" href="https://svn.boost.org/trac10/changeset/74481" title="mark up proto vacpp failures">[74481]</a>, <a class="changeset" href="https://svn.boost.org/trac10/changeset/74513" title="add second template parameter to proto::siwtch_ to control dispatching ...">[74513]</a>, <a class="changeset" href="https://svn.boost.org/trac10/changeset/74527" title="allow dependent domains to be specified with BOOST_PROTO_EXTENDS and ...">[74527]</a> from trunk; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4723" title="#4723: Bugs: BOOST_PROTO_BASIC_EXTENDS and other macro don't wrok with Domain being ... (closed: fixed)">#4723</a>, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5905" title="#5905: Patches: Making switch matching on the result type of a transform (closed: fixed)">#5905</a> </p> Ticket