Boost C++ Libraries: Ticket #4446: complete BOOST_PP_SEQ_TO_TUPLE https://svn.boost.org/trac10/ticket/4446 <p> Feature completion, symmetric behavior: </p> <p> While BOOST_PP_TUPLE_TO_SEQ turns an empty tuple () into an empty sequence (i.e. nothing), the reverse operation BOOST_PP_SEQ_TO_TUPLE cannot turn an empty sequence to (). The attached patch fixes this, and, as a side effect, extends BOOST_PP_SEQ_ENUM to accept empty sequences as well. </p> <p> Cheers, </p> <p> Wolf Lammen </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4446 Trac 1.4.3 Wolf Lammen <ookami1@…> Fri, 16 Jul 2010 10:20:14 GMT attachment set https://svn.boost.org/trac10/ticket/4446 https://svn.boost.org/trac10/ticket/4446 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">seq_enum.patch</span> </li> </ul> Ticket Edward Diener Sun, 17 May 2015 05:04:25 GMT <link>https://svn.boost.org/trac10/ticket/4446#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4446#comment:1</guid> <description> <p> There is no such thing as an empty tuple or an empty seq. A tuple of '()' is a one element tuple whose data is empty. A seq of '()' is a seq of a single element whose data is empty. Converting between a seq and a tuple now works each way to produce the correct result. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Edward Diener</dc:creator> <pubDate>Sun, 17 May 2015 05:04:34 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4446#comment:2 https://svn.boost.org/trac10/ticket/4446#comment:2 <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> Ticket