]> https://gitweb.dealii.org/ - dealii.git/commit
mark constructors in Function*<dim> as explicit 11309/head
authorTimo Heister <timo.heister@gmail.com>
Thu, 3 Dec 2020 19:10:42 +0000 (14:10 -0500)
committerTimo Heister <timo.heister@gmail.com>
Thu, 3 Dec 2020 19:11:15 +0000 (14:11 -0500)
commit559d944a86807031ea6cf81cb10aec8991454a21
tree6e246008f275b7baaaf75bb491a43e763f509115
parentb8b48a838bb158f4b72f5fccf844c894c3a2ba3c
mark constructors in Function*<dim> as explicit

While not strictly backwards compatible, I think it is a very dangerous
design to have things convert to Function<dim> automatically including
an int. Stop this by marking them explicit.
include/deal.II/base/function.h

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.