[Boost-bugs] [Boost C++ Libraries] #1650: Accumulators conflicts with interval

Subject: [Boost-bugs] [Boost C++ Libraries] #1650: Accumulators conflicts with interval
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-02-21 19:22:39


#1650: Accumulators conflicts with interval
-------------------------------------+--------------------------------------
 Reporter: dave | Owner: eric_niebler
     Type: Bugs | Status: new
Milestone: Boost 1.35.0 | Component: accumulator
  Version: Boost Development Trunk | Severity: Showstopper
 Keywords: |
-------------------------------------+--------------------------------------
 we discovered a conflict between the Interval and Accumulator library. The
 following code:
 {{{
 #!cpp
 #include <boost/numeric/interval.hpp>
 #include <boost/accumulators/accumulators.hpp>
 #include <boost/accumulators/statistics.hpp>
 }}}
 gives the error message:
 {{{
 /Users/troyer/src/boost/boost/accumulators/numeric/functional_fwd.hpp:205:
 error: declaration of template ‘template<class T> struct
 boost::numeric::empty’
 /Users/troyer/src/boost/boost/numeric/interval/utility.hpp:98: error:
 conflicts with previous declaration ‘template<class T, class Policies>
 bool boost::numeric::empty(const boost::numeric::interval<T, Policies>&)’
 }}}

 It seems that boost::numeric::empty is defined in both libraries.

 We think this needs to be resolved before the release goes out.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1650>
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:49:57 UTC