Opened 11 years ago
Closed 11 years ago
#6702 closed Bugs (fixed)
boost::throw_exception not found in extended_p_square_quantile.hpp
Reported by: | thawk | Owned by: | Eric Niebler |
---|---|---|---|
Milestone: | To Be Determined | Component: | accumulator |
Version: | Boost 1.49.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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’
Note:
See TracTickets
for help on using tickets.
(In [77413]) merge [77412] from trunk, fixes #6702