Boost C++ Libraries: Ticket #12240: Documentation for data-driven testing should explictly mention std::tuple https://svn.boost.org/trac10/ticket/12240 <p> <code>BOOST_DATA_TEST_CASE()</code> handles ranges of <code>std::tuple</code>s differently to ranges of other types, in that it expects to be able to expand the parts of the tuples out to multiple variables. Whether or not this is intended or just a side-effect of the implementation, I think it's a sensible behaviour. Indeed, it's quite useful to be able to supply <code>BOOST_DATA_TEST_CASE()</code> with pre-zipped data rather than always having to use <code>^</code>. </p> <p> However at the moment, this special handling of <code>std::tuple</code> is not documented. Hence I suggest that this be included in the documentation (possibly near the "Zips" section) or otherwise that the implementation is changed so that users' ranges of <code>std::tuple</code>s are treated like ranges of other types (ie each tuple is expanded to one variable). </p> <p> Many thanks for your work on this library. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12240 Trac 1.4.3 Raffi Enficiaud Sun, 04 Sep 2016 23:13:15 GMT owner, status, milestone changed https://svn.boost.org/trac10/ticket/12240#comment:1 https://svn.boost.org/trac10/ticket/12240#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Gennadiy Rozental</span> to <span class="trac-author">Raffi Enficiaud</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.62.0</span> </li> </ul> <p> Thanks for your feedback. </p> <p> In fact this is a side effect of the changes made in 1.61, but apparently it is useful to keep it like it is right now (as you are suggesting). So I'll rather go for updating the doc. </p> Ticket Raffi Enficiaud Thu, 29 Sep 2016 14:14:53 GMT milestone changed https://svn.boost.org/trac10/ticket/12240#comment:2 https://svn.boost.org/trac10/ticket/12240#comment:2 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.62.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> Ticket