[Boost-bugs] [Boost C++ Libraries] #6702: boost::throw_exception not found in extended_p_square_quantile.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #6702: boost::throw_exception not found in extended_p_square_quantile.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-18 13:44:17


#6702: boost::throw_exception not found in extended_p_square_quantile.hpp
------------------------------+---------------------------------------------
 Reporter: thawk | Owner: eric_niebler
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: accumulator
  Version: Boost 1.49.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 While compiling the follow code using g++ (GCC) 4.6.3, some error occurs.
 I think this is caused by leaking of some header.

 Code:
 {{{
 #include <boost/accumulators/accumulators.hpp>
 #include <boost/accumulators/statistics/extended_p_square_quantile.hpp>
 #include <boost/accumulators/statistics/stats.hpp>

 typedef boost::accumulators::accumulator_set<
     boost::uint64_t,
     boost::accumulators::stats<
         boost::accumulators::tag::extended_p_square_quantile> >
 accumulator_t;
 int main()
 {
     return 0;
 }
 }}}

 Error output:
 {{{
 In file included from test.cpp:2:0:
 /home/tanht/program/boost_1_49_0/boost/accumulators/statistics/extended_p_square_quantile.hpp:
 In member function
 â€˜boost::accumulators::impl::extended_p_square_quantile_impl<Sample, Impl1,
 Impl2>::result_type
 boost::accumulators::impl::extended_p_square_quantile_impl<Sample, Impl1,
 Impl2>::result(const Args&) const’:
 /home/user/program/boost_1_49_0/boost/accumulators/statistics/extended_p_square_quantile.hpp:115:21:
 error: ‘throw_exception’ is not a member of ‘boost’
 /home/user/program/boost_1_49_0/boost/accumulators/statistics/extended_p_square_quantile.hpp:115:44:
 error: ‘runtime_error’ is not a member of ‘std’
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6702>
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:09 UTC