Boost C++ Libraries: Ticket #6702: boost::throw_exception not found in extended_p_square_quantile.hpp https://svn.boost.org/trac10/ticket/6702 <p> While compiling the follow code using g++ (GCC) 4.6.3, some error occurs. I think this is caused by leaking of some header. </p> <p> Code: </p> <pre class="wiki">#include &lt;boost/accumulators/accumulators.hpp&gt; #include &lt;boost/accumulators/statistics/extended_p_square_quantile.hpp&gt; #include &lt;boost/accumulators/statistics/stats.hpp&gt; typedef boost::accumulators::accumulator_set&lt; boost::uint64_t, boost::accumulators::stats&lt; boost::accumulators::tag::extended_p_square_quantile&gt; &gt; accumulator_t; int main() { return 0; } </pre><p> Error output: </p> <pre class="wiki">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&lt;Sample, Impl1, Impl2&gt;::result_type boost::accumulators::impl::extended_p_square_quantile_impl&lt;Sample, Impl1, Impl2&gt;::result(const Args&amp;) 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’ </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6702 Trac 1.4.3 Eric Niebler Mon, 19 Mar 2012 20:26:47 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6702#comment:1 https://svn.boost.org/trac10/ticket/6702#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/77413" title="merge [77412] from trunk, fixes #6702">[77413]</a>) merge <a class="changeset" href="https://svn.boost.org/trac10/changeset/77412" title="add missing #include &lt;boost/throw_exception.hpp&gt;">[77412]</a> from trunk, fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6702" title="#6702: Bugs: boost::throw_exception not found in extended_p_square_quantile.hpp (closed: fixed)">#6702</a> </p> Ticket