]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix and provide a news item
authorMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 22 Oct 2013 08:56:34 +0000 (08:56 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 22 Oct 2013 08:56:34 +0000 (08:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@31379 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/news/changes.h
deal.II/source/base/exceptions.cc

index 601e5ea81f29a7b1d7b749ca4a135b6ab6cf0c6a..42be7357932d686deddcfae044fdfaa8b2317d5d 100644 (file)
@@ -168,6 +168,15 @@ inconvenience this causes.
 <h3>Specific improvements</h3>
 
 <ol>
+  <li>
+  ~Subscriptor and ~GrowingVectorMemory no longer throw an exception (the
+  former if disable_abort_on_exception was called) to be compatible with the
+  C++11 standard which otherwise requires the program to immediately call
+  std::terminate. This was done with a new macro "AssertNothrow".
+  <br>
+  (Wolfgang Bangerth, Matthias Maier, Bruno Turcksin 2013/10/22)
+  </li>
+
   <li>
   dealii::SolverControl::NoConvergence now inherits dealii::ExceptionBase and
   is thrown via AssertThrow(false, ... ).
index 28638e85014eeeaedc1b85ef4578740243feab03..81f8b3075eda3ae09504581436fe2e7ad0a9f367 100644 (file)
@@ -294,7 +294,7 @@ namespace deal_II_exceptions
           // We are not allowed to throw, and not allowed to abort.
           // Just print the exception name to deallog and continue
           // normally:
-          deallog << "Exception: " << e.get_exc_name() << std::endl;
+          deallog << "Exception: " << exc.get_exc_name() << std::endl;
         }
       else
         {

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.