Boost C++ Libraries: Ticket #13443: boost.test data driven test fails to compile when number of samples greater than 9 https://svn.boost.org/trac10/ticket/13443 <p> Hello, It looks like boost.test fails to compile a simple data driven test with 10 samples. I am using clang++ (Apple LLVM version 9.0.0 (clang-900.0.39.2))with C++14 flags enabled. According to this help page &lt;<a href="http://www.boost.org/doc/libs/1_66_0/libs/test/doc/html/boost_test/utf_reference/test_org_reference/test_org_boost_test_dataset.html">http://www.boost.org/doc/libs/1_66_0/libs/test/doc/html/boost_test/utf_reference/test_org_reference/test_org_boost_test_dataset.html</a>&gt; the compiler should have no problem dealing with number of samples greater than BOOST_TEST_DATASET_MAX_ARITY which is 10 by default. Even defining BOOST_TEST_DATASET_MAX_ARITY to 20 prior to including any headers still fails to compile with the following error: /usr/local/include/boost/test/data/test_case.hpp:182: error: no matching function for call to 'bind' </p> <blockquote> <p> boost::bind( &amp;TestCase::template test_method&lt;Arg...&gt;, <sup><del></del><del></del><del> </del></sup></p> </blockquote> <p> Here is the relevant code: </p> <pre class="wiki">#define BOOST_TEST_MODULE dataset_example68 #define BOOST_TEST_DYN_LINK #include &lt;boost/test/unit_test.hpp&gt; #include &lt;boost/test/data/test_case.hpp&gt; #include &lt;boost/test/data/monomorphic.hpp&gt; #include &lt;sstream&gt; namespace bdata = boost::unit_test::data; BOOST_DATA_TEST_CASE( test1, bdata::make( { 1, 2, 3, 5 } ) ^ bdata::make( { 1, 2, 3, 5 } ) ^ bdata::make( { 1, 2, 3, 5 } ) ^ bdata::make( { 1, 2, 3, 5 } ) ^ bdata::make( { 1, 2, 3, 5 } ) ^ bdata::make( { 1, 2, 3, 5 } ) ^ bdata::make( { 1, 2, 3, 5 } ) ^ bdata::make( { 1, 2, 3, 5 } ) ^ bdata::make( { 1, 2, 3, 5 } ) ^ bdata::make( { 1, 2, 3, 5 } ), sample1, sample2, sample3, sample4, sample5, sample6, sample7, sample8, sample9, sample10) {} </pre><p> Thank you! </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13443 Trac 1.4.3 Raffi Enficiaud Thu, 08 Feb 2018 22:47:53 GMT <link>https://svn.boost.org/trac10/ticket/13443#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13443#comment:1</guid> <description> <p> Would it be possible to check a fix, from the branch <code>local/check-std-bind</code> ? Thanks! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Thu, 08 Feb 2018 22:48:10 GMT</pubDate> <title>owner, status changed https://svn.boost.org/trac10/ticket/13443#comment:2 https://svn.boost.org/trac10/ticket/13443#comment:2 <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> </ul> Ticket g.sermaidis@… Thu, 08 Feb 2018 23:42:24 GMT <link>https://svn.boost.org/trac10/ticket/13443#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13443#comment:3</guid> <description> <p> Just did, compiles cleanly! Thank you </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Sun, 11 Feb 2018 12:35:08 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/13443#comment:4 https://svn.boost.org/trac10/ticket/13443#comment:4 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.67.0</span> </li> </ul> <p> In develop </p> Ticket Raffi Enficiaud Mon, 12 Feb 2018 08:20:02 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/13443#comment:5 https://svn.boost.org/trac10/ticket/13443#comment:5 <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 master </p> Ticket