[Boost-bugs] [Boost C++ Libraries] #7409: Dependencies not handled correctly

Subject: [Boost-bugs] [Boost C++ Libraries] #7409: Dependencies not handled correctly
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-22 20:49:58


#7409: Dependencies not handled correctly
----------------------------------+-----------------------------------------
 Reporter: s.d.c.west@… | Owner: eric_niebler
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: accumulator
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
----------------------------------+-----------------------------------------
 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7409>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC