Opened 10 years ago
Closed 10 years ago
#7409 closed Bugs (fixed)
Dependencies not handled correctly
Reported by: | Owned by: | Eric Niebler | |
---|---|---|---|
Milestone: | To Be Determined | Component: | accumulator |
Version: | Boost 1.52.0 | Severity: | Problem |
Keywords: | Cc: | eric@… |
Description
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:
template<> struct feature_of<tag::alt_count>
: feature_of<tag::count>
{ };
I then ran a test program (attached), which should compute the mean of the numbers {1,2}, but returns -nan.
Attachments (2)
Change History (4)
by , 10 years ago
Attachment: | mean-test-trac.cpp added |
---|
by , 10 years ago
comment:1 by , 10 years ago
Note:
See TracTickets
for help on using tickets.
(In [80885]) fix long-standing dependency tracking bug, refs #7409