Opened 6 years ago

Closed 6 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:


While compiling the follow code using g++ (GCC) 4.6.3, some error occurs. I think this is caused by leaking of some header.


#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::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’

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by Eric Niebler

Resolution: fixed
Status: newclosed

(In [77413]) merge [77412] from trunk, fixes #6702

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Eric Niebler.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.