Boost C++ Libraries: Ticket #10223: Destructor of boost::mpi::environment should not throw exception https://svn.boost.org/trac10/ticket/10223 <p> The destructor of boost::mpi::environment uses the BOOST_MPI_CHECK_RESULT macro to invoke MPI_Finalize. </p> <p> BOOST_MPI_CHECK_RESULT(MPI_Finalize, ()); </p> <p> If MPI_Finalize does not return MPI_SUCCESS, the macro will throw boost::mpi::exception. However, it is not a good idea for a destructor to throw. </p> <p> I suggest the destructor just call MPI_Finalize() without using the MACRO </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10223 Trac 1.4.3