* void
* TimeDependent::solve_primal_problem ()
* {
- * do_loop (mem_fun(&TimeStepBase::init_for_primal_problem),
- * mem_fun(&TimeStepBase::solve_primal_problem),
+ * do_loop (std_cxx11::bind(&TimeStepBase::init_for_primal_problem, std_cxx11::_1),
+ * std_cxx11::bind(&TimeStepBase::solve_primal_problem, std_cxx11::_1),
* timestepping_data_primal,
* forward);
* };
* look-back and the last one denotes in which direction the loop is to be
* run.
*
- * Using function pointers through the @p mem_fun functions provided by the
+ * Using function pointers through the @p std_cxx11::bind functions provided by the
* <tt>C++</tt> standard library, it is possible to do neat tricks, like the
* following, also taken from the wave program, in this case from the function
* @p refine_grids:
* compute the thresholds for refinement
* ...
*
- * do_loop (mem_fun (&TimeStepBase_Tria<dim>::init_for_refinement),
- * std_cxx11::bind (&TimeStepBase_Wave<dim>::refine_grid,
- * std_cxx11::_1,
- * TimeStepBase_Tria<dim>::RefinementData (top_threshold,
- * bottom_threshold)),
+ * do_loop (std_cxx11::bind(&TimeStepBase_Tria<dim>::init_for_refinement, std_cxx11::_1),
+ * std_cxx11::bind(&TimeStepBase_Wave<dim>::refine_grid,
+ * std_cxx11::_1,
+ * TimeStepBase_Tria<dim>::RefinementData (top_threshold,
+ * bottom_threshold)),
* TimeDependent::TimeSteppingData (0,1),
* TimeDependent::forward);
* @endcode
*
* To see how this function work, note that the function @p
* solve_primal_problem only consists of a call to <tt>do_loop
- * (mem_fun(&TimeStepBase::init_for_primal_problem),
- * mem_fun(&TimeStepBase::solve_primal_problem), timestepping_data_primal,
+ * (std_cxx11::bind(&TimeStepBase::init_for_primal_problem, std_cxx11::_1),
+ * std_cxx11::bind(&TimeStepBase::solve_primal_problem, std_cxx11::_1), timestepping_data_primal,
* forward);</tt>.
*
* Note also, that the given class from which the two functions are taken