]> https://gitweb.dealii.org/ - dealii.git/commit
Reorganize the exception handling in exception.h, remove noexcept(false) annotations...
authorMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 22 Oct 2013 08:36:27 +0000 (08:36 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 22 Oct 2013 08:36:27 +0000 (08:36 +0000)
commita029a7f7acb7fe1a9bd30672b23da577af3c1932
tree204b860a4d987f00babcc2d7525563244d3ff95f
parenta1e01451ed803d608ad5b2c0e2a8c3c7bfc99ed9
Reorganize the exception handling in exception.h, remove noexcept(false) annotations from the library

 * Provide an AssertNothrow macro that does behave exactly like Assert,
   except that if disable_abort_on_exception was called, it merely prints
   the exception name and continues normally (instead of throwing the
   exception).

 * Use AssertNothrow in ~Subscriptor and ~GrowingVectorMemory to avoid an
   unexpected call to std::terminate in C++11 mode

 * Remove noexcept(false) from the library because this seriously
   inconvenients the user

git-svn-id: https://svn.dealii.org/trunk@31378 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/include/deal.II/base/exceptions.h
deal.II/include/deal.II/base/function_time.h
deal.II/include/deal.II/base/subscriptor.h
deal.II/source/base/exceptions.cc
deal.II/source/base/subscriptor.cc
deal.II/source/lac/vector_memory.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.