]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Reorganize the exception handling in exception.h, remove noexcept(false) annotations...
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2013 08:36:27 +0000 (08:36 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2013 08:36:27 +0000 (08:36 +0000)
commit5a7c075c01612a86f9547f56025b4f180c3391a8
tree6388e07f6cf5a07f4ebc6976f64c5e8866c72d82
parent8d986d43ba3fa510d76bf38b8a038bed37fe0d50
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.