]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Bugfix: Propagate exceptions out of ~Subscriptor in C++11 mode
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Oct 2013 10:02:46 +0000 (10:02 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Oct 2013 10:02:46 +0000 (10:02 +0000)
commitd971d98bb75e03ce178fb85528a2db139a93aada
treeefb9c0d9764c0c74e43fb05e61b668317828c9b0
parenta5c78b2e04ecd0c7d2082524068de53274500047
Bugfix: Propagate exceptions out of ~Subscriptor in C++11 mode

According to the C++11 standard [class.dtor] 3 in combination with
[except.spec] 14 and [except.spec] 9---as explained in detail in
[1]---we're guilty of just terminating in case of throwing an exception in
a destructor.

[1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3204.htm

git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31235 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/include/deal.II/base/function_time.h
deal.II/include/deal.II/base/subscriptor.h
deal.II/source/base/function_time.cc
deal.II/source/base/subscriptor.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.