Boost C++ Libraries: Ticket #7409: Dependencies not handled correctly https://svn.boost.org/trac10/ticket/7409 <p> To test the dependency system of the Accumulators library, I tried adding an alternative implementation of the 'count' feature, which I called 'alt_count' (see attached file count.hpp which includes the alternative version). To express that alt_count defines the same feature as count, I included the following: </p> <p> template&lt;&gt; struct feature_of&lt;tag::alt_count&gt; </p> <blockquote> <p> : feature_of&lt;tag::count&gt; </p> </blockquote> <p> { }; </p> <p> I then ran a test program (attached), which should compute the mean of the numbers {1,2}, but returns -nan. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7409 Trac 1.4.3 anonymous Sat, 22 Sep 2012 20:50:41 GMT attachment set https://svn.boost.org/trac10/ticket/7409 https://svn.boost.org/trac10/ticket/7409 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">mean-test-trac.cpp</span> </li> </ul> Ticket anonymous Sat, 22 Sep 2012 20:51:17 GMT attachment set https://svn.boost.org/trac10/ticket/7409 https://svn.boost.org/trac10/ticket/7409 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">count.hpp</span> </li> </ul> Ticket Eric Niebler Sat, 06 Oct 2012 17:17:13 GMT <link>https://svn.boost.org/trac10/ticket/7409#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7409#comment:1</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/80885" title="fix long-standing dependency tracking bug, refs #7409">[80885]</a>) fix long-standing dependency tracking bug, refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7409" title="#7409: Bugs: Dependencies not handled correctly (closed: fixed)">#7409</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Eric Niebler</dc:creator> <pubDate>Wed, 10 Oct 2012 02:22:27 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/7409#comment:2 https://svn.boost.org/trac10/ticket/7409#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> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/80927" title="accumulators: fix long-standing dependency tracking bug. merge ...">[80927]</a>) accumulators: fix long-standing dependency tracking bug. merge <a class="changeset" href="https://svn.boost.org/trac10/changeset/80826" title="accumulators: fix comment. refs #7456">[80826]</a>, <a class="changeset" href="https://svn.boost.org/trac10/changeset/80885" title="fix long-standing dependency tracking bug, refs #7409">[80885]</a>, <a class="changeset" href="https://svn.boost.org/trac10/changeset/80888" title="mark vacpp and cray as unusable with accumulators">[80888]</a> from trunk. fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7409" title="#7409: Bugs: Dependencies not handled correctly (closed: fixed)">#7409</a> </p> Ticket