]> https://gitweb.dealii.org/ - dealii.git/commitdiff
take over changes from 17f331bb57
authorTimo Heister <timo.heister@gmail.com>
Thu, 24 Oct 2019 09:09:04 +0000 (11:09 +0200)
committerTimo Heister <timo.heister@gmail.com>
Thu, 24 Oct 2019 09:09:04 +0000 (11:09 +0200)
examples/step-12b/step-12b.cc

index 8aac1461b79e512eff8cb095b9a9e90ef543f0bb..5c02885ecdb27ffa4f9d129a02ce627d858993e0 100644 (file)
@@ -203,7 +203,7 @@ namespace Step12
     // pointers to these functions to the MeshWorker framework. If, however,
     // these functions would want to access member variables (or needed
     // additional arguments beyond the ones specified below), we could use the
-    // facilities of boost::bind (or std::bind, respectively) to provide the
+    // facilities of lambda functions to provide the
     // MeshWorker framework with objects that act as if they had the required
     // number and types of arguments, but have in fact other arguments already
     // bound.
@@ -312,7 +312,7 @@ namespace Step12
     // integrator class are not actually function pointers. Rather, they are
     // objects that can be called like functions with a certain number of
     // arguments. Consequently, we could also pass objects with appropriate
-    // operator() implementations here, or the result of std::bind if the local
+    // operator() implementations here, or lambda functions if the local
     // integrators were, for example, non-static member functions.
     MeshWorker::loop<dim,
                      dim,

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.