Boost C++ Libraries: Ticket #12779: Operations on datasets (join, zip, grid) not available with two user-defined datasets https://svn.boost.org/trac10/ticket/12779 <p> Operations on datasets (join, zip, grid) are not found by the compiler if both operands are user-defined datasets. The problem is that user-defined datasets are (usually and per the fibonacci example <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/12779#l1" title="#12779: Bugs: Operations on datasets (join, zip, grid) not available with two ... (closed: invalid)">[*]</a>) not declared in the same namespace as the operator overloads, namely </p> <pre class="wiki">namespace boost { namespace unit_test { namespace data { namespace monomorphic { </pre><p> Please find a minimal (not) working example attached. </p> <p> *<span class="wikianchor" id="l1"></span> <a href="http://www.boost.org/doc/libs/1_63_0/libs/test/doc/html/boost_test/tests_organization/test_cases/test_case_generation/datasets.html">http://www.boost.org/doc/libs/1_63_0/libs/test/doc/html/boost_test/tests_organization/test_cases/test_case_generation/datasets.html</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12779 Trac 1.4.3 Moritz Pflanzer <moritz@…> Mon, 23 Jan 2017 13:52:35 GMT attachment set https://svn.boost.org/trac10/ticket/12779 https://svn.boost.org/trac10/ticket/12779 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">fib.cpp</span> </li> </ul> Ticket Raffi Enficiaud Mon, 30 Jan 2017 22:30:15 GMT owner changed https://svn.boost.org/trac10/ticket/12779#comment:1 https://svn.boost.org/trac10/ticket/12779#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> </ul> <p> Hi there, </p> <p> would you please try by adding </p> <pre class="wiki">using namespace bdata::monomorphic; </pre><p> before the first <code>BOOST_DATA_TEST_CASE</code> declaration? It should solve your issue, and I will update the documentation accordingly. </p> Ticket Moritz Pflanzer <moritz@…> Wed, 05 Apr 2017 19:34:13 GMT <link>https://svn.boost.org/trac10/ticket/12779#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12779#comment:2</guid> <description> <p> Sorry for the delayed reply. Yes, adding the using directive solves the problem. Thanks! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Wed, 05 Apr 2017 20:48:17 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/12779#comment:3 https://svn.boost.org/trac10/ticket/12779#comment:3 <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">invalid</span> </li> </ul> <p> Thanks for the feedback, closing. </p> Ticket