[Boost-bugs] [Boost C++ Libraries] #5399: random.hpp does not compile with exceptions off

Subject: [Boost-bugs] [Boost C++ Libraries] #5399: random.hpp does not compile with exceptions off
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-31 00:43:59


#5399: random.hpp does not compile with exceptions off
------------------------------+---------------------------------------------
 Reporter: anonymous | Owner: no-maintainer
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: random
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 boost/random.hpp includes
 boost/random/linear_congruential.hpp

 which uses throw (instead of boost::throw_exception as it should)

 with exceptions off, you cannot use throw(), try, catch, etc., hence
 BOOST_TRY, BOOST_CATCH, BOOST_RETHROW

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