Opened 5 years ago

Closed 5 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 5 years ago by eric_niebler

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain eric_niebler.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.