]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Replace std_cxx11 and std_cxx1x functions by std ones 4128/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 27 Mar 2017 15:45:51 +0000 (11:45 -0400)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Thu, 30 Mar 2017 16:29:33 +0000 (12:29 -0400)
382 files changed:
examples/step-13/step-13.cc
examples/step-14/step-14.cc
examples/step-22/step-22.cc
examples/step-27/step-27.cc
examples/step-31/step-31.cc
examples/step-32/step-32.cc
examples/step-33/step-33.cc
examples/step-34/step-34.cc
examples/step-35/step-35.cc
examples/step-37/step-37.cc
examples/step-42/step-42.cc
examples/step-43/step-43.cc
examples/step-44/step-44.cc
examples/step-51/step-51.cc
examples/step-52/step-52.cc
examples/step-53/step-53.cc
examples/step-9/step-9.cc
include/deal.II/base/aligned_vector.h
include/deal.II/base/data_out_base.h
include/deal.II/base/function.h
include/deal.II/base/function.templates.h
include/deal.II/base/function_lib.h
include/deal.II/base/function_spherical.h
include/deal.II/base/geometric_utilities.h
include/deal.II/base/graph_coloring.h
include/deal.II/base/logstream.h
include/deal.II/base/memory_consumption.h
include/deal.II/base/mg_level_object.h
include/deal.II/base/parallel.h
include/deal.II/base/parameter_handler.h
include/deal.II/base/point.h
include/deal.II/base/polynomial.h
include/deal.II/base/polynomials_abf.h
include/deal.II/base/quadrature_point_data.h
include/deal.II/base/std_cxx11/array.h
include/deal.II/base/std_cxx11/bind.h
include/deal.II/base/std_cxx11/condition_variable.h
include/deal.II/base/std_cxx11/function.h
include/deal.II/base/std_cxx11/iterator.h
include/deal.II/base/std_cxx11/mutex.h
include/deal.II/base/std_cxx11/shared_ptr.h
include/deal.II/base/std_cxx11/thread.h
include/deal.II/base/std_cxx11/tuple.h
include/deal.II/base/std_cxx11/type_traits.h
include/deal.II/base/std_cxx11/unique_ptr.h
include/deal.II/base/synchronous_iterator.h
include/deal.II/base/table_indices.h
include/deal.II/base/thread_management.h
include/deal.II/base/time_stepping.h
include/deal.II/base/time_stepping.templates.h
include/deal.II/base/work_stream.h
include/deal.II/distributed/shared_tria.h
include/deal.II/distributed/tria.h
include/deal.II/distributed/tria_base.h
include/deal.II/dofs/dof_handler.h
include/deal.II/fe/fe_p1nc.h
include/deal.II/fe/fe_series.h
include/deal.II/fe/fe_system.h
include/deal.II/fe/fe_values.h
include/deal.II/fe/mapping.h
include/deal.II/fe/mapping_fe_field.h
include/deal.II/fe/mapping_manifold.h
include/deal.II/fe/mapping_q.h
include/deal.II/fe/mapping_q1_eulerian.h
include/deal.II/fe/mapping_q_eulerian.h
include/deal.II/fe/mapping_q_generic.h
include/deal.II/grid/cell_id.h
include/deal.II/grid/filtered_iterator.h
include/deal.II/grid/grid_generator.h
include/deal.II/grid/grid_tools.h
include/deal.II/grid/tria.h
include/deal.II/grid/tria_boundary.h
include/deal.II/hp/fe_collection.h
include/deal.II/hp/fe_values.h
include/deal.II/hp/mapping_collection.h
include/deal.II/hp/q_collection.h
include/deal.II/lac/block_vector.h
include/deal.II/lac/chunk_sparse_matrix.templates.h
include/deal.II/lac/cuda_vector.h
include/deal.II/lac/filtered_matrix.h
include/deal.II/lac/iterative_inverse.h
include/deal.II/lac/la_parallel_block_vector.h
include/deal.II/lac/la_parallel_block_vector.templates.h
include/deal.II/lac/la_parallel_vector.h
include/deal.II/lac/la_parallel_vector.templates.h
include/deal.II/lac/la_vector.h
include/deal.II/lac/la_vector.templates.h
include/deal.II/lac/lapack_full_matrix.h
include/deal.II/lac/matrix_block.h
include/deal.II/lac/petsc_block_vector.h
include/deal.II/lac/petsc_matrix_base.h
include/deal.II/lac/petsc_parallel_block_vector.h
include/deal.II/lac/petsc_parallel_vector.h
include/deal.II/lac/petsc_solver.h
include/deal.II/lac/petsc_vector.h
include/deal.II/lac/precondition.h
include/deal.II/lac/read_write_vector.h
include/deal.II/lac/read_write_vector.templates.h
include/deal.II/lac/relaxation_block.templates.h
include/deal.II/lac/slepc_solver.h
include/deal.II/lac/slepc_spectral_transformation.h
include/deal.II/lac/solver.h
include/deal.II/lac/solver_cg.h
include/deal.II/lac/solver_gmres.h
include/deal.II/lac/sparse_matrix.templates.h
include/deal.II/lac/trilinos_block_vector.h
include/deal.II/lac/trilinos_epetra_communication_pattern.h
include/deal.II/lac/trilinos_epetra_vector.h
include/deal.II/lac/trilinos_precondition.h
include/deal.II/lac/trilinos_solver.h
include/deal.II/lac/trilinos_sparse_matrix.h
include/deal.II/lac/trilinos_sparsity_pattern.h
include/deal.II/lac/trilinos_vector.h
include/deal.II/lac/trilinos_vector_base.h
include/deal.II/lac/vector.h
include/deal.II/lac/vector_operations_internal.h
include/deal.II/lac/vector_space_vector.h
include/deal.II/lac/vector_type_traits.h
include/deal.II/matrix_free/dof_info.h
include/deal.II/matrix_free/dof_info.templates.h
include/deal.II/matrix_free/fe_evaluation.h
include/deal.II/matrix_free/mapping_info.templates.h
include/deal.II/matrix_free/matrix_free.h
include/deal.II/matrix_free/operators.h
include/deal.II/meshworker/dof_info.h
include/deal.II/meshworker/integration_info.h
include/deal.II/meshworker/integration_info.templates.h
include/deal.II/meshworker/local_integrator.h
include/deal.II/meshworker/local_results.h
include/deal.II/meshworker/loop.h
include/deal.II/multigrid/mg_matrix.h
include/deal.II/multigrid/mg_transfer.h
include/deal.II/multigrid/mg_transfer_block.h
include/deal.II/multigrid/mg_transfer_component.h
include/deal.II/multigrid/sparse_matrix_collection.h
include/deal.II/numerics/data_out.h
include/deal.II/numerics/data_out_dof_data.h
include/deal.II/numerics/data_out_faces.h
include/deal.II/numerics/data_out_rotation.h
include/deal.II/numerics/derivative_approximation.h
include/deal.II/numerics/error_estimator.templates.h
include/deal.II/numerics/matrix_creator.templates.h
include/deal.II/numerics/time_dependent.h
include/deal.II/numerics/vector_tools.h
include/deal.II/numerics/vector_tools.templates.h
include/deal.II/opencascade/boundary_lib.h
include/deal.II/opencascade/utilities.h
source/base/data_out_base.cc
source/base/data_out_base.inst.in
source/base/function_lib.cc
source/base/function_spherical.cc
source/base/geometric_utilities.cc
source/base/parameter_handler.cc
source/base/polynomial.cc
source/base/quadrature_lib.cc
source/base/tensor_product_polynomials.cc
source/distributed/grid_refinement.cc
source/distributed/shared_tria.cc
source/distributed/solution_transfer.cc
source/distributed/tria.cc
source/dofs/dof_tools.cc
source/dofs/dof_tools_constraints.cc
source/fe/fe.cc
source/fe/fe_p1nc.cc
source/fe/fe_q_bubbles.cc
source/fe/fe_system.cc
source/fe/fe_tools.cc
source/fe/fe_tools_interpolate.cc
source/fe/fe_values.cc
source/fe/mapping.cc
source/fe/mapping_fe_field.cc
source/fe/mapping_manifold.cc
source/fe/mapping_q.cc
source/fe/mapping_q1.cc
source/fe/mapping_q1_eulerian.cc
source/fe/mapping_q_eulerian.cc
source/fe/mapping_q_generic.cc
source/grid/grid_generator.cc
source/grid/grid_generator.inst.in
source/grid/grid_in.cc
source/grid/grid_out.cc
source/grid/grid_reordering.cc
source/grid/grid_tools.cc
source/grid/grid_tools.inst.in
source/grid/tria.cc
source/grid/tria_accessor.cc
source/grid/tria_boundary.cc
source/grid/tria_objects.cc
source/hp/dof_handler.cc
source/hp/fe_collection.cc
source/hp/fe_values.cc
source/hp/mapping_collection.cc
source/lac/cuda_vector.cu
source/lac/sparsity_pattern.cc
source/lac/trilinos_epetra_communication_pattern.cc
source/lac/trilinos_epetra_vector.cc
source/lac/trilinos_solver.cc
source/lac/trilinos_sparse_matrix.cc
source/lac/trilinos_sparsity_pattern.cc
source/lac/trilinos_vector.cc
source/multigrid/mg_transfer_block.cc
source/multigrid/mg_transfer_component.cc
source/multigrid/mg_transfer_internal.cc
source/multigrid/mg_transfer_prebuilt.cc
source/numerics/data_out.cc
source/numerics/data_out_dof_data.cc
source/numerics/data_out_dof_data.inst.in
source/numerics/data_out_faces.cc
source/numerics/data_out_rotation.cc
source/numerics/derivative_approximation.cc
source/numerics/error_estimator_1d.cc
source/numerics/point_value_history.cc
source/numerics/time_dependent.cc
source/numerics/vector_tools_project_qp.inst.in
source/numerics/vector_tools_project_qpmf.inst.in
source/opencascade/boundary_lib.cc
source/opencascade/utilities.cc
tests/arpack/step-36_parpack_mf.cc
tests/base/data_out_base.cc
tests/base/data_out_base_dx.cc
tests/base/data_out_base_eps.cc
tests/base/data_out_base_gmv.cc
tests/base/data_out_base_gnuplot.cc
tests/base/data_out_base_gnuplot_labels.cc
tests/base/data_out_base_povray.cc
tests/base/data_out_base_tecplot.cc
tests/base/data_out_base_tecplot_bin.cc
tests/base/data_out_base_vtk.cc
tests/base/data_out_base_vtk_cycle.cc
tests/base/data_out_base_vtk_time.cc
tests/base/data_out_base_vtk_time_and_cycle.cc
tests/base/data_out_base_vtu.cc
tests/base/data_out_base_vtu_compression_levels.cc
tests/base/data_out_base_vtu_cycle.cc
tests/base/data_out_base_vtu_time.cc
tests/base/data_out_base_vtu_time_and_cycle.cc
tests/base/data_out_reader_01.cc
tests/base/function_parser_04.cc
tests/base/functions_04.cc
tests/base/functions_05.cc
tests/base/functions_06.cc
tests/base/functions_10.cc
tests/base/functions_11.cc
tests/base/functions_constant_function_00.cc
tests/base/functions_singularity.cc
tests/base/functions_spherical_01.cc
tests/base/functions_spherical_02.cc
tests/base/geometric_utilities_01.cc
tests/base/geometric_utilities_02.cc
tests/base/graph_coloring_01.cc
tests/base/graph_coloring_02.cc
tests/base/graph_coloring_02a.cc
tests/base/graph_coloring_03.cc
tests/base/graph_coloring_04.cc
tests/base/graph_coloring_05.cc
tests/base/graph_coloring_06.cc
tests/base/memory_consumption_03.cc
tests/base/time_stepping_01.cc
tests/base/time_stepping_02.cc
tests/base/unique_ptr_01.cc
tests/base/work_stream_03.cc
tests/base/work_stream_03_graph.cc
tests/base/work_stream_04.cc
tests/base/work_stream_05_graph.cc
tests/bits/fe_tools_05.cc
tests/bits/fe_tools_06.cc
tests/bits/fe_tools_06b.cc
tests/bits/fe_tools_06c.cc
tests/bits/fe_tools_06d.cc
tests/bits/fe_tools_07.cc
tests/bits/fe_tools_08.cc
tests/bits/fe_tools_common.h
tests/bits/step-51.cc
tests/bits/step-51p.cc
tests/dofs/dof_renumbering_02.cc
tests/dofs/dof_renumbering_03.cc
tests/dofs/dof_renumbering_04.cc
tests/dofs/dof_renumbering_05.cc
tests/dofs/dof_renumbering_06.cc
tests/dofs/dof_renumbering_07.cc
tests/dofs/dof_renumbering_08.cc
tests/dofs/dof_renumbering_zorder_01.cc
tests/dofs/dof_renumbering_zorder_02.cc
tests/fe/fe_q_dg0.cc
tests/fe/fe_values_function_manifold.cc
tests/grid/filtered_iterator.cc
tests/grid/filtered_iterator_02.cc
tests/grid/grid_parallelepiped_05.cc
tests/grid/grid_tools_halo_layer_01.cc
tests/grid/grid_tools_halo_layer_02.cc
tests/grid/grid_tools_halo_layer_03.cc
tests/grid/grid_tools_halo_layer_04.cc
tests/grid/grid_tools_halo_layer_05.cc
tests/grid/refinement_listener_02.cc
tests/grid/refinement_listener_03.cc
tests/grid/rotate_01.cc
tests/grid/twisted_parallelepiped_01.cc
tests/grid/twisted_parallelepiped_02.cc
tests/hp/distribute_dofs_linear_time.cc
tests/hp/step-27.cc
tests/integrators/cells_and_faces_01.cc
tests/integrators/functional_01.cc
tests/integrators/mesh_worker_01.cc
tests/integrators/mesh_worker_02.cc
tests/integrators/mesh_worker_03.cc
tests/integrators/mesh_worker_1d_dg.cc
tests/integrators/mesh_worker_matrix_01.cc
tests/lac/block_vector_iterator.cc
tests/lac/complex_block_vector_iterator.cc
tests/lac/constraints_block_01.cc
tests/lac/solver_signals.cc
tests/lac/vector_operations_parallel_for_start_end.cc
tests/lac/vector_operations_parallel_reduce_start_end.cc
tests/manifold/spherical_manifold_02.cc
tests/mappings/mapping_q_convergence.cc
tests/mappings/mapping_q_manifold_01.cc
tests/mappings/mapping_q_mixed_manifolds_01.cc
tests/mappings/mapping_q_mixed_manifolds_02.cc
tests/matrix_free/estimate_condition_number_mass.cc
tests/matrix_free/laplace_operator_01.cc
tests/matrix_free/laplace_operator_02.cc
tests/matrix_free/mass_operator_01.cc
tests/matrix_free/mass_operator_02.cc
tests/matrix_free/mass_operator_03.cc
tests/matrix_free/mass_operator_04.cc
tests/matrix_free/matrix_vector_12.cc
tests/matrix_free/matrix_vector_13.cc
tests/matrix_free/matrix_vector_20.cc
tests/matrix_free/matrix_vector_21.cc
tests/matrix_free/matrix_vector_22.cc
tests/matrix_free/matrix_vector_23.cc
tests/matrix_free/matrix_vector_mf.h
tests/matrix_free/matrix_vector_stokes_base.cc
tests/matrix_free/parallel_multigrid_02.cc
tests/matrix_free/parallel_multigrid_adaptive_02.cc
tests/matrix_free/parallel_multigrid_adaptive_04.cc
tests/mpi/cell_weights_01_back_and_forth_01.cc
tests/mpi/cell_weights_01_back_and_forth_02.cc
tests/mpi/cell_weights_02.cc
tests/mpi/cell_weights_03.cc
tests/mpi/cell_weights_04.cc
tests/mpi/cell_weights_05.cc
tests/mpi/cell_weights_06.cc
tests/mpi/crash_06.cc
tests/mpi/fe_tools_extrapolate_common.h
tests/mpi/mesh_worker_01.cc
tests/mpi/mesh_worker_02.cc
tests/mpi/mesh_worker_03.cc
tests/mpi/mesh_worker_04.cc
tests/mpi/mesh_worker_05.cc
tests/mpi/mesh_worker_matrix_01.cc
tests/mpi/tria_signals_02.cc
tests/mpi/tria_signals_03.cc
tests/mpi/tria_signals_04.cc
tests/mpi/tria_signals_05.cc
tests/mpi/tria_signals_06.cc
tests/multigrid/mg_renumbered_02.cc
tests/multigrid/mg_renumbered_03.cc
tests/numerics/assemble_matrix_parallel_01.cc
tests/numerics/assemble_matrix_parallel_02.cc
tests/numerics/assemble_matrix_parallel_03.cc
tests/numerics/assemble_matrix_parallel_04.cc
tests/numerics/data_out_04.cc
tests/numerics/data_out_faces_04.cc
tests/numerics/data_out_rotation_04.cc
tests/numerics/project_parallel_qpmf_common.h
tests/opencascade/closest_point_to_shape.cc
tests/opencascade/iges_describe.cc
tests/opencascade/step_describe.cc
tests/petsc/block_vector_iterator_03.cc
tests/physics/step-44-standard_tensors-material_push_forward.cc
tests/physics/step-44-standard_tensors-spatial.cc
tests/physics/step-44.cc
tests/quick_tests/tbb.cc
tests/trilinos/assemble_matrix_parallel_01.cc
tests/trilinos/assemble_matrix_parallel_02.cc
tests/trilinos/assemble_matrix_parallel_03.cc
tests/trilinos/assemble_matrix_parallel_04.cc
tests/trilinos/assemble_matrix_parallel_05.cc
tests/trilinos/assemble_matrix_parallel_06.cc
tests/trilinos/assemble_matrix_parallel_07.cc
tests/trilinos/block_vector_iterator_03.cc

index ce256ead6cff8550ad5b89d96abead50b7cdf5e6..0ee0a64f93f9fee44170a452227f9e522bad47fc 100644 (file)
@@ -777,20 +777,20 @@ namespace Step13
 
       WorkStream::run(dof_handler.begin_active(),
                       dof_handler.end(),
-                      std_cxx11::bind(&Solver<dim>::local_assemble_matrix,
-                                      this,
-                                      std_cxx11::_1,
-                                      std_cxx11::_2,
-                                      std_cxx11::_3),
-                      std_cxx11::bind(&Solver<dim>::copy_local_to_global,
-                                      this,
-                                      std_cxx11::_1,
-                                      std_cxx11::ref(linear_system)),
+                      std::bind(&Solver<dim>::local_assemble_matrix,
+                                this,
+                                std::placeholders::_1,
+                                std::placeholders::_2,
+                                std::placeholders::_3),
+                      std::bind(&Solver<dim>::copy_local_to_global,
+                                this,
+                                std::placeholders::_1,
+                                std::ref(linear_system)),
                       AssemblyScratchData(*fe, *quadrature),
                       AssemblyCopyData());
       linear_system.hanging_node_constraints.condense (linear_system.matrix);
 
-      // The syntax above using <code>std_cxx11::bind</code> requires
+      // The syntax above using <code>std::bind</code> requires
       // some explanation. There are multiple version of
       // WorkStream::run that expect different arguments. In step-9,
       // we used one version that took a pair of iterators, a pair of
@@ -824,7 +824,7 @@ namespace Step13
       // typical way to generate such function objects is using
       // <code>std::bind</code> (or, if the compiler is too old, a
       // replacement for it, which we generically call
-      // <code>std_cxx11::bind</code>) which takes a pointer to a
+      // <code>std::bind</code>) which takes a pointer to a
       // (member) function and then <i>binds</i> individual arguments
       // to fixed values. For example, you can create a function that
       // takes an iterator, a scratch object and a copy object by
@@ -840,9 +840,9 @@ namespace Step13
       // that can then be filled by WorkStream::run().
       //
       // There remains the question of what the
-      // <code>std_cxx11::_1</code>, <code>std_cxx11::_2</code>, etc.,
+      // <code>std::placeholders::_1</code>, <code>std::placeholders::_2</code>, etc.,
       // mean. (These arguments are called <i>placeholders</i>.) The
-      // idea of using <code>std_cxx11::bind</code> in the first of
+      // idea of using <code>std::bind</code> in the first of
       // the two cases above is that it produces an object that can be
       // called with three arguments. But how are the three arguments
       // the function object is being called with going to be
@@ -855,9 +855,9 @@ namespace Step13
       // games in other circumstances. Consider, for example, having a
       // function <code>void f(double x, double y)</code>. Then,
       // creating a variable <code>p</code> of type
-      // <code>std_cxx11::function@<void f(double,double)@></code> and
-      // initializing <code>p=std_cxx11::bind(&f, std_cxx11::_2,
-      // std_cxx11::_1)</code> then calling <code>p(1,2)</code> will
+      // <code>std::function@<void f(double,double)@></code> and
+      // initializing <code>p=std::bind(&f, std::placeholders::_2,
+      // std::placeholders::_1)</code> then calling <code>p(1,2)</code> will
       // result in calling <code>f(2,1)</code>.
       //
       // @note Once deal.II can rely on every compiler being able to
index 6d039dac53e11b299a0435bebff4fe10caa7ee69..d98966313f962ed53b56d45e33ab83d90cddbace 100644 (file)
@@ -23,7 +23,6 @@
 #include <deal.II/base/function.h>
 #include <deal.II/base/logstream.h>
 #include <deal.II/base/thread_management.h>
-#include <deal.II/base/std_cxx11/unique_ptr.h>
 #include <deal.II/base/work_stream.h>
 #include <deal.II/lac/vector.h>
 #include <deal.II/lac/full_matrix.h>
@@ -55,6 +54,7 @@
 #include <algorithm>
 #include <numeric>
 #include <sstream>
+#include <memory>
 
 // The last step is as in all previous programs:
 namespace Step14
@@ -569,15 +569,15 @@ namespace Step14
 
       WorkStream::run(dof_handler.begin_active(),
                       dof_handler.end(),
-                      std_cxx11::bind(&Solver<dim>::local_assemble_matrix,
-                                      this,
-                                      std_cxx11::_1,
-                                      std_cxx11::_2,
-                                      std_cxx11::_3),
-                      std_cxx11::bind(&Solver<dim>::copy_local_to_global,
-                                      this,
-                                      std_cxx11::_1,
-                                      std_cxx11::ref(linear_system)),
+                      std::bind(&Solver<dim>::local_assemble_matrix,
+                                this,
+                                std::placeholders::_1,
+                                std::placeholders::_2,
+                                std::placeholders::_3),
+                      std::bind(&Solver<dim>::copy_local_to_global,
+                                this,
+                                std::placeholders::_1,
+                                std::ref(linear_system)),
                       AssemblyScratchData(*fe, *quadrature),
                       AssemblyCopyData());
       linear_system.hanging_node_constraints.condense (linear_system.matrix);
@@ -1958,7 +1958,7 @@ namespace Step14
       // in step-9:
       void estimate_error (Vector<float> &error_indicators) const;
 
-      void estimate_on_one_cell (const SynchronousIterators<std_cxx11::tuple<
+      void estimate_on_one_cell (const SynchronousIterators<std::tuple<
                                  active_cell_iterator,Vector<float>::iterator> > &cell_and_error,
                                  WeightedResidualScratchData                     &scratch_data,
                                  WeightedResidualCopyData                        &copy_data,
@@ -1969,7 +1969,7 @@ namespace Step14
       // interiors, on those faces that have no hanging nodes, and on those
       // faces with hanging nodes, respectively:
       void
-      integrate_over_cell (const SynchronousIterators<std_cxx11::tuple<
+      integrate_over_cell (const SynchronousIterators<std::tuple<
                            active_cell_iterator,Vector<float>::iterator> > &cell_and_error,
                            const Vector<double>                            &primal_solution,
                            const Vector<double>                            &dual_weights,
@@ -2369,7 +2369,7 @@ namespace Step14
                                .get_triangulation().n_active_cells());
 
       typedef
-      std_cxx11::tuple<active_cell_iterator,Vector<float>::iterator>
+      std::tuple<active_cell_iterator,Vector<float>::iterator>
       IteratorTuple;
 
       SynchronousIterators<IteratorTuple>
@@ -2381,13 +2381,13 @@ namespace Step14
 
       WorkStream::run(cell_and_error_begin,
                       cell_and_error_end,
-                      std_cxx11::bind(&WeightedResidual<dim>::estimate_on_one_cell,
-                                      this,
-                                      std_cxx11::_1,
-                                      std_cxx11::_2,
-                                      std_cxx11::_3,
-                                      std_cxx11::ref(face_integrals)),
-                      std_cxx11::function<void (const WeightedResidualCopyData &)>(),
+                      std::bind(&WeightedResidual<dim>::estimate_on_one_cell,
+                                this,
+                                std::placeholders::_1,
+                                std::placeholders::_2,
+                                std::placeholders::_3,
+                                std::ref(face_integrals)),
+                      std::function<void (const WeightedResidualCopyData &)>(),
                       WeightedResidualScratchData (*DualSolver<dim>::fe,
                                                    *DualSolver<dim>::quadrature,
                                                    *DualSolver<dim>::face_quadrature,
@@ -2430,7 +2430,7 @@ namespace Step14
     template <int dim>
     void
     WeightedResidual<dim>::
-    estimate_on_one_cell (const SynchronousIterators<std_cxx11::tuple<
+    estimate_on_one_cell (const SynchronousIterators<std::tuple<
                           active_cell_iterator,Vector<float>::iterator> > &cell_and_error,
                           WeightedResidualScratchData                       &scratch_data,
                           WeightedResidualCopyData                          &copy_data,
@@ -2444,7 +2444,7 @@ namespace Step14
       // First task on each cell is to compute the cell residual
       // contributions of this cell, and put them into the
       // <code>error_indicators</code> variable:
-      active_cell_iterator cell = std_cxx11::get<0>(*cell_and_error);
+      active_cell_iterator cell = std::get<0>(*cell_and_error);
 
       integrate_over_cell (cell_and_error,
                            scratch_data.primal_solution,
@@ -2523,7 +2523,7 @@ namespace Step14
     // the cell terms:
     template <int dim>
     void WeightedResidual<dim>::
-    integrate_over_cell (const SynchronousIterators<std_cxx11::tuple<
+    integrate_over_cell (const SynchronousIterators<std::tuple<
                          active_cell_iterator,Vector<float>::iterator> >   &cell_and_error,
                          const Vector<double>                              &primal_solution,
                          const Vector<double>                              &dual_weights,
@@ -2533,7 +2533,7 @@ namespace Step14
       // error estimation formula: first get the right hand side and Laplacian
       // of the numerical solution at the quadrature points for the cell
       // residual,
-      cell_data.fe_values.reinit (std_cxx11::get<0>(*cell_and_error));
+      cell_data.fe_values.reinit (std::get<0>(*cell_and_error));
       cell_data.right_hand_side
       ->value_list (cell_data.fe_values.get_quadrature_points(),
                     cell_data.rhs_values);
@@ -2551,7 +2551,7 @@ namespace Step14
         sum += ((cell_data.rhs_values[p]+cell_data.cell_laplacians[p]) *
                 cell_data.dual_weights[p] *
                 cell_data.fe_values.JxW (p));
-      *(std_cxx11::get<1>(*cell_and_error)) += sum;
+      *(std::get<1>(*cell_and_error)) += sum;
     }
 
 
@@ -2807,7 +2807,7 @@ namespace Step14
       // side, domain, boundary values, etc. The pointer needed here defaults
       // to the Null pointer, i.e. you will have to set it in actual instances
       // of this object to make it useful.
-      std_cxx11::unique_ptr<const Data::SetUpBase<dim> > data;
+      std::unique_ptr<const Data::SetUpBase<dim> > data;
 
       // Since we allow to use different refinement criteria (global
       // refinement, refinement by the Kelly error indicator, possibly with a
@@ -2827,7 +2827,7 @@ namespace Step14
       // Next, an object that describes the dual functional. It is only needed
       // if the dual weighted residual refinement is chosen, and also defaults
       // to a Null pointer.
-      std_cxx11::unique_ptr<const DualFunctional::DualFunctionalBase<dim> >
+      std::unique_ptr<const DualFunctional::DualFunctionalBase<dim> >
       dual_functional;
 
       // Then a list of evaluation objects. Its default value is empty,
@@ -2839,7 +2839,7 @@ namespace Step14
       // pointer is zero, but you have to set it to some other value if you
       // want to use the <code>weighted_kelly_indicator</code> refinement
       // criterion.
-      std_cxx11::unique_ptr<const Function<dim> > kelly_weight;
+      std::unique_ptr<const Function<dim> > kelly_weight;
 
       // Finally, we have a variable that denotes the maximum number of
       // degrees of freedom we allow for the (primal) discretization. If it is
@@ -2889,7 +2889,7 @@ namespace Step14
 
     // Next, select one of the classes implementing different refinement
     // criteria.
-    std_cxx11::unique_ptr<LaplaceSolver::Base<dim> > solver;
+    std::unique_ptr<LaplaceSolver::Base<dim> > solver;
     switch (descriptor.refinement_criterion)
       {
       case ProblemDescription::dual_weighted_error_estimator:
index a92abd80f9ae4e100ca9a06f2d8be45011e902ea..869be04b86ad252712d1ef24dde6d663909188bc 100644 (file)
@@ -149,7 +149,7 @@ namespace Step22
     // in how many places a preconditioner object is still referenced, it can
     // never create a memory leak, and can never produce a dangling pointer to
     // an already destroyed object:
-    std_cxx11::shared_ptr<typename InnerPreconditioner<dim>::type> A_preconditioner;
+    std::shared_ptr<typename InnerPreconditioner<dim>::type> A_preconditioner;
   };
 
   // @sect3{Boundary values and right hand side}
@@ -715,7 +715,7 @@ namespace Step22
     std::cout << "   Computing preconditioner..." << std::endl << std::flush;
 
     A_preconditioner
-      = std_cxx11::shared_ptr<typename InnerPreconditioner<dim>::type>(new typename InnerPreconditioner<dim>::type());
+      = std::shared_ptr<typename InnerPreconditioner<dim>::type>(new typename InnerPreconditioner<dim>::type());
     A_preconditioner->initialize (system_matrix.block(0,0),
                                   typename InnerPreconditioner<dim>::type::AdditionalData());
 
index 1829c33abdf633e71643fdf5c8f4e5116026e2eb..43cf9f97dc6c90f6ca4aa340145a6b8f7f136663 100644 (file)
@@ -111,7 +111,7 @@ namespace Step27
     hp::QCollection<dim-1>   face_quadrature_collection;
 
     hp::QCollection<dim> fourier_q_collection;
-    std_cxx11::shared_ptr<FESeries::Fourier<dim> > fourier;
+    std::shared_ptr<FESeries::Fourier<dim> > fourier;
     std::vector<double> ln_k;
     Table<dim,std::complex<double> > fourier_coefficients;
 
@@ -235,9 +235,9 @@ namespace Step27
       fourier_q_collection.push_back(quadrature);
 
     // Now we are ready to set-up the FESeries::Fourier object
-    fourier = std_cxx11::make_shared<FESeries::Fourier<dim> >(N,
-                                                              fe_collection,
-                                                              fourier_q_collection);
+    fourier = std::make_shared<FESeries::Fourier<dim> >(N,
+                                                        fe_collection,
+                                                        fourier_q_collection);
 
     // We need to resize the matrix of fourier coefficients according to the
     // number of modes N.
@@ -756,9 +756,9 @@ namespace Step27
         // k}|$ and thereby need to use VectorTools::Linfty_norm:
         std::pair<std::vector<unsigned int>, std::vector<double> > res =
           FESeries::process_coefficients<dim>(fourier_coefficients,
-                                              std_cxx11::bind(&LaplaceProblem<dim>::predicate,
-                                                              this,
-                                                              std_cxx11::_1),
+                                              std::bind(&LaplaceProblem<dim>::predicate,
+                                                        this,
+                                                        std::placeholders::_1),
                                               VectorTools::Linfty_norm);
 
         Assert (res.first.size() == res.second.size(),
index e978df2b04fb793926b6f1e43b7d8fd5dafa0141..b276617ce61cda442751a9351836301d8230d8bf 100644 (file)
@@ -541,8 +541,8 @@ namespace Step31
     double                              old_time_step;
     unsigned int                        timestep_number;
 
-    std_cxx11::shared_ptr<TrilinosWrappers::PreconditionAMG> Amg_preconditioner;
-    std_cxx11::shared_ptr<TrilinosWrappers::PreconditionIC>  Mp_preconditioner;
+    std::shared_ptr<TrilinosWrappers::PreconditionAMG> Amg_preconditioner;
+    std::shared_ptr<TrilinosWrappers::PreconditionIC>  Mp_preconditioner;
 
     bool                                rebuild_stokes_matrix;
     bool                                rebuild_temperature_matrices;
@@ -1185,7 +1185,7 @@ namespace Step31
 
     assemble_stokes_preconditioner ();
 
-    Amg_preconditioner = std_cxx11::shared_ptr<TrilinosWrappers::PreconditionAMG>
+    Amg_preconditioner = std::shared_ptr<TrilinosWrappers::PreconditionAMG>
                          (new TrilinosWrappers::PreconditionAMG());
 
     std::vector<std::vector<bool> > constant_modes;
@@ -1221,7 +1221,7 @@ namespace Step31
     // (IC) factorization preconditioner, which is designed for symmetric
     // matrices. We could have also chosen an SSOR preconditioner with
     // relaxation factor around 1.2, but IC is cheaper for our example. We
-    // wrap the preconditioners into a <code>std_cxx11::shared_ptr</code>
+    // wrap the preconditioners into a <code>std::shared_ptr</code>
     // pointer, which makes it easier to recreate the preconditioner next time
     // around since we do not have to care about destroying the previously
     // used object.
@@ -1232,7 +1232,7 @@ namespace Step31
     Amg_preconditioner->initialize(stokes_preconditioner_matrix.block(0,0),
                                    amg_data);
 
-    Mp_preconditioner = std_cxx11::shared_ptr<TrilinosWrappers::PreconditionIC>
+    Mp_preconditioner = std::shared_ptr<TrilinosWrappers::PreconditionIC>
                         (new TrilinosWrappers::PreconditionIC());
     Mp_preconditioner->initialize(stokes_preconditioner_matrix.block(1,1));
 
index 0376cc7c314cb46de4f3107687e8faa00d67b14d..1479a59274fa9ba9542a7333226203c0d6969765 100644 (file)
@@ -911,9 +911,9 @@ namespace Step32
     double                                    old_time_step;
     unsigned int                              timestep_number;
 
-    std_cxx11::shared_ptr<TrilinosWrappers::PreconditionAMG>    Amg_preconditioner;
-    std_cxx11::shared_ptr<TrilinosWrappers::PreconditionJacobi> Mp_preconditioner;
-    std_cxx11::shared_ptr<TrilinosWrappers::PreconditionJacobi> T_preconditioner;
+    std::shared_ptr<TrilinosWrappers::PreconditionAMG>    Amg_preconditioner;
+    std::shared_ptr<TrilinosWrappers::PreconditionJacobi> Mp_preconditioner;
+    std::shared_ptr<TrilinosWrappers::PreconditionJacobi> T_preconditioner;
 
     bool                                      rebuild_stokes_matrix;
     bool                                      rebuild_stokes_preconditioner;
@@ -2234,12 +2234,12 @@ namespace Step32
   // specific signatures: three arguments in the first and one
   // argument in the latter case (see the documentation of the
   // WorkStream::run function for the meaning of these arguments).
-  // Note how we use the construct <code>std_cxx11::bind</code> to
+  // Note how we use the construct <code>std::bind</code> to
   // create a function object that satisfies this requirement. It uses
-  // placeholders <code>std_cxx11::_1, std_cxx11::_2,
-  // std_cxx11::_3</code> for the local assembly function that specify
+  // placeholders <code>std::placeholders::_1, std::placeholders::_2,
+  // std::placeholders::_3</code> for the local assembly function that specify
   // cell, scratch data, and copy data, as well as the placeholder
-  // <code>std_cxx11::_1</code> for the copy function that expects the
+  // <code>std::placeholders::_1</code> for the copy function that expects the
   // data to be written into the global matrix (for placeholder
   // arguments, also see the discussion in step-13's
   // <code>assemble_linear_system()</code> function). On the other
@@ -2281,16 +2281,16 @@ namespace Step32
                      stokes_dof_handler.begin_active()),
          CellFilter (IteratorFilters::LocallyOwnedCell(),
                      stokes_dof_handler.end()),
-         std_cxx11::bind (&BoussinesqFlowProblem<dim>::
-                          local_assemble_stokes_preconditioner,
-                          this,
-                          std_cxx11::_1,
-                          std_cxx11::_2,
-                          std_cxx11::_3),
-         std_cxx11::bind (&BoussinesqFlowProblem<dim>::
-                          copy_local_to_global_stokes_preconditioner,
-                          this,
-                          std_cxx11::_1),
+         std::bind (&BoussinesqFlowProblem<dim>::
+                    local_assemble_stokes_preconditioner,
+                    this,
+                    std::placeholders::_1,
+                    std::placeholders::_2,
+                    std::placeholders::_3),
+         std::bind (&BoussinesqFlowProblem<dim>::
+                    copy_local_to_global_stokes_preconditioner,
+                    this,
+                    std::placeholders::_1),
          Assembly::Scratch::
          StokesPreconditioner<dim> (stokes_fe, quadrature_formula,
                                     mapping,
@@ -2472,16 +2472,16 @@ namespace Step32
                      stokes_dof_handler.begin_active()),
          CellFilter (IteratorFilters::LocallyOwnedCell(),
                      stokes_dof_handler.end()),
-         std_cxx11::bind (&BoussinesqFlowProblem<dim>::
-                          local_assemble_stokes_system,
-                          this,
-                          std_cxx11::_1,
-                          std_cxx11::_2,
-                          std_cxx11::_3),
-         std_cxx11::bind (&BoussinesqFlowProblem<dim>::
-                          copy_local_to_global_stokes_system,
-                          this,
-                          std_cxx11::_1),
+         std::bind (&BoussinesqFlowProblem<dim>::
+                    local_assemble_stokes_system,
+                    this,
+                    std::placeholders::_1,
+                    std::placeholders::_2,
+                    std::placeholders::_3),
+         std::bind (&BoussinesqFlowProblem<dim>::
+                    copy_local_to_global_stokes_system,
+                    this,
+                    std::placeholders::_1),
          Assembly::Scratch::
          StokesSystem<dim> (stokes_fe, mapping, quadrature_formula,
                             (update_values    |
@@ -2593,16 +2593,16 @@ namespace Step32
                      temperature_dof_handler.begin_active()),
          CellFilter (IteratorFilters::LocallyOwnedCell(),
                      temperature_dof_handler.end()),
-         std_cxx11::bind (&BoussinesqFlowProblem<dim>::
-                          local_assemble_temperature_matrix,
-                          this,
-                          std_cxx11::_1,
-                          std_cxx11::_2,
-                          std_cxx11::_3),
-         std_cxx11::bind (&BoussinesqFlowProblem<dim>::
-                          copy_local_to_global_temperature_matrix,
-                          this,
-                          std_cxx11::_1),
+         std::bind (&BoussinesqFlowProblem<dim>::
+                    local_assemble_temperature_matrix,
+                    this,
+                    std::placeholders::_1,
+                    std::placeholders::_2,
+                    std::placeholders::_3),
+         std::bind (&BoussinesqFlowProblem<dim>::
+                    copy_local_to_global_temperature_matrix,
+                    this,
+                    std::placeholders::_1),
          Assembly::Scratch::
          TemperatureMatrix<dim> (temperature_fe, mapping, quadrature_formula),
          Assembly::CopyData::
@@ -2889,19 +2889,19 @@ namespace Step32
                      temperature_dof_handler.begin_active()),
          CellFilter (IteratorFilters::LocallyOwnedCell(),
                      temperature_dof_handler.end()),
-         std_cxx11::bind (&BoussinesqFlowProblem<dim>::
-                          local_assemble_temperature_rhs,
-                          this,
-                          global_T_range,
-                          maximal_velocity,
-                          global_entropy_variation,
-                          std_cxx11::_1,
-                          std_cxx11::_2,
-                          std_cxx11::_3),
-         std_cxx11::bind (&BoussinesqFlowProblem<dim>::
-                          copy_local_to_global_temperature_rhs,
-                          this,
-                          std_cxx11::_1),
+         std::bind (&BoussinesqFlowProblem<dim>::
+                    local_assemble_temperature_rhs,
+                    this,
+                    global_T_range,
+                    maximal_velocity,
+                    global_entropy_variation,
+                    std::placeholders::_1,
+                    std::placeholders::_2,
+                    std::placeholders::_3),
+         std::bind (&BoussinesqFlowProblem<dim>::
+                    copy_local_to_global_temperature_rhs,
+                    this,
+                    std::placeholders::_1),
          Assembly::Scratch::
          TemperatureRHS<dim> (temperature_fe, stokes_fe, mapping,
                               quadrature_formula),
index c88c233ed503902c19a50e4b1fafeabbbd4b1991..3629f3cfe6a0b3818cb6618db39825253024a889 100644 (file)
@@ -28,7 +28,6 @@
 #include <deal.II/base/function_parser.h>
 #include <deal.II/base/utilities.h>
 #include <deal.II/base/conditional_ostream.h>
-#include <deal.II/base/std_cxx11/array.h>
 
 #include <deal.II/lac/vector.h>
 #include <deal.II/lac/dynamic_sparsity_pattern.h>
@@ -81,6 +80,7 @@ DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 #include <fstream>
 #include <vector>
 #include <memory>
+#include <array>
 
 // To end this section, introduce everything in the dealii library into the
 // namespace into which the contents of this program will go:
@@ -220,7 +220,7 @@ namespace Step33
     template <typename InputVector>
     static
     void compute_flux_matrix (const InputVector &W,
-                              std_cxx11::array <std_cxx11::array
+                              std::array <std::array
                               <typename InputVector::value_type, dim>,
                               EulerEquations<dim>::n_components > &flux)
     {
@@ -264,12 +264,12 @@ namespace Step33
                                 const InputVector                  &Wplus,
                                 const InputVector                  &Wminus,
                                 const double                        alpha,
-                                std_cxx11::array
+                                std::array
                                 <typename InputVector::value_type, n_components>
                                 &normal_flux)
     {
-      std_cxx11::array
-      <std_cxx11::array <typename InputVector::value_type, dim>,
+      std::array
+      <std::array <typename InputVector::value_type, dim>,
       EulerEquations<dim>::n_components > iflux, oflux;
 
       compute_flux_matrix (Wplus, iflux);
@@ -298,7 +298,7 @@ namespace Step33
     template <typename InputVector>
     static
     void compute_forcing_vector (const InputVector &W,
-                                 std_cxx11::array
+                                 std::array
                                  <typename InputVector::value_type, n_components>
                                  &forcing)
     {
@@ -1763,16 +1763,16 @@ namespace Step33
     // later easily be computed from it:
 
     std::vector <
-    std_cxx11::array <std_cxx11::array <Sacado::Fad::DFad<double>, dim>, EulerEquations<dim>::n_components >
+    std::array <std::array <Sacado::Fad::DFad<double>, dim>, EulerEquations<dim>::n_components >
     > flux(n_q_points);
 
     std::vector <
-    std_cxx11::array <std_cxx11::array <double, dim>, EulerEquations<dim>::n_components >
+    std::array <std::array <double, dim>, EulerEquations<dim>::n_components >
     > flux_old(n_q_points);
 
-    std::vector < std_cxx11::array< Sacado::Fad::DFad<double>, EulerEquations<dim>::n_components> > forcing(n_q_points);
+    std::vector < std::array< Sacado::Fad::DFad<double>, EulerEquations<dim>::n_components> > forcing(n_q_points);
 
-    std::vector < std_cxx11::array< double, EulerEquations<dim>::n_components> > forcing_old(n_q_points);
+    std::vector < std::array< double, EulerEquations<dim>::n_components> > forcing_old(n_q_points);
 
     for (unsigned int q=0; q<n_q_points; ++q)
       {
@@ -2013,8 +2013,8 @@ namespace Step33
     // that does so, we also need to determine the Lax-Friedrich's stability
     // parameter:
 
-    std::vector< std_cxx11::array < Sacado::Fad::DFad<double>, EulerEquations<dim>::n_components> >  normal_fluxes(n_q_points);
-    std::vector< std_cxx11::array < double, EulerEquations<dim>::n_components> >  normal_fluxes_old(n_q_points);
+    std::vector< std::array < Sacado::Fad::DFad<double>, EulerEquations<dim>::n_components> >  normal_fluxes(n_q_points);
+    std::vector< std::array < double, EulerEquations<dim>::n_components> >  normal_fluxes_old(n_q_points);
 
     double alpha;
 
index 0e7253f1a70b605488c74c5c54b587cf904b2ce5..fc1981cd56636fbd02524090aad1f0e03a64569a 100644 (file)
@@ -287,7 +287,7 @@ namespace Step34
     Functions::ParsedFunction<dim> exact_solution;
 
     unsigned int singular_quadrature_order;
-    std_cxx11::shared_ptr<Quadrature<dim-1> > quadrature;
+    std::shared_ptr<Quadrature<dim-1> > quadrature;
 
     SolverControl solver_control;
 
@@ -431,7 +431,7 @@ namespace Step34
     prm.enter_subsection("Quadrature rules");
     {
       quadrature =
-        std_cxx11::shared_ptr<Quadrature<dim-1> >
+        std::shared_ptr<Quadrature<dim-1> >
         (new QuadratureSelector<dim-1> (prm.get("Quadrature type"),
                                         prm.get_integer("Quadrature order")));
       singular_quadrature_order = prm.get_integer("Singular quadrature order");
index 4ccaaea4bce9741d0dee7a1a0b50ce3716389a4e..e4885ca8249dacd7f8b8c37360f75a0b2e58f6d5 100644 (file)
@@ -521,7 +521,7 @@ namespace Step35
     // the iterators stored internally is moved up one step as well, thereby
     // always staying in sync. As it so happens, there is a deal.II class that
     // facilitates this sort of thing.
-    typedef std_cxx11::tuple< typename DoFHandler<dim>::active_cell_iterator,
+    typedef std::tuple< typename DoFHandler<dim>::active_cell_iterator,
             typename DoFHandler<dim>::active_cell_iterator
             > IteratorTuple;
 
@@ -898,11 +898,11 @@ namespace Step35
                                  InitGradScratchData &scratch,
                                  InitGradPerTaskData &data)
   {
-    scratch.fe_val_vel.reinit (std_cxx11::get<0> (*SI));
-    scratch.fe_val_pres.reinit (std_cxx11::get<1> (*SI));
+    scratch.fe_val_vel.reinit (std::get<0> (*SI));
+    scratch.fe_val_pres.reinit (std::get<1> (*SI));
 
-    std_cxx11::get<0> (*SI)->get_dof_indices (data.vel_local_dof_indices);
-    std_cxx11::get<1> (*SI)->get_dof_indices (data.pres_local_dof_indices);
+    std::get<0> (*SI)->get_dof_indices (data.vel_local_dof_indices);
+    std::get<1> (*SI)->get_dof_indices (data.pres_local_dof_indices);
 
     data.local_grad = 0.;
     for (unsigned int q=0; q<scratch.nqp; ++q)
index cf933343691ebc0ad05b772a363c0995c8de224c..d0547ac1ffdc078bc9c528e8de5542869f5cc960 100644 (file)
@@ -841,7 +841,7 @@ namespace Step37
         MatrixFree<dim,double>::AdditionalData::none;
       additional_data.mapping_update_flags = (update_gradients | update_JxW_values |
                                               update_quadrature_points);
-      std_cxx11::shared_ptr<MatrixFree<dim,double> >
+      std::shared_ptr<MatrixFree<dim,double> >
       system_mf_storage(new MatrixFree<dim,double>());
       system_mf_storage->reinit (dof_handler, constraints, QGauss<1>(fe.degree+1),
                                  additional_data);
@@ -891,7 +891,7 @@ namespace Step37
         additional_data.mapping_update_flags = (update_gradients | update_JxW_values |
                                                 update_quadrature_points);
         additional_data.level_mg_handler = level;
-        std_cxx11::shared_ptr<MatrixFree<dim,float> >
+        std::shared_ptr<MatrixFree<dim,float> >
         mg_mf_storage_level(new MatrixFree<dim,float>());
         mg_mf_storage_level->reinit(dof_handler, level_constraints,
                                     QGauss<1>(fe.degree+1), additional_data);
index 0c5c8650efe6a32b0eafb469292b2e7cd3b20c98..405cac8a65a130f46cc57a06bbaabb23f22ac1c6 100644 (file)
@@ -751,7 +751,7 @@ namespace Step42
     // one shot at setting it; the same is true for the mesh refinement
     // criterion):
     const std::string                                  base_mesh;
-    const std_cxx11::shared_ptr<const Function<dim> >  obstacle;
+    const std::shared_ptr<const Function<dim> >  obstacle;
 
     struct RefinementStrategy
     {
index d4b14d64e1baa0eb5cc3dad043226386ec62dbbf..c47bdcdc822c3d15ad61233e8935ac5d7baa667e 100644 (file)
@@ -32,7 +32,6 @@
 #include <deal.II/base/utilities.h>
 #include <deal.II/base/function.h>
 #include <deal.II/base/tensor_function.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/base/index_set.h>
 
 #include <deal.II/lac/full_matrix.h>
@@ -69,6 +68,7 @@
 #include <iostream>
 #include <fstream>
 #include <sstream>
+#include <memory>
 
 
 // At the end of this top-matter, we open a namespace for the current project
@@ -591,8 +591,8 @@ namespace Step43
     const double                         porosity;
     const double                         AOS_threshold;
 
-    std_cxx11::shared_ptr<TrilinosWrappers::PreconditionIC> Amg_preconditioner;
-    std_cxx11::shared_ptr<TrilinosWrappers::PreconditionIC> Mp_preconditioner;
+    std::shared_ptr<TrilinosWrappers::PreconditionIC> Amg_preconditioner;
+    std::shared_ptr<TrilinosWrappers::PreconditionIC> Mp_preconditioner;
 
     bool                                rebuild_saturation_matrix;
 
@@ -981,11 +981,11 @@ namespace Step43
   {
     assemble_darcy_preconditioner ();
 
-    Amg_preconditioner = std_cxx11::shared_ptr<TrilinosWrappers::PreconditionIC>
+    Amg_preconditioner = std::shared_ptr<TrilinosWrappers::PreconditionIC>
                          (new TrilinosWrappers::PreconditionIC());
     Amg_preconditioner->initialize(darcy_preconditioner_matrix.block(0,0));
 
-    Mp_preconditioner = std_cxx11::shared_ptr<TrilinosWrappers::PreconditionIC>
+    Mp_preconditioner = std::shared_ptr<TrilinosWrappers::PreconditionIC>
                         (new TrilinosWrappers::PreconditionIC());
     Mp_preconditioner->initialize(darcy_preconditioner_matrix.block(1,1));
 
index 964a07c4a63e36ceb8659171c5f69b1abb8e4d42..2cecb638c34c586746b5c8c0ab53701413a93658 100644 (file)
@@ -800,7 +800,7 @@ namespace Step44
     // materials are used in different regions of the domain, as well as the
     // inverse of the deformation gradient...
   private:
-    std_cxx11::shared_ptr< Material_Compressible_Neo_Hook_Three_Field<dim> > material;
+    std::shared_ptr< Material_Compressible_Neo_Hook_Three_Field<dim> > material;
 
     Tensor<2, dim> F_inv;
 
@@ -2111,14 +2111,14 @@ namespace Step44
     // non-constant.
     WorkStream::run(dof_handler_ref.begin_active(),
                     dof_handler_ref.end(),
-                    std_cxx11::bind(&Solid<dim>::assemble_system_tangent_one_cell,
-                                    this,
-                                    std_cxx11::_1,
-                                    std_cxx11::_2,
-                                    std_cxx11::_3),
-                    std_cxx11::bind(&Solid<dim>::copy_local_to_global_K,
-                                    this,
-                                    std_cxx11::_1),
+                    std::bind(&Solid<dim>::assemble_system_tangent_one_cell,
+                              this,
+                              std::placeholders::_1,
+                              std::placeholders::_2,
+                              std::placeholders::_3),
+                    std::bind(&Solid<dim>::copy_local_to_global_K,
+                              this,
+                              std::placeholders::_1),
                     scratch_data,
                     per_task_data);
 
@@ -2293,14 +2293,14 @@ namespace Step44
 
     WorkStream::run(dof_handler_ref.begin_active(),
                     dof_handler_ref.end(),
-                    std_cxx11::bind(&Solid<dim>::assemble_system_rhs_one_cell,
-                                    this,
-                                    std_cxx11::_1,
-                                    std_cxx11::_2,
-                                    std_cxx11::_3),
-                    std_cxx11::bind(&Solid<dim>::copy_local_to_global_rhs,
-                                    this,
-                                    std_cxx11::_1),
+                    std::bind(&Solid<dim>::assemble_system_rhs_one_cell,
+                              this,
+                              std::placeholders::_1,
+                              std::placeholders::_2,
+                              std::placeholders::_3),
+                    std::bind(&Solid<dim>::copy_local_to_global_rhs,
+                              this,
+                              std::placeholders::_1),
                     scratch_data,
                     per_task_data);
 
index e14dbaaf03133180dd8cad4b5247aec2161201ec..2b987bf4dad3b61163cccd279b5da0798b224344 100644 (file)
@@ -1034,10 +1034,10 @@ namespace Step51
 
       WorkStream::run(dof_handler_u_post.begin_active(),
                       dof_handler_u_post.end(),
-                      std_cxx11::bind (&HDG<dim>::postprocess_one_cell,
-                                       std_cxx11::ref(*this),
-                                       std_cxx11::_1, std_cxx11::_2, std_cxx11::_3),
-                      std_cxx11::function<void(const unsigned int &)>(),
+                      std::bind (&HDG<dim>::postprocess_one_cell,
+                                 std::ref(*this),
+                                 std::placeholders::_1, std::placeholders::_2, std::placeholders::_3),
+                      std::function<void(const unsigned int &)>(),
                       scratch,
                       0U);
     }
index d913d5256755dafde4074639e0bfda1831d824bd..c964f400b997d09e9de9f36a46a8169c48088630 100644 (file)
@@ -481,10 +481,10 @@ namespace Step52
     for (unsigned int i=0; i<n_time_steps; ++i)
       {
         time = explicit_runge_kutta.evolve_one_time_step(
-                 std_cxx11::bind(&Diffusion::evaluate_diffusion,
-                                 this,
-                                 std_cxx11::_1,
-                                 std_cxx11::_2),
+                 std::bind(&Diffusion::evaluate_diffusion,
+                           this,
+                           std::placeholders::_1,
+                           std::placeholders::_2),
                  time,time_step,solution);
 
         if ((i+1)%10==0)
@@ -513,15 +513,15 @@ namespace Step52
     for (unsigned int i=0; i<n_time_steps; ++i)
       {
         time = implicit_runge_kutta.evolve_one_time_step(
-                 std_cxx11::bind(&Diffusion::evaluate_diffusion,
-                                 this,
-                                 std_cxx11::_1,
-                                 std_cxx11::_2),
-                 std_cxx11::bind(&Diffusion::id_minus_tau_J_inverse,
-                                 this,
-                                 std_cxx11::_1,
-                                 std_cxx11::_2,
-                                 std_cxx11::_3),
+                 std::bind(&Diffusion::evaluate_diffusion,
+                           this,
+                           std::placeholders::_1,
+                           std::placeholders::_2),
+                 std::bind(&Diffusion::id_minus_tau_J_inverse,
+                           this,
+                           std::placeholders::_1,
+                           std::placeholders::_2,
+                           std::placeholders::_3),
                  time,time_step,solution);
 
         if ((i+1)%10==0)
@@ -580,7 +580,7 @@ namespace Step52
           time_step = final_time-time;
 
         time = embedded_explicit_runge_kutta.evolve_one_time_step(
-                 std_cxx11::bind(&Diffusion::evaluate_diffusion,this,std_cxx11::_1,std_cxx11::_2),
+                 std::bind(&Diffusion::evaluate_diffusion,this,std::placeholders::_1,std::placeholders::_2),
                  time,time_step,solution);
 
         if ((n_steps+1)%10==0)
index 2cb8fe98994f0364b2e92467b383c1cd52313387..9169d4c95d7a2e68f6da0cc8d42edbefc47a3ec8 100644 (file)
@@ -87,8 +87,8 @@ namespace Step53
   private:
     const Functions::InterpolatedUniformGridData<2> topography_data;
 
-    static std_cxx11::array<std::pair<double,double>,2> get_endpoints ();
-    static std_cxx11::array<unsigned int,2>             n_intervals ();
+    static std::array<std::pair<double,double>,2> get_endpoints ();
+    static std::array<unsigned int,2>             n_intervals ();
     static std::vector<double>                           get_data ();
   };
 
@@ -128,20 +128,20 @@ namespace Step53
   }
 
 
-  std_cxx11::array<std::pair<double,double>,2>
+  std::array<std::pair<double,double>,2>
   AfricaTopography::get_endpoints ()
   {
-    std_cxx11::array<std::pair<double,double>,2> endpoints;
+    std::array<std::pair<double,double>,2> endpoints;
     endpoints[0] = std::make_pair (-6.983333, 11.966667);
     endpoints[1] = std::make_pair (25, 35.95);
     return endpoints;
   }
 
 
-  std_cxx11::array<unsigned int,2>
+  std::array<unsigned int,2>
   AfricaTopography::n_intervals ()
   {
-    std_cxx11::array<unsigned int,2> endpoints;
+    std::array<unsigned int,2> endpoints;
     endpoints[0] = 379;
     endpoints[1] = 219;
     return endpoints;
@@ -382,9 +382,9 @@ namespace Step53
                                                  corner_points[0], corner_points[1],
                                                  true);
 
-      GridTools::transform (std_cxx11::bind(&AfricaGeometry::push_forward,
-                                            std_cxx11::cref(geometry),
-                                            std_cxx11::_1),
+      GridTools::transform (std::bind(&AfricaGeometry::push_forward,
+                                      std::cref(geometry),
+                                      std::placeholders::_1),
                             triangulation);
     }
 
index 3151b8dcf19c4271cca0f208acdfde36a6e90664..c1bd66b9b8821b4ba5ba6f86b0a7385578e0d41c 100644 (file)
@@ -515,7 +515,7 @@ namespace Step9
 
     template <int dim>
     static
-    void estimate_cell (const SynchronousIterators<std_cxx11::tuple<typename DoFHandler<dim>::active_cell_iterator,
+    void estimate_cell (const SynchronousIterators<std::tuple<typename DoFHandler<dim>::active_cell_iterator,
                         Vector<float>::iterator> >     &cell,
                         EstimateScratchData<dim>       &scratch_data,
                         const EstimateCopyData         &copy_data);
@@ -1024,7 +1024,7 @@ namespace Step9
             ExcInvalidVectorLength (error_per_cell.size(),
                                     dof_handler.get_triangulation().n_active_cells()));
 
-    typedef std_cxx11::tuple<typename DoFHandler<dim>::active_cell_iterator,Vector<float>::iterator>
+    typedef std::tuple<typename DoFHandler<dim>::active_cell_iterator,Vector<float>::iterator>
     IteratorTuple;
 
     SynchronousIterators<IteratorTuple>
@@ -1036,7 +1036,7 @@ namespace Step9
     WorkStream::run (begin_sync_it,
                      end_sync_it,
                      &GradientEstimation::template estimate_cell<dim>,
-                     std_cxx11::function<void (const EstimateCopyData &)> (),
+                     std::function<void (const EstimateCopyData &)> (),
                      EstimateScratchData<dim> (dof_handler.get_fe(),
                                                solution),
                      EstimateCopyData ());
@@ -1075,12 +1075,12 @@ namespace Step9
   // passing the following as the third argument when calling WorkStream::run
   // above:
   // @code
-  //    std_cxx11::function<void (const SynchronousIterators<IteratorTuple> &,
-  //                              EstimateScratchData<dim>                  &,
-  //                              EstimateCopyData                          &)>
-  //      (std_cxx11::bind (&GradientEstimation::template estimate_cell<dim>,
-  //                        std_cxx11::_1,
-  //                        std_cxx11::_2))
+  //    std::function<void (const SynchronousIterators<IteratorTuple> &,
+  //                        EstimateScratchData<dim>                  &,
+  //                        EstimateCopyData                          &)>
+  //      (std::bind (&GradientEstimation::template estimate_cell<dim>,
+  //                  std::placeholders::_1,
+  //                  std::placeholders::_2))
   // @endcode
   // This creates a function object taking three arguments, but when it calls
   // the underlying function object, it simply only uses the first and second
@@ -1091,7 +1091,7 @@ namespace Step9
   // Now for the details:
   template <int dim>
   void
-  GradientEstimation::estimate_cell (const SynchronousIterators<std_cxx11::tuple<typename DoFHandler<dim>::active_cell_iterator,
+  GradientEstimation::estimate_cell (const SynchronousIterators<std::tuple<typename DoFHandler<dim>::active_cell_iterator,
                                      Vector<float>::iterator> > &cell,
                                      EstimateScratchData<dim>                                               &scratch_data,
                                      const EstimateCopyData &)
@@ -1109,7 +1109,7 @@ namespace Step9
     active_neighbors.reserve (GeometryInfo<dim>::faces_per_cell *
                               GeometryInfo<dim>::max_children_per_face);
 
-    typename DoFHandler<dim>::active_cell_iterator cell_it(std_cxx11::get<0>(*cell));
+    typename DoFHandler<dim>::active_cell_iterator cell_it(std::get<0>(*cell));
 
     // First initialize the <code>FEValues</code> object, as well as the
     // <code>Y</code> tensor:
@@ -1144,14 +1144,14 @@ namespace Step9
     // neighbors, of course.
     active_neighbors.clear ();
     for (unsigned int face_no=0; face_no<GeometryInfo<dim>::faces_per_cell; ++face_no)
-      if (! std_cxx11::get<0>(*cell)->at_boundary(face_no))
+      if (! std::get<0>(*cell)->at_boundary(face_no))
         {
           // First define an abbreviation for the iterator to the face and
           // the neighbor
           const typename DoFHandler<dim>::face_iterator
-          face = std_cxx11::get<0>(*cell)->face(face_no);
+          face = std::get<0>(*cell)->face(face_no);
           const typename DoFHandler<dim>::cell_iterator
-          neighbor = std_cxx11::get<0>(*cell)->neighbor(face_no);
+          neighbor = std::get<0>(*cell)->neighbor(face_no);
 
           // Then check whether the neighbor is active. If it is, then it
           // is on the same level or one level coarser (if we are not in
@@ -1194,7 +1194,7 @@ namespace Step9
                   // as an internal error. We therefore use a predefined
                   // exception class to throw here.
                   Assert (neighbor_child->neighbor(face_no==0 ? 1 : 0)
-                          ==std_cxx11::get<0>(*cell),ExcInternalError());
+                          ==std::get<0>(*cell),ExcInternalError());
 
                   // If the check succeeded, we push the active neighbor
                   // we just found to the stack we keep:
@@ -1205,7 +1205,7 @@ namespace Step9
                 // `behind' the subfaces of the current face
                 for (unsigned int subface_no=0; subface_no<face->n_children(); ++subface_no)
                   active_neighbors.push_back (
-                    std_cxx11::get<0>(*cell)->neighbor_child_on_subface(face_no,subface_no));
+                    std::get<0>(*cell)->neighbor_child_on_subface(face_no,subface_no));
             }
         }
 
@@ -1307,9 +1307,9 @@ namespace Step9
     // at the second element of the pair of iterators, which requires
     // slightly awkward syntax but is not otherwise particularly
     // difficult:
-    *(std_cxx11::get<1>(*cell)) = (std::pow(std_cxx11::get<0>(*cell)->diameter(),
-                                            1+1.0*dim/2) *
-                                   std::sqrt(gradient.norm_square()));
+    *(std::get<1>(*cell)) = (std::pow(std::get<0>(*cell)->diameter(),
+                                      1+1.0*dim/2) *
+                             std::sqrt(gradient.norm_square()));
 
   }
 }
index b8c52c06994a44114829c5fe98e582c3addb5bde..9d85220127e2f35272c7b3f9a933cd5dcea1cc29 100644 (file)
@@ -18,7 +18,6 @@
 #define dealii__aligned_vector_h
 
 #include <deal.II/base/config.h>
-#include <deal.II/base/std_cxx11/type_traits.h>
 #include <deal.II/base/exceptions.h>
 #include <deal.II/base/memory_consumption.h>
 #include <deal.II/base/utilities.h>
@@ -27,6 +26,7 @@
 #include <boost/serialization/split_member.hpp>
 
 #include <cstring>
+#include <type_traits>
 
 
 
@@ -355,7 +355,7 @@ namespace internal
       // (void*) to silence compiler warning for virtual classes (they will
       // never arrive here because they are non-trivial).
 
-      if (std_cxx11::is_trivial<T>::value == true)
+      if (std::is_trivial<T>::value == true)
         std::memcpy ((void *)(destination_+begin), (void *)(source_+begin),
                      (end-begin)*sizeof(T));
       else if (copy_source_ == false)
@@ -411,7 +411,7 @@ namespace internal
       // do not use memcmp for long double because on some systems it does not
       // completely fill its memory and may lead to false positives in
       // e.g. valgrind
-      if (std_cxx11::is_trivial<T>::value == true &&
+      if (std::is_trivial<T>::value == true &&
           types_are_equal<T,long double>::value == false)
         {
           const unsigned char zero [sizeof(T)] = {};
@@ -437,7 +437,7 @@ namespace internal
       // element to (void*) to silence compiler warning for virtual
       // classes (they will never arrive here because they are
       // non-trivial).
-      if (std_cxx11::is_trivial<T>::value == true && trivial_element)
+      if (std::is_trivial<T>::value == true && trivial_element)
         std::memset ((void *)(destination_+begin), 0, (end-begin)*sizeof(T));
       else
         copy_construct_or_assign(begin, end,
@@ -583,7 +583,7 @@ void
 AlignedVector<T>::resize_fast (const size_type size_in)
 {
   const size_type old_size = size();
-  if (std_cxx11::is_trivial<T>::value == false && size_in < old_size)
+  if (std::is_trivial<T>::value == false && size_in < old_size)
     {
       // call destructor on fields that are released. doing it backward
       // releases the elements in reverse order as compared to how they were
@@ -596,7 +596,7 @@ AlignedVector<T>::resize_fast (const size_type size_in)
 
   // need to still set the values in case the class is non-trivial because
   // virtual classes etc. need to run their (default) constructor
-  if (std_cxx11::is_trivial<T>::value == false && size_in > old_size)
+  if (std::is_trivial<T>::value == false && size_in > old_size)
     dealii::internal::AlignedVectorSet<T,true> (size_in-old_size, T(), _data+old_size);
 }
 
@@ -609,7 +609,7 @@ AlignedVector<T>::resize (const size_type size_in,
                           const T        &init)
 {
   const size_type old_size = size();
-  if (std_cxx11::is_trivial<T>::value == false && size_in < old_size)
+  if (std::is_trivial<T>::value == false && size_in < old_size)
     {
       // call destructor on fields that are released. doing it backward
       // releases the elements in reverse order as compared to how they were
@@ -677,7 +677,7 @@ AlignedVector<T>::clear ()
 {
   if (_data != 0)
     {
-      if (std_cxx11::is_trivial<T>::value == false)
+      if (std::is_trivial<T>::value == false)
         while (_end_data != _data)
           (--_end_data)->~T();
 
@@ -698,7 +698,7 @@ AlignedVector<T>::push_back (const T in_data)
   Assert (_end_data <= _end_allocated, ExcInternalError());
   if (_end_data == _end_allocated)
     reserve (std::max(2*capacity(),static_cast<size_type>(16)));
-  if (std_cxx11::is_trivial<T>::value == false)
+  if (std::is_trivial<T>::value == false)
     new (_end_data++) T(in_data);
   else
     *_end_data++ = in_data;
@@ -741,7 +741,7 @@ AlignedVector<T>::insert_back (ForwardIterator begin,
   reserve (old_size + (end-begin));
   for ( ; begin != end; ++begin, ++_end_data)
     {
-      if (std_cxx11::is_trivial<T>::value == false)
+      if (std::is_trivial<T>::value == false)
         new (_end_data) T;
       *_end_data = *begin;
     }
index 04b6eb54631c33f91961f730a726ae07c909308d..b86e49ede706a16d9d058e6ebaa7e2cc96948151 100644 (file)
 #include <deal.II/base/point.h>
 #include <deal.II/base/table.h>
 #include <deal.II/base/geometry_info.h>
-#include <deal.II/base/std_cxx11/tuple.h>
 
 #include <vector>
 #include <string>
 #include <limits>
 #include <typeinfo>
+#include <tuple>
 
 #include <deal.II/base/mpi.h>
 
@@ -1382,7 +1382,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_dx (const std::vector<Patch<dim,spacedim> > &patches,
                  const std::vector<std::string>          &data_names,
-                 const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                 const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                  const DXFlags                           &flags,
                  std::ostream                            &out);
 
@@ -1433,7 +1433,7 @@ namespace DataOutBase
   template <int spacedim>
   void write_eps (const std::vector<Patch<2,spacedim> > &patches,
                   const std::vector<std::string>          &data_names,
-                  const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                  const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                   const EpsFlags                          &flags,
                   std::ostream                            &out);
 
@@ -1445,7 +1445,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_eps (const std::vector<Patch<dim,spacedim> > &patches,
                   const std::vector<std::string>          &data_names,
-                  const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                  const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                   const EpsFlags                          &flags,
                   std::ostream                            &out);
 
@@ -1462,7 +1462,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_gmv (const std::vector<Patch<dim,spacedim> > &patches,
                   const std::vector<std::string>          &data_names,
-                  const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                  const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                   const GmvFlags                          &flags,
                   std::ostream                            &out);
 
@@ -1525,7 +1525,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_gnuplot (const std::vector<Patch<dim,spacedim> > &patches,
                       const std::vector<std::string>          &data_names,
-                      const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                      const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                       const GnuplotFlags                      &flags,
                       std::ostream                            &out);
 
@@ -1577,7 +1577,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_povray (const std::vector<Patch<dim,spacedim> > &patches,
                      const std::vector<std::string>          &data_names,
-                     const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                     const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                      const PovrayFlags                       &flags,
                      std::ostream                            &out);
 
@@ -1590,7 +1590,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_tecplot (const std::vector<Patch<dim,spacedim> > &patches,
                       const std::vector<std::string>          &data_names,
-                      const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                      const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                       const TecplotFlags                      &flags,
                       std::ostream                            &out);
 
@@ -1617,7 +1617,7 @@ namespace DataOutBase
   void write_tecplot_binary (
     const std::vector<Patch<dim,spacedim> > &patches,
     const std::vector<std::string>          &data_names,
-    const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+    const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
     const TecplotFlags                      &flags,
     std::ostream                            &out);
 
@@ -1638,7 +1638,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_ucd (const std::vector<Patch<dim,spacedim> > &patches,
                   const std::vector<std::string>          &data_names,
-                  const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                  const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                   const UcdFlags                          &flags,
                   std::ostream                            &out);
 
@@ -1664,7 +1664,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_vtk (const std::vector<Patch<dim,spacedim> > &patches,
                   const std::vector<std::string>          &data_names,
-                  const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                  const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                   const VtkFlags                          &flags,
                   std::ostream                            &out);
 
@@ -1695,7 +1695,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_vtu (const std::vector<Patch<dim,spacedim> > &patches,
                   const std::vector<std::string>          &data_names,
-                  const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                  const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                   const VtkFlags                          &flags,
                   std::ostream                            &out);
 
@@ -1722,7 +1722,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_vtu_main (const std::vector<Patch<dim,spacedim> > &patches,
                        const std::vector<std::string>          &data_names,
-                       const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                       const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                        const VtkFlags                          &flags,
                        std::ostream                            &out);
 
@@ -1771,7 +1771,7 @@ namespace DataOutBase
   write_pvtu_record (std::ostream                                                                  &out,
                      const std::vector<std::string>                                                &piece_names,
                      const std::vector<std::string>                                                &data_names,
-                     const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges);
+                     const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges);
 
   /**
    * In ParaView it is possible to visualize time-dependent data tagged with
@@ -1927,7 +1927,7 @@ namespace DataOutBase
   template <int spacedim>
   void write_svg (const std::vector<Patch<2,spacedim> > &patches,
                   const std::vector<std::string>          &data_names,
-                  const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                  const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                   const SvgFlags                          &flags,
                   std::ostream                            &out);
 
@@ -1972,7 +1972,7 @@ namespace DataOutBase
   void write_deal_II_intermediate (
     const std::vector<Patch<dim,spacedim> > &patches,
     const std::vector<std::string>          &data_names,
-    const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+    const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
     const Deal_II_IntermediateFlags         &flags,
     std::ostream                            &out);
 
@@ -2010,7 +2010,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_filtered_data (const std::vector<Patch<dim,spacedim> > &patches,
                             const std::vector<std::string>          &data_names,
-                            const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                            const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                             DataOutFilter &filtered_data);
 
   /**
@@ -2597,7 +2597,7 @@ protected:
    * fields.
    */
   virtual
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> >
   get_vector_data_ranges () const;
 
   /**
@@ -2833,7 +2833,7 @@ protected:
    * fields.
    */
   virtual
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> >
   get_vector_data_ranges () const;
 
 private:
@@ -2848,7 +2848,7 @@ private:
    * Information about whether certain components of the output field are to
    * be considered vectors.
    */
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> >
   vector_data_ranges;
 };
 
index 1f1e93a4b95d25b1b7d041e8ee26a1099b58310a..d49fdedb24774f98267f1da96e0e3c0a35293861 100644 (file)
@@ -24,8 +24,8 @@
 #include <deal.II/base/tensor.h>
 #include <deal.II/base/symmetric_tensor.h>
 #include <deal.II/base/point.h>
-#include <deal.II/base/std_cxx11/function.h>
 
+#include <functional>
 #include <vector>
 
 DEAL_II_NAMESPACE_OPEN
@@ -638,9 +638,9 @@ protected:
  * or we could write it like so:
  * @code
  *    ScalarFunctionFromFunctionObject<dim, Number>
- *      my_distance_object (std_cxx11::bind (&Point<dim>::distance,
+ *      my_distance_object (std::bind (&Point<dim>::distance,
  *                                           q,
- *                                           std_cxx11::_1));
+ *                                           std::placeholders::_1));
  * @endcode
  * The savings in work to write this are apparent.
  *
@@ -655,7 +655,7 @@ public:
    * convert this into an object that matches the Function<dim, Number>
    * interface.
    */
-  ScalarFunctionFromFunctionObject (const std_cxx11::function<Number (const Point<dim> &)> &function_object);
+  ScalarFunctionFromFunctionObject (const std::function<Number (const Point<dim> &)> &function_object);
 
   /**
    * Return the value of the function at the given point. Returns the value
@@ -669,7 +669,7 @@ private:
    * The function object which we call when this class's value() or
    * value_list() functions are called.
    */
-  const std_cxx11::function<Number (const Point<dim> &)> function_object;
+  const std::function<Number (const Point<dim> &)> function_object;
 };
 
 
@@ -722,7 +722,7 @@ public:
    * @param selected_component The single component that should be filled by
    * the first argument.
    */
-  VectorFunctionFromScalarFunctionObject (const std_cxx11::function<Number (const Point<dim> &)> &function_object,
+  VectorFunctionFromScalarFunctionObject (const std::function<Number (const Point<dim> &)> &function_object,
                                           const unsigned int selected_component,
                                           const unsigned int n_components);
 
@@ -746,7 +746,7 @@ private:
    * The function object which we call when this class's value() or
    * value_list() functions are called.
    */
-  const std_cxx11::function<Number (const Point<dim> &)> function_object;
+  const std::function<Number (const Point<dim> &)> function_object;
 
   /**
    * The vector component whose value is to be filled by the given scalar
index 65355b0be0e8859b3fb8ce5fd17e9708418531eb..53f213041c7034bc90f7003a0ea9e362dd006e6d 100644 (file)
@@ -639,7 +639,7 @@ ComponentSelectFunction<dim, Number>::memory_consumption () const
 
 template <int dim, typename Number>
 ScalarFunctionFromFunctionObject<dim, Number>::
-ScalarFunctionFromFunctionObject (const std_cxx11::function<Number (const Point<dim> &)> &function_object)
+ScalarFunctionFromFunctionObject (const std::function<Number (const Point<dim> &)> &function_object)
   :
   Function<dim, Number>(1),
   function_object (function_object)
@@ -663,7 +663,7 @@ ScalarFunctionFromFunctionObject<dim, Number>::value (const Point<dim> &p,
 template <int dim, typename Number>
 VectorFunctionFromScalarFunctionObject<dim, Number>::
 VectorFunctionFromScalarFunctionObject (
-  const std_cxx11::function<Number (const Point<dim> &)> &function_object,
+  const std::function<Number (const Point<dim> &)> &function_object,
   const unsigned int selected_component,
   const unsigned int n_components)
   :
index fea73c94710bd267afef28f658127e09b113c118..87c87f8ae43ec7662dff7a532430cad15e09b34c 100644 (file)
@@ -22,7 +22,7 @@
 #include <deal.II/base/point.h>
 #include <deal.II/base/table.h>
 
-#include <deal.II/base/std_cxx11/array.h>
+#include <array>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -1136,8 +1136,8 @@ namespace Functions
      * class has a number of conversion constructors that allow converting
      * other data types into a table where you specify this argument.
      */
-    InterpolatedTensorProductGridData (const std_cxx11::array<std::vector<double>,dim> &coordinate_values,
-                                       const Table<dim,double>                         &data_values);
+    InterpolatedTensorProductGridData (const std::array<std::vector<double>,dim> &coordinate_values,
+                                       const Table<dim,double>                   &data_values);
 
     /**
      * Compute the value of the function set by bilinear interpolation of the
@@ -1179,7 +1179,7 @@ namespace Functions
     /**
      * The set of coordinate values in each of the coordinate directions.
      */
-    const std_cxx11::array<std::vector<double>,dim> coordinate_values;
+    const std::array<std::vector<double>,dim> coordinate_values;
 
     /**
      * The data that is to be interpolated.
@@ -1241,8 +1241,8 @@ namespace Functions
      * class has a number of conversion constructors that allow converting
      * other data types into a table where you specify this argument.
      */
-    InterpolatedUniformGridData (const std_cxx11::array<std::pair<double,double>,dim> &interval_endpoints,
-                                 const std_cxx11::array<unsigned int,dim>             &n_subintervals,
+    InterpolatedUniformGridData (const std::array<std::pair<double,double>,dim> &interval_endpoints,
+                                 const std::array<unsigned int,dim>             &n_subintervals,
                                  const Table<dim,double>                              &data_values);
 
     /**
@@ -1264,12 +1264,12 @@ namespace Functions
     /**
      * The set of interval endpoints in each of the coordinate directions.
      */
-    const std_cxx11::array<std::pair<double,double>,dim> interval_endpoints;
+    const std::array<std::pair<double,double>,dim> interval_endpoints;
 
     /**
      * The number of subintervals in each of the coordinate directions.
      */
-    const std_cxx11::array<unsigned int,dim>             n_subintervals;
+    const std::array<unsigned int,dim>             n_subintervals;
 
     /**
      * The data that is to be interpolated.
index a2de2db170296220f7f9cf5e7826e3bb5f4a6be6..b0455ca74b4925bafcd6d7b42d33ecf494d24531 100644 (file)
@@ -20,7 +20,9 @@
 
 #include <deal.II/base/function.h>
 #include <deal.II/base/point.h>
-#include <deal.II/base/std_cxx11/array.h>
+
+
+#include <array>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -92,7 +94,7 @@ namespace Functions
      * Return the value at point @p sp. Here, @p sp is provided in spherical
      * coordinates.
      */
-    virtual double svalue(const std_cxx11::array<double, dim> &sp,
+    virtual double svalue(const std::array<double, dim> &sp,
                           const unsigned int component) const;
 
     /**
@@ -101,8 +103,8 @@ namespace Functions
      * The returned object should contain derivatives in the following order:
      * $\{ f_{,r},\, f_{,\theta},\, f_{,\phi}\}$.
      */
-    virtual std_cxx11::array<double, dim> sgradient(const std_cxx11::array<double, dim> &sp,
-                                                    const unsigned int component) const;
+    virtual std::array<double, dim> sgradient(const std::array<double, dim> &sp,
+                                              const unsigned int component) const;
 
     /**
      * Return the Hessian in spherical coordinates.
@@ -110,8 +112,8 @@ namespace Functions
      * The returned object should contain derivatives in the following order:
      * $\{ f_{,rr},\, f_{,\theta\theta},\, f_{,\phi\phi},\, f_{,r\theta},\, f_{,r\phi},\, f_{,\theta\phi}\}$.
      */
-    virtual std_cxx11::array<double, 6> shessian (const std_cxx11::array<double, dim> &sp,
-                                                  const unsigned int component) const;
+    virtual std::array<double, 6> shessian (const std::array<double, dim> &sp,
+                                            const unsigned int component) const;
 
     /**
      * A vector from the origin to the center of spherical coordinate system.
index 2478a80499297d4ba1a1721bec3920682735a401..18f3e3eb7bffc6fab7dc18fb1c75c1e8a2d43e9b 100644 (file)
@@ -18,7 +18,9 @@
 
 #include <deal.II/base/config.h>
 #include <deal.II/base/point.h>
-#include <deal.II/base/std_cxx11/array.h>
+
+
+#include <array>
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -54,7 +56,7 @@ namespace GeometricUtilities
      * @f}
      */
     template <int dim>
-    std_cxx11::array<double,dim>
+    std::array<double,dim>
     to_spherical(const Point<dim> &point);
 
     /**
@@ -72,7 +74,7 @@ namespace GeometricUtilities
      */
     template <std::size_t dim>
     Point<dim>
-    from_spherical(const std_cxx11::array<double,dim> &scoord);
+    from_spherical(const std::array<double,dim> &scoord);
 
   }
 }
index bdfde8e596f529834c0adca30811e1f01adfe3ee..75001594ef78cbebbad824acc1527aa9e97d25f0 100644 (file)
 
 #include <deal.II/base/config.h>
 #include <deal.II/base/thread_management.h>
-#include <deal.II/base/std_cxx11/function.h>
 #include <boost/unordered_map.hpp>
 #include <boost/unordered_set.hpp>
 
+#include <functional>
 #include <set>
 #include <vector>
 
@@ -108,7 +108,7 @@ namespace GraphColoring
     std::vector<std::vector<Iterator> >
     create_partitioning(const Iterator &begin,
                         const typename identity<Iterator>::type &end,
-                        const std_cxx11::function<std::vector<types::global_dof_index> (const Iterator &)> &get_conflict_indices)
+                        const std::function<std::vector<types::global_dof_index> (const Iterator &)> &get_conflict_indices)
     {
       // Number of iterators.
       unsigned int n_iterators = 0;
@@ -210,7 +210,7 @@ namespace GraphColoring
     template <typename Iterator>
     void
     make_dsatur_coloring(std::vector<Iterator> &partition,
-                         const std_cxx11::function<std::vector<types::global_dof_index> (const Iterator &)> &get_conflict_indices,
+                         const std::function<std::vector<types::global_dof_index> (const Iterator &)> &get_conflict_indices,
                          std::vector<std::vector<Iterator> > &partition_coloring)
     {
       partition_coloring.clear ();
@@ -514,7 +514,7 @@ namespace GraphColoring
   std::vector<std::vector<Iterator> >
   make_graph_coloring(const Iterator &begin,
                       const typename identity<Iterator>::type &end,
-                      const std_cxx11::function<std::vector<types::global_dof_index> (const typename identity<Iterator>::type &)> &get_conflict_indices)
+                      const std::function<std::vector<types::global_dof_index> (const typename identity<Iterator>::type &)> &get_conflict_indices)
   {
     Assert (begin != end, ExcMessage ("GraphColoring is not prepared to deal with empty ranges!"));
 
index c9d1acd240c0d6ecd381841ae2e3cf41f663e736..6e11df3a49b19fee90bd1022f0a02e686ca8ad15 100644 (file)
@@ -19,7 +19,6 @@
 #include <deal.II/base/config.h>
 #include <deal.II/base/exceptions.h>
 #include <deal.II/base/smartpointer.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/base/thread_local_storage.h>
 
 #include <string>
@@ -27,6 +26,7 @@
 #include <map>
 #include <cmath>
 #include <sstream>
+#include <memory>
 
 #ifdef DEAL_II_HAVE_SYS_TIMES_H
 #  include <sys/times.h>
@@ -536,7 +536,7 @@ private:
    * We use tbb's thread local storage facility to generate a stringstream for
    * every thread that sends log messages.
    */
-  Threads::ThreadLocalStorage<std_cxx11::shared_ptr<std::ostringstream> > outstreams;
+  Threads::ThreadLocalStorage<std::shared_ptr<std::ostringstream> > outstreams;
 
   template <typename T> friend LogStream &operator << (LogStream &log, const T &t);
 };
index d5da40ef980a239d9861b9fe3dfb0fe6b78b6f71..3b85d74db8066073b8be95e523b333a0f8c16406 100644 (file)
 
 
 #include <deal.II/base/config.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
-#include <deal.II/base/std_cxx11/type_traits.h>
-#include <deal.II/base/std_cxx11/unique_ptr.h>
-#include <deal.II/base/std_cxx11/array.h>
 
 #include <string>
 #include <complex>
 #include <vector>
 #include <cstddef>
 #include <cstring>
+#include <memory>
+#include <array>
+#include <type_traits>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -98,7 +97,7 @@ namespace MemoryConsumption
    */
   template <typename T>
   inline
-  typename std_cxx11::enable_if<std_cxx11::is_fundamental<T>::value, std::size_t>::type
+  typename std::enable_if<std::is_fundamental<T>::value, std::size_t>::type
   memory_consumption (const T &t);
 
   /**
@@ -109,7 +108,7 @@ namespace MemoryConsumption
    */
   template <typename T>
   inline
-  typename std_cxx11::enable_if<!(std_cxx11::is_fundamental<T>::value || std_cxx11::is_pointer<T>::value), std::size_t>::type
+  typename std::enable_if<!(std::is_fundamental<T>::value || std::is_pointer<T>::value), std::size_t>::type
   memory_consumption (const T &t);
 
   /**
@@ -177,7 +176,7 @@ namespace MemoryConsumption
 
   /**
    * Determine the amount of memory in bytes consumed by a
-   * <tt>std_cxx11::array</tt> of <tt>N</tt> elements of type <tt>T</tt> by
+   * <tt>std::array</tt> of <tt>N</tt> elements of type <tt>T</tt> by
    * calling memory_consumption() for each entry.
    *
    * This function loops over all entries of the array and determines their
@@ -197,7 +196,7 @@ namespace MemoryConsumption
    */
   template <typename T, std::size_t N>
   inline
-  std::size_t memory_consumption (const std_cxx11::array<T,N> &v);
+  std::size_t memory_consumption (const std::array<T,N> &v);
 
   /**
    * Estimate the amount of memory (in bytes) occupied by a C-style array.
@@ -250,16 +249,16 @@ namespace MemoryConsumption
    */
   template <typename T>
   inline
-  std::size_t memory_consumption (const std_cxx11::shared_ptr<T> &);
+  std::size_t memory_consumption (const std::shared_ptr<T> &);
 
   /**
-   * Return the amount of memory used by a std_cxx11::unique_ptr object.
+   * Return the amount of memory used by a std::unique_ptr object.
    *
    * @note This returns the size of the pointer, not of the object pointed to.
    */
   template <typename T>
   inline
-  std::size_t memory_consumption (const std_cxx11::unique_ptr<T> &);
+  std::size_t memory_consumption (const std::unique_ptr<T> &);
 }
 
 
@@ -270,7 +269,7 @@ namespace MemoryConsumption
 {
   template <typename T>
   inline
-  typename std_cxx11::enable_if<std_cxx11::is_fundamental<T>::value, std::size_t>::type
+  typename std::enable_if<std::is_fundamental<T>::value, std::size_t>::type
   memory_consumption(const T &)
   {
     return sizeof(T);
@@ -323,7 +322,7 @@ namespace MemoryConsumption
   std::size_t memory_consumption (const std::vector<T> &v)
   {
     // shortcut for types that do not allocate memory themselves
-    if (std_cxx11::is_fundamental<T>::value || std_cxx11::is_pointer<T>::value)
+    if (std::is_fundamental<T>::value || std::is_pointer<T>::value)
       {
         return v.capacity()*sizeof(T) + sizeof(v);
       }
@@ -342,10 +341,10 @@ namespace MemoryConsumption
 
 
   template <typename T, std::size_t N>
-  std::size_t memory_consumption (const std_cxx11::array<T,N> &v)
+  std::size_t memory_consumption (const std::array<T,N> &v)
   {
     // shortcut for types that do not allocate memory themselves
-    if (std_cxx11::is_fundamental<T>::value || std_cxx11::is_pointer<T>::value)
+    if (std::is_fundamental<T>::value || std::is_pointer<T>::value)
       {
         return sizeof(v);
       }
@@ -402,9 +401,9 @@ namespace MemoryConsumption
   template <typename T>
   inline
   std::size_t
-  memory_consumption (const std_cxx11::shared_ptr<T> &)
+  memory_consumption (const std::shared_ptr<T> &)
   {
-    return sizeof(std_cxx11::shared_ptr<T>);
+    return sizeof(std::shared_ptr<T>);
   }
 
 
@@ -412,16 +411,16 @@ namespace MemoryConsumption
   template <typename T>
   inline
   std::size_t
-  memory_consumption (const std_cxx11::unique_ptr<T> &)
+  memory_consumption (const std::unique_ptr<T> &)
   {
-    return sizeof(std_cxx11::unique_ptr<T>);
+    return sizeof(std::unique_ptr<T>);
   }
 
 
 
   template <typename T>
   inline
-  typename std_cxx11::enable_if<!(std_cxx11::is_fundamental<T>::value || std_cxx11::is_pointer<T>::value), std::size_t>::type
+  typename std::enable_if<!(std::is_fundamental<T>::value || std::is_pointer<T>::value), std::size_t>::type
   memory_consumption (const T &t)
   {
     return t.memory_consumption();
index 7fcbb840c9795ed51cf408531462a89512753153..1f8d689af7fefabf241512503ee350d6ffdb6764 100644 (file)
@@ -18,8 +18,7 @@
 
 #include <deal.II/base/subscriptor.h>
 #include <vector>
-
-#include <deal.II/base/std_cxx11/shared_ptr.h>
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -151,7 +150,7 @@ private:
   /**
    * Array of the objects to be held.
    */
-  std::vector<std_cxx11::shared_ptr<Object> > objects;
+  std::vector<std::shared_ptr<Object> > objects;
 };
 
 
@@ -202,7 +201,7 @@ MGLevelObject<Object>::resize (const unsigned int new_minlevel,
 
   minlevel = new_minlevel;
   for (unsigned int i=0; i<new_maxlevel-new_minlevel+1; ++i)
-    objects.push_back(std_cxx11::shared_ptr<Object> (new Object));
+    objects.push_back(std::shared_ptr<Object> (new Object));
 }
 
 
@@ -210,7 +209,7 @@ template<class Object>
 MGLevelObject<Object> &
 MGLevelObject<Object>::operator = (const double d)
 {
-  typename std::vector<std_cxx11::shared_ptr<Object> >::iterator v;
+  typename std::vector<std::shared_ptr<Object> >::iterator v;
   for (v = objects.begin(); v != objects.end(); ++v)
     **v=d;
   return *this;
@@ -230,7 +229,7 @@ template<class Object>
 void
 MGLevelObject<Object>::clear_elements ()
 {
-  typename std::vector<std_cxx11::shared_ptr<Object> >::iterator v;
+  typename std::vector<std::shared_ptr<Object> >::iterator v;
   for (v = objects.begin(); v != objects.end(); ++v)
     (*v)->clear();
 }
@@ -257,7 +256,7 @@ std::size_t
 MGLevelObject<Object>::memory_consumption () const
 {
   std::size_t result = sizeof(*this);
-  typedef typename std::vector<std_cxx11::shared_ptr<Object> >::const_iterator Iter;
+  typedef typename std::vector<std::shared_ptr<Object> >::const_iterator Iter;
   const Iter end = objects.end();
   for (Iter o=objects.begin(); o!=end; ++o)
     result += (*o)->memory_consumption();
index 24c1315364a24336aacb7fd5b21a47332da39397..e39d2d2ec8a38c46d9c7999306b5dd729ce62eaa 100644 (file)
 #include <deal.II/base/synchronous_iterator.h>
 #include <deal.II/base/thread_management.h>
 
-#include <deal.II/base/std_cxx11/tuple.h>
-#include <deal.II/base/std_cxx11/bind.h>
-#include <deal.II/base/std_cxx11/function.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
-
 #include <cstddef>
+#include <tuple>
+#include <memory>
+#include <functional>
 
 #ifdef DEAL_II_WITH_THREADS
 #  include <tbb/parallel_for.h>
@@ -107,9 +105,9 @@ namespace parallel
       static
       void
       apply (const F &f,
-             const std_cxx11::tuple<I1,I2> &p)
+             const std::tuple<I1,I2> &p)
       {
-        *std_cxx11::get<1>(p) = f (*std_cxx11::get<0>(p));
+        *std::get<1>(p) = f (*std::get<0>(p));
       }
 
       /**
@@ -119,10 +117,10 @@ namespace parallel
       static
       void
       apply (const F &f,
-             const std_cxx11::tuple<I1,I2,I3> &p)
+             const std::tuple<I1,I2,I3> &p)
       {
-        *std_cxx11::get<2>(p) = f (*std_cxx11::get<0>(p),
-                                   *std_cxx11::get<1>(p));
+        *std::get<2>(p) = f (*std::get<0>(p),
+                             *std::get<1>(p));
       }
 
       /**
@@ -133,11 +131,11 @@ namespace parallel
       static
       void
       apply (const F &f,
-             const std_cxx11::tuple<I1,I2,I3,I4> &p)
+             const std::tuple<I1,I2,I3,I4> &p)
       {
-        *std_cxx11::get<3>(p) = f (*std_cxx11::get<0>(p),
-                                   *std_cxx11::get<1>(p),
-                                   *std_cxx11::get<2>(p));
+        *std::get<3>(p) = f (*std::get<0>(p),
+                             *std::get<1>(p),
+                             *std::get<2>(p));
       }
     };
 
@@ -195,7 +193,7 @@ namespace parallel
     for (OutputIterator in = begin_in; in != end_in;)
       *out++ = predicate (*in++);
 #else
-    typedef std_cxx11::tuple<InputIterator,OutputIterator> Iterators;
+    typedef std::tuple<InputIterator,OutputIterator> Iterators;
     typedef SynchronousIterators<Iterators> SyncIterators;
     Iterators x_begin (begin_in, out);
     Iterators x_end (end_in, OutputIterator());
@@ -252,7 +250,7 @@ namespace parallel
       *out++ = predicate (*in1++, *in2++);
 #else
     typedef
-    std_cxx11::tuple<InputIterator1,InputIterator2,OutputIterator>
+    std::tuple<InputIterator1,InputIterator2,OutputIterator>
     Iterators;
     typedef SynchronousIterators<Iterators> SyncIterators;
     Iterators x_begin (begin_in1, in2, out);
@@ -312,7 +310,7 @@ namespace parallel
       *out++ = predicate (*in1++, *in2++, *in3++);
 #else
     typedef
-    std_cxx11::tuple<InputIterator1,InputIterator2,InputIterator3,OutputIterator>
+    std::tuple<InputIterator1,InputIterator2,InputIterator3,OutputIterator>
     Iterators;
     typedef SynchronousIterators<Iterators> SyncIterators;
     Iterators x_begin (begin_in1, in2, in3, out);
@@ -371,11 +369,11 @@ namespace parallel
    *   {
    *     parallel::apply_to_subranges
    *        (0, A.n_rows(),
-   *         std_cxx11::bind (&mat_vec_on_subranges,
-   *                          std_cxx11::_1, std_cxx11::_2,
-   *                          std_cxx11::cref(A),
-   *                          std_cxx11::cref(x),
-   *                          std_cxx11::ref(y)),
+   *         std::bind (&mat_vec_on_subranges,
+   *                    std::placeholders::_1, std::placeholders::_2,
+   *                    std::cref(A),
+   *                    std::cref(x),
+   *                    std::ref(y)),
    *         50);
    *   }
    *
@@ -391,10 +389,10 @@ namespace parallel
    *   }
    * @endcode
    *
-   * Note how we use the <code>std_cxx11::bind</code> function to convert
+   * Note how we use the <code>std::bind</code> function to convert
    * <code>mat_vec_on_subranges</code> from a function that takes 5 arguments
    * to one taking 2 by binding the remaining arguments (the modifiers
-   * <code>std_cxx11::ref</code> and <code>std_cxx11::cref</code> make sure
+   * <code>std::ref</code> and <code>std::cref</code> make sure
    * that the enclosed variables are actually passed by reference and constant
    * reference, rather than by value). The resulting function object requires
    * only two arguments, begin_row and end_row, with all other arguments
@@ -437,9 +435,9 @@ namespace parallel
 #else
     tbb::parallel_for (tbb::blocked_range<RangeType>
                        (begin, end, grainsize),
-                       std_cxx11::bind (&internal::apply_to_subranges<RangeType,Function>,
-                                        std_cxx11::_1,
-                                        std_cxx11::cref(f)),
+                       std::bind (&internal::apply_to_subranges<RangeType,Function>,
+                                  std::placeholders::_1,
+                                  std::cref(f)),
                        tbb::auto_partitioner());
 #endif
   }
@@ -591,7 +589,7 @@ namespace parallel
        * The function object to be used to reduce the result of two calls into
        * one number.
        */
-      const std_cxx11::function<ResultType (ResultType, ResultType)> reductor;
+      const std::function<ResultType (ResultType, ResultType)> reductor;
     };
 #endif
   }
@@ -614,10 +612,10 @@ namespace parallel
    *      std::sqrt
    *       (parallel::accumulate_from_subranges<double>
    *        (0, A.n_rows(),
-   *         std_cxx11::bind (&mat_norm_sqr_on_subranges,
-   *                          std_cxx11::_1, std_cxx11::_2,
-   *                          std_cxx11::cref(A),
-   *                          std_cxx11::cref(x)),
+   *         std::bind (&mat_norm_sqr_on_subranges,
+   *                     std::placeholders::_1, std::placeholders::_2,
+   *                     std::cref(A),
+   *                     std::cref(x)),
    *         50);
    *   }
    *
@@ -731,12 +729,12 @@ namespace parallel
        * released it yet, a new object is created. To free the partitioner
        * again, return it by the release_one_partitioner() call.
        */
-      std_cxx11::shared_ptr<tbb::affinity_partitioner>
+      std::shared_ptr<tbb::affinity_partitioner>
       acquire_one_partitioner()
       {
         dealii::Threads::Mutex::ScopedLock lock(mutex);
         if (in_use)
-          return std_cxx11::shared_ptr<tbb::affinity_partitioner>(new tbb::affinity_partitioner());
+          return std::shared_ptr<tbb::affinity_partitioner>(new tbb::affinity_partitioner());
 
         in_use = true;
         return my_partitioner;
@@ -747,7 +745,7 @@ namespace parallel
        * acquire_one_partitioner(), this call makes the partitioner available
        * again.
        */
-      void release_one_partitioner(std_cxx11::shared_ptr<tbb::affinity_partitioner> &p)
+      void release_one_partitioner(std::shared_ptr<tbb::affinity_partitioner> &p)
       {
         if (p.get() == my_partitioner.get())
           {
@@ -761,7 +759,7 @@ namespace parallel
        * The stored partitioner that can accumulate knowledge over several
        * runs of tbb::parallel_for
        */
-      std_cxx11::shared_ptr<tbb::affinity_partitioner> my_partitioner;
+      std::shared_ptr<tbb::affinity_partitioner> my_partitioner;
 
       /**
        * A flag to indicate whether the partitioner has been acquired but not
index 1178195a181d197d11d1cf5f766ecedefee6bb88..bf7dd90e44c8ef025bed6e5f7590e16c9c69e9e8 100644 (file)
@@ -20,8 +20,6 @@
 #include <deal.II/base/config.h>
 #include <deal.II/base/exceptions.h>
 #include <deal.II/base/subscriptor.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
-#include <deal.II/base/std_cxx11/unique_ptr.h>
 
 #include <boost/property_tree/ptree_fwd.hpp>
 #include <boost/serialization/split_member.hpp>
@@ -29,6 +27,7 @@
 #include <map>
 #include <vector>
 #include <string>
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -2158,13 +2157,13 @@ private:
    * than having to include all of the property_tree stuff from boost. This
    * works around a problem with gcc 4.5.
    */
-  std_cxx11::unique_ptr<boost::property_tree::ptree> entries;
+  std::unique_ptr<boost::property_tree::ptree> entries;
 
   /**
    * A list of patterns that are used to describe the parameters of this
    * object. The are indexed by nodes in the property tree.
    */
-  std::vector<std_cxx11::shared_ptr<const Patterns::PatternBase> > patterns;
+  std::vector<std::shared_ptr<const Patterns::PatternBase> > patterns;
 
   /**
    * Mangle a string so that it doesn't contain any special characters or
@@ -2282,7 +2281,7 @@ private:
  *
  *       static void declare_parameters (ParameterHandler &prm);
  *     private:
- *       std_cxx11::shared_ptr<Problem> p;
+ *       std::shared_ptr<Problem> p;
  *     };
  *
  *
@@ -2687,7 +2686,7 @@ ParameterHandler::load (Archive &ar, const unsigned int)
 
   patterns.clear ();
   for (unsigned int j=0; j<descriptions.size(); ++j)
-    patterns.push_back (std_cxx11::shared_ptr<const Patterns::PatternBase>(Patterns::pattern_factory(descriptions[j])));
+    patterns.push_back (std::shared_ptr<const Patterns::PatternBase>(Patterns::pattern_factory(descriptions[j])));
 }
 
 
index 8eed55b57e2593cd38037bd8e89874607c611c42..0149994d4800f2ff6c92540b04fb4f3a0a28bc64 100644 (file)
@@ -63,7 +63,7 @@ DEAL_II_NAMESPACE_OPEN
  * a tensor (because it lacks the transformation properties under rotation of
  * the coordinate system) and should consequently not be represented by either
  * of these classes. Use an array of size 3 in this case, or the
- * <code>std_cxx11::array</code> class. Alternatively, as in the case of
+ * <code>std::array</code> class. Alternatively, as in the case of
  * vector-valued functions, you can use objects of type Vector or
  * <code>std::vector</code>.
  *
index 050b0cf3e7035c5cc7cd30d6c3cfbf94a3815673..a15b8a805aa0a6191cf2eb024bc0e8950214624c 100644 (file)
@@ -22,8 +22,8 @@
 #include <deal.II/base/exceptions.h>
 #include <deal.II/base/subscriptor.h>
 #include <deal.II/base/point.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 
+#include <memory>
 #include <vector>
 
 DEAL_II_NAMESPACE_OPEN
@@ -534,7 +534,7 @@ namespace Polynomials
      * shared_ptr in order to correctly free the memory of the vectors when
      * the global destructor is called.
      */
-    static std::vector<std_cxx11::shared_ptr<const std::vector<double> > > recursive_coefficients;
+    static std::vector<std::shared_ptr<const std::vector<double> > > recursive_coefficients;
   };
 
 
index f183c406eebe1e096b89b3884d600f4fa22fb3ac..c36e9cc7634f4a8875fe8b436868a8fe1913e18b 100644 (file)
@@ -27,7 +27,7 @@
 #include <deal.II/base/table.h>
 #include <deal.II/base/thread_management.h>
 
-#include <deal.II/base/std_cxx11/shared_ptr.h>
+#include <memory>
 #include <vector>
 
 DEAL_II_NAMESPACE_OPEN
index 9ed971d6fde07d4e0380263a54f6669b322575d4..8db117593773bfbee968eb6995e859e78f113d23 100644 (file)
@@ -763,11 +763,11 @@ namespace parallel
       data_size_in_bytes = sizeof(double) * dofs_per_cell * number_of_values;
 
       offset = triangulation->register_data_attach(data_size_in_bytes,
-                                                   std_cxx11::bind(&ContinuousQuadratureDataTransfer<dim,DataType>::pack_function,
-                                                       this,
-                                                       std_cxx11::_1,
-                                                       std_cxx11::_2,
-                                                       std_cxx11::_3));
+                                                   std::bind(&ContinuousQuadratureDataTransfer<dim,DataType>::pack_function,
+                                                             this,
+                                                             std::placeholders::_1,
+                                                             std::placeholders::_2,
+                                                             std::placeholders::_3));
     }
 
 
@@ -776,11 +776,11 @@ namespace parallel
     void ContinuousQuadratureDataTransfer<dim,DataType>::interpolate ()
     {
       triangulation->notify_ready_to_unpack(offset,
-                                            std_cxx11::bind(&ContinuousQuadratureDataTransfer<dim,DataType>::unpack_function,
-                                                            this,
-                                                            std_cxx11::_1,
-                                                            std_cxx11::_2,
-                                                            std_cxx11::_3));
+                                            std::bind(&ContinuousQuadratureDataTransfer<dim,DataType>::unpack_function,
+                                                      this,
+                                                      std::placeholders::_1,
+                                                      std::placeholders::_2,
+                                                      std::placeholders::_3));
 
       // invalidate the pointers
       data_storage = nullptr;
index 4590660e1e13726e57c898ef0fbf5c0eaac16c85..0e55d0a8ce93bde49aca309fd012fc943246417e 100644 (file)
@@ -19,7 +19,6 @@
 
 #include <deal.II/base/config.h>
 
-#ifdef DEAL_II_WITH_CXX11
 
 #  include <array>
 DEAL_II_NAMESPACE_OPEN
@@ -29,18 +28,6 @@ namespace std_cxx11
 }
 DEAL_II_NAMESPACE_CLOSE
 
-#else
-
-#include <boost/array.hpp>
-DEAL_II_NAMESPACE_OPEN
-namespace std_cxx11
-{
-  using boost::array;
-}
-DEAL_II_NAMESPACE_CLOSE
-
-#endif
-
 // then allow using the old namespace name instead of the new one
 DEAL_II_NAMESPACE_OPEN
 namespace std_cxx1x = std_cxx11;
index b6e54707db83ec6a378f5c7eaf97bd4fad480839..f4ae73223f925a94e27d56174403d770cd1d9059 100644 (file)
@@ -19,7 +19,6 @@
 
 #include <deal.II/base/config.h>
 
-#ifdef DEAL_II_WITH_CXX11
 
 #  include <functional>
 
@@ -43,46 +42,6 @@ namespace std_cxx11
 }
 DEAL_II_NAMESPACE_CLOSE
 
-#else
-
-#include <boost/bind.hpp>
-
-DEAL_II_NAMESPACE_OPEN
-namespace std_cxx11
-{
-  using boost::bind;
-  using boost::ref;
-  using boost::cref;
-  using boost::reference_wrapper;
-
-  // now also import the _1, _2 placeholders from the global namespace
-  // into the current one as suggested above
-  using ::_1;
-  using ::_2;
-  using ::_3;
-  using ::_4;
-  using ::_5;
-  using ::_6;
-  using ::_7;
-  using ::_8;
-  using ::_9;
-
-  namespace placeholders
-  {
-    using ::_1;
-    using ::_2;
-    using ::_3;
-    using ::_4;
-    using ::_5;
-    using ::_6;
-    using ::_7;
-    using ::_8;
-    using ::_9;
-  }
-}
-DEAL_II_NAMESPACE_CLOSE
-
-#endif
 
 // then allow using the old namespace name instead of the new one
 DEAL_II_NAMESPACE_OPEN
index 1c1f4be1327624f078a4001e96e946c0edb0e80b..ace2f7bde05af5591cad5b218d6bfade0fd4231d 100644 (file)
@@ -19,8 +19,6 @@
 
 #include <deal.II/base/config.h>
 
-#ifdef DEAL_II_WITH_CXX11
-
 #  include <condition_variable>
 DEAL_II_NAMESPACE_OPEN
 namespace std_cxx11
@@ -31,20 +29,6 @@ namespace std_cxx11
 }
 DEAL_II_NAMESPACE_CLOSE
 
-#else
-
-#  include <boost/thread/condition_variable.hpp>
-DEAL_II_NAMESPACE_OPEN
-namespace std_cxx11
-{
-  using boost::condition_variable;
-  using boost::unique_lock;
-  using boost::adopt_lock;
-}
-DEAL_II_NAMESPACE_CLOSE
-
-#endif
-
 // then allow using the old namespace name instead of the new one
 DEAL_II_NAMESPACE_OPEN
 namespace std_cxx1x = std_cxx11;
index ec61d05b11e3b92d3f842305a7ff057d59d8ad17..3b9320a0f0bd10a872cd2d30bbfe67dc9e6b383b 100644 (file)
@@ -19,7 +19,6 @@
 
 #include <deal.II/base/config.h>
 
-#ifdef DEAL_II_WITH_CXX11
 
 #  include <functional>
 DEAL_II_NAMESPACE_OPEN
@@ -29,17 +28,6 @@ namespace std_cxx11
 }
 DEAL_II_NAMESPACE_CLOSE
 
-#else
-
-#include <boost/function.hpp>
-DEAL_II_NAMESPACE_OPEN
-namespace std_cxx11
-{
-  using boost::function;
-}
-DEAL_II_NAMESPACE_CLOSE
-
-#endif
 
 // then allow using the old namespace name instead of the new one
 DEAL_II_NAMESPACE_OPEN
index 66576e37d0d1f8a53aa59ffd72fae5fd94a6f857..3962f5b63c1b8d6e21c59798585e4906bdf260da 100644 (file)
@@ -18,8 +18,6 @@
 
 #include <deal.II/base/config.h>
 
-#ifdef DEAL_II_WITH_CXX11
-
 #  include <iterator>
 DEAL_II_NAMESPACE_OPEN
 namespace std_cxx11
@@ -29,16 +27,4 @@ namespace std_cxx11
 }
 DEAL_II_NAMESPACE_CLOSE
 
-#else
-
-#include <boost/range.hpp>
-DEAL_II_NAMESPACE_OPEN
-namespace std_cxx11
-{
-  using boost::begin;
-  using boost::end;
-}
-DEAL_II_NAMESPACE_CLOSE
-#endif
-
 #endif
index a8f814260004417ca453aaece653c53fde0a501e..cd3480e599cf20e49436e1d724a4a230ad831317 100644 (file)
@@ -19,8 +19,6 @@
 
 #include <deal.II/base/config.h>
 
-#ifdef DEAL_II_WITH_CXX11
-
 #  include <mutex>
 DEAL_II_NAMESPACE_OPEN
 namespace std_cxx11
@@ -29,18 +27,6 @@ namespace std_cxx11
 }
 DEAL_II_NAMESPACE_CLOSE
 
-#else
-
-#  include <boost/thread/mutex.hpp>
-DEAL_II_NAMESPACE_OPEN
-namespace std_cxx11
-{
-  using boost::mutex;
-}
-DEAL_II_NAMESPACE_CLOSE
-
-#endif
-
 // then allow using the old namespace name instead of the new one
 DEAL_II_NAMESPACE_OPEN
 namespace std_cxx1x = std_cxx11;
index 07ac73cc7054dc1ea4202e49d721fccabaddfb7c..fe7d90a1bdbf84de5d8218610c460fc27059a306 100644 (file)
@@ -19,7 +19,6 @@
 
 #include <deal.II/base/config.h>
 
-#ifdef DEAL_II_WITH_CXX11
 
 #  include <memory>
 DEAL_II_NAMESPACE_OPEN
@@ -32,22 +31,6 @@ namespace std_cxx11
 }
 DEAL_II_NAMESPACE_CLOSE
 
-#else
-
-#include <boost/shared_ptr.hpp>
-#include <boost/enable_shared_from_this.hpp>
-#include <boost/make_shared.hpp>
-DEAL_II_NAMESPACE_OPEN
-namespace std_cxx11
-{
-  using boost::shared_ptr;
-  using boost::enable_shared_from_this;
-  using boost::make_shared;
-  using boost::dynamic_pointer_cast;
-}
-DEAL_II_NAMESPACE_CLOSE
-
-#endif
 
 // then allow using the old namespace name instead of the new one
 DEAL_II_NAMESPACE_OPEN
index 9a754c4fcf274cd3ce7e218b2d875df04f7dcd5e..545927d4583892a4302a2b9d16bf43ba76b2a3e8 100644 (file)
@@ -19,8 +19,6 @@
 
 #include <deal.II/base/config.h>
 
-#ifdef DEAL_II_WITH_CXX11
-
 #  include <thread>
 DEAL_II_NAMESPACE_OPEN
 namespace std_cxx11
@@ -29,21 +27,6 @@ namespace std_cxx11
 }
 DEAL_II_NAMESPACE_CLOSE
 
-#else
-
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
-#  include <boost/thread.hpp>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
-
-DEAL_II_NAMESPACE_OPEN
-namespace std_cxx11
-{
-  using boost::thread;
-}
-DEAL_II_NAMESPACE_CLOSE
-
-#endif
-
 // then allow using the old namespace name instead of the new one
 DEAL_II_NAMESPACE_OPEN
 namespace std_cxx1x = std_cxx11;
index 89831a7ca3a2f2fb9f20c6a964c9e61ff61a5135..5bc76eb55e3051e14a85dda438f942fc0b5e9c09 100644 (file)
@@ -19,8 +19,6 @@
 
 #include <deal.II/base/config.h>
 
-#ifdef DEAL_II_WITH_CXX11
-
 #  include <tuple>
 DEAL_II_NAMESPACE_OPEN
 namespace std_cxx11
@@ -33,37 +31,6 @@ namespace std_cxx11
 }
 DEAL_II_NAMESPACE_CLOSE
 
-#else
-
-#include <boost/tuple/tuple.hpp>
-DEAL_II_NAMESPACE_OPEN
-namespace std_cxx11
-{
-  using boost::tuple;
-  using boost::make_tuple;
-  using boost::get;
-
-  // boost::tuples::length has been renamed
-  // by the standard to std::tuple_size
-  template <typename T>
-  struct tuple_size
-  {
-    static const std::size_t value = boost::tuples::length<T>::value;
-  };
-
-  // similarly, boost::tuples::element has
-  // been renamed by the standard to
-  // std::tuple_element
-  template <int N, typename T>
-  struct tuple_element
-  {
-    typedef typename boost::tuples::element<N,T>::type type;
-  };
-}
-DEAL_II_NAMESPACE_CLOSE
-
-#endif
-
 // then allow using the old namespace name instead of the new one
 DEAL_II_NAMESPACE_OPEN
 namespace std_cxx1x = std_cxx11;
index a6f9a898788dd3234a1d50cb0baf4c5cce6a8fc8..7a01d8db02351c0d5938715cdb62e414d1affe10 100644 (file)
@@ -19,8 +19,6 @@
 
 #include <deal.II/base/config.h>
 
-#ifdef DEAL_II_WITH_CXX11
-
 #  include <type_traits>
 DEAL_II_NAMESPACE_OPEN
 namespace std_cxx11
@@ -38,55 +36,6 @@ namespace std_cxx11
 }
 DEAL_II_NAMESPACE_CLOSE
 
-#else
-
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
-#include <boost/type_traits.hpp>
-#include <boost/version.hpp>
-#if BOOST_VERSION<105600
-#include <boost/utility/enable_if.hpp>
-#else
-#include <boost/core/enable_if.hpp>
-#endif
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
-
-DEAL_II_NAMESPACE_OPEN
-namespace std_cxx11
-{
-  using boost::is_fundamental;
-  using boost::is_pod;
-  using boost::is_pointer;
-
-  // boost::enable_if_c, *not* boost::enable_if, is equivalent to std::enable_if.
-  template <bool B, class T = void>
-  struct enable_if : public boost::enable_if_c<B, T>
-  {};
-
-  // boost does not have is_standard_layout and
-  // is_trivial, but those are both a subset of
-  // is_pod
-  template <typename T>
-  struct is_standard_layout
-  {
-    static const bool value = boost::is_pod<T>::value;
-  };
-
-  template <typename T>
-  struct is_trivial
-  {
-    static const bool value = boost::has_trivial_copy<T>::value &&
-                              boost::has_trivial_assign<T>::value &&
-                              boost::has_trivial_constructor<T>::value &&
-                              boost::has_trivial_destructor<T>::value;
-  };
-
-  using boost::true_type;
-  using boost::false_type;
-}
-DEAL_II_NAMESPACE_CLOSE
-
-#endif
-
 
 // then allow using the old namespace name instead of the new one
 DEAL_II_NAMESPACE_OPEN
index e8d30338db5fc9476d44823e4893820adb6e6bb9..30db929ab349515f063f6ff129c9e0e7b4bd9080 100644 (file)
@@ -19,7 +19,6 @@
 
 #include <deal.II/base/config.h>
 
-#ifdef DEAL_II_WITH_CXX11
 
 #  include <memory>
 DEAL_II_NAMESPACE_OPEN
@@ -29,75 +28,6 @@ namespace std_cxx11
 }
 DEAL_II_NAMESPACE_CLOSE
 
-#else
-
-#include <boost/scoped_ptr.hpp>
-#include <boost/serialization/scoped_ptr.hpp>
-
-
-DEAL_II_NAMESPACE_OPEN
-namespace std_cxx11
-{
-  /**
-   * Implementation of a basic replacement for C++11's std::unique_ptr class.
-   *
-   * BOOST does not have a replacement for std::unique_ptr (because unique_ptr
-   * requires move semantics that aren't available unless you have a C++11
-   * compiler -- in which case you also have std::unique_ptr; see for example
-   * http://stackoverflow.com/questions/2953530/unique-ptr-boost-equivalent)
-   *
-   * Consequently, we emulate the class by just wrapping a boost::scoped_ptr
-   * in the cheapest possible way -- by just deriving from it and repeating
-   * the basic constructors. Everything else is inherited from the scoped_ptr
-   * class.
-   *
-   * There is no overhead to this approach: scoped_ptr cannot be copied or
-   * moved. Instances of unique_ptr cannot be copied, and if you do not have a
-   * C++11 compiler, then you cannot move anything anyway.
-   */
-  template <typename T>
-  class unique_ptr : public boost::scoped_ptr<T>
-  {
-  public:
-    unique_ptr () {}
-
-    template<class Y>
-    explicit unique_ptr (Y *p)
-      :
-      boost::scoped_ptr<T>(p)
-    {}
-  };
-
-
-  template<class Archive, class T>
-  void save(Archive &ar,
-            const unique_ptr< T > &t,
-            const unsigned int version)
-  {
-    boost::serialization::save (ar, static_cast<boost::scoped_ptr<T>&>(t), version);
-  }
-
-  template<class Archive, class T>
-  void load(Archive &ar,
-            unique_ptr< T > &t,
-            const unsigned int version)
-  {
-    boost::serialization::load (ar, static_cast<boost::scoped_ptr<T>&>(t), version);
-  }
-
-  template<class Archive, class T>
-  void serialize(Archive &ar,
-                 unique_ptr< T > &t,
-                 const unsigned int version)
-  {
-    boost::serialization::serialize (ar, static_cast<boost::scoped_ptr<T>&>(t), version);
-  }
-
-}
-DEAL_II_NAMESPACE_CLOSE
-
-#endif
-
 // then allow using the old namespace name instead of the new one
 DEAL_II_NAMESPACE_OPEN
 namespace std_cxx1x = std_cxx11;
index c0c9238d5924ce1ad0e7c0841b80153bc9146d28..ac7e240c8e3b32133083255469cf4fd57a7fc9ef 100644 (file)
@@ -20,9 +20,9 @@
 #include <deal.II/base/config.h>
 #include <deal.II/base/exceptions.h>
 
-#include <deal.II/base/std_cxx11/tuple.h>
 
 #include <iterator>
+#include <tuple>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -36,10 +36,10 @@ DEAL_II_NAMESPACE_OPEN
  * not <code>b.end()</code>)
  *
  * The template argument of the current class shall be of type
- * <code>std_cxx11::tuple</code> with arguments equal to the iterator types.
+ * <code>std::tuple</code> with arguments equal to the iterator types.
  *
  * The individual iterators can be accessed using
- * <code>std_cxx11::get<X>(synchronous_iterator.iterators)</code> where X is
+ * <code>std::get<X>(synchronous_iterator.iterators)</code> where X is
  * the number corresponding to the desired iterator.
  *
  * This type, and the helper functions associated with it, are used as the
@@ -133,7 +133,7 @@ bool
 operator< (const SynchronousIterators<Iterators> &a,
            const SynchronousIterators<Iterators> &b)
 {
-  return std_cxx11::get<0>(*a) < std_cxx11::get<0>(*b);
+  return std::get<0>(*a) < std::get<0>(*b);
 }
 
 
@@ -151,11 +151,11 @@ std::size_t
 operator- (const SynchronousIterators<Iterators> &a,
            const SynchronousIterators<Iterators> &b)
 {
-  Assert (std::distance (std_cxx11::get<0>(*b),
-                         std_cxx11::get<0>(*a)) >= 0,
+  Assert (std::distance (std::get<0>(*b),
+                         std::get<0>(*a)) >= 0,
           ExcInternalError());
-  return std::distance (std_cxx11::get<0>(*b),
-                        std_cxx11::get<0>(*a));
+  return std::distance (std::get<0>(*b),
+                        std::get<0>(*a));
 }
 
 
@@ -166,11 +166,11 @@ operator- (const SynchronousIterators<Iterators> &a,
  */
 template <typename I1, typename I2>
 inline
-void advance (std_cxx11::tuple<I1,I2> &t,
+void advance (std::tuple<I1,I2> &t,
               const unsigned int       n)
 {
-  std::advance (std_cxx11::get<0>(t), n);
-  std::advance (std_cxx11::get<1>(t), n);
+  std::advance (std::get<0>(t), n);
+  std::advance (std::get<1>(t), n);
 }
 
 /**
@@ -180,12 +180,12 @@ void advance (std_cxx11::tuple<I1,I2> &t,
  */
 template <typename I1, typename I2, typename I3>
 inline
-void advance (std_cxx11::tuple<I1,I2,I3> &t,
+void advance (std::tuple<I1,I2,I3> &t,
               const unsigned int          n)
 {
-  std::advance (std_cxx11::get<0>(t), n);
-  std::advance (std_cxx11::get<1>(t), n);
-  std::advance (std_cxx11::get<2>(t), n);
+  std::advance (std::get<0>(t), n);
+  std::advance (std::get<1>(t), n);
+  std::advance (std::get<2>(t), n);
 }
 
 /**
@@ -196,13 +196,13 @@ void advance (std_cxx11::tuple<I1,I2,I3> &t,
 template <typename I1, typename I2,
           typename I3, typename I4>
 inline
-void advance (std_cxx11::tuple<I1,I2,I3, I4> &t,
+void advance (std::tuple<I1,I2,I3, I4> &t,
               const unsigned int              n)
 {
-  std::advance (std_cxx11::get<0>(t), n);
-  std::advance (std_cxx11::get<1>(t), n);
-  std::advance (std_cxx11::get<2>(t), n);
-  std::advance (std_cxx11::get<3>(t), n);
+  std::advance (std::get<0>(t), n);
+  std::advance (std::get<1>(t), n);
+  std::advance (std::get<2>(t), n);
+  std::advance (std::get<3>(t), n);
 }
 
 
@@ -214,10 +214,10 @@ void advance (std_cxx11::tuple<I1,I2,I3, I4> &t,
  */
 template <typename I1, typename I2>
 inline
-void advance_by_one (std_cxx11::tuple<I1,I2> &t)
+void advance_by_one (std::tuple<I1,I2> &t)
 {
-  ++std_cxx11::get<0>(t);
-  ++std_cxx11::get<1>(t);
+  ++std::get<0>(t);
+  ++std::get<1>(t);
 }
 
 /**
@@ -227,11 +227,11 @@ void advance_by_one (std_cxx11::tuple<I1,I2> &t)
  */
 template <typename I1, typename I2, typename I3>
 inline
-void advance_by_one (std_cxx11::tuple<I1,I2,I3> &t)
+void advance_by_one (std::tuple<I1,I2,I3> &t)
 {
-  ++std_cxx11::get<0>(t);
-  ++std_cxx11::get<1>(t);
-  ++std_cxx11::get<2>(t);
+  ++std::get<0>(t);
+  ++std::get<1>(t);
+  ++std::get<2>(t);
 }
 
 /**
@@ -242,12 +242,12 @@ void advance_by_one (std_cxx11::tuple<I1,I2,I3> &t)
 template <typename I1, typename I2,
           typename I3, typename I4>
 inline
-void advance_by_one (std_cxx11::tuple<I1,I2,I3,I4> &t)
+void advance_by_one (std::tuple<I1,I2,I3,I4> &t)
 {
-  ++std_cxx11::get<0>(t);
-  ++std_cxx11::get<1>(t);
-  ++std_cxx11::get<2>(t);
-  ++std_cxx11::get<3>(t);
+  ++std::get<0>(t);
+  ++std::get<1>(t);
+  ++std::get<2>(t);
+  ++std::get<3>(t);
 }
 
 
@@ -295,8 +295,8 @@ bool
 operator != (const SynchronousIterators<Iterators> &a,
              const SynchronousIterators<Iterators> &b)
 {
-  return (std_cxx11::get<0>(*a) !=
-          std_cxx11::get<0>(*b));
+  return (std::get<0>(*a) !=
+          std::get<0>(*b));
 }
 
 DEAL_II_NAMESPACE_CLOSE
index d9cab5a15672a031b9878141f7cc6c1c4bb3a7ce..cf73345ed996976ed320ad26582181821eae7d42 100644 (file)
 
 #include <deal.II/base/config.h>
 #include <deal.II/base/exceptions.h>
-#include <deal.II/base/std_cxx11/iterator.h>
 
 #include <algorithm>
 #include <ostream>
+#include <iterator>
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -238,7 +238,7 @@ inline
 void
 TableIndices<N>::sort ()
 {
-  std::sort(std_cxx11::begin(indices), std_cxx11::end(indices));
+  std::sort(std::begin(indices), std::end(indices));
 }
 
 
index 564d093317795730bfc84ee6627cb100064c5dbe..5d59d94219c630fde6984942b8456cb144ea65e1 100644 (file)
 #include <deal.II/base/config.h>
 #include <deal.II/base/exceptions.h>
 #include <deal.II/base/template_constraints.h>
-#include <deal.II/base/std_cxx11/tuple.h>
-#include <deal.II/base/std_cxx11/function.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
-#include <deal.II/base/std_cxx11/bind.h>
 
 #ifdef DEAL_II_WITH_THREADS
-#  include <deal.II/base/std_cxx11/thread.h>
-#  include <deal.II/base/std_cxx11/mutex.h>
-#  include <deal.II/base/std_cxx11/condition_variable.h>
+#  include <thread>
+#  include <mutex>
+#  include <condition_variable>
 #endif
 
 #include <iterator>
 #include <vector>
 #include <list>
 #include <utility>
+#include <functional>
+#include <memory>
+#include <tuple>
 
 
 #ifdef DEAL_II_WITH_THREADS
@@ -335,7 +334,7 @@ namespace Threads
     /**
      * Data object storing the mutex data
      */
-    std_cxx11::mutex mutex;
+    std::mutex mutex;
 
     /**
      * Make the class implementing condition variables a friend, since it
@@ -383,8 +382,7 @@ namespace Threads
      */
     inline void wait (Mutex &mutex)
     {
-      std_cxx11::unique_lock<std_cxx11::mutex> lock(mutex.mutex,
-                                                    std_cxx11::adopt_lock);
+      std::unique_lock<std::mutex> lock(mutex.mutex, std::adopt_lock);
       condition_variable.wait (lock);
     }
 
@@ -392,7 +390,7 @@ namespace Threads
     /**
      * Data object storing the necessary data.
      */
-    std_cxx11::condition_variable condition_variable;
+    std::condition_variable condition_variable;
   };
 
 
@@ -754,14 +752,14 @@ namespace Threads
   namespace internal
   {
     template <typename RT>
-    inline void call (const std_cxx11::function<RT ()> &function,
+    inline void call (const std::function<RT ()> &function,
                       internal::return_value<RT> &ret_val)
     {
       ret_val.set (function());
     }
 
 
-    inline void call (const std_cxx11::function<void ()> &function,
+    inline void call (const std::function<void ()> &function,
                       internal::return_value<void> &)
     {
       function();
@@ -782,7 +780,7 @@ namespace Threads
      * arguments.
      */
     template <typename RT, typename ArgList,
-              int length = std_cxx11::tuple_size<ArgList>::value>
+              int length = std::tuple_size<ArgList>::value>
     struct fun_ptr_helper;
 
 
@@ -808,7 +806,7 @@ namespace Threads
     template <typename RT, typename ArgList>
     struct fun_ptr_helper<RT, ArgList, 1>
     {
-      typedef RT (type) (typename std_cxx11::tuple_element<0,ArgList>::type);
+      typedef RT (type) (typename std::tuple_element<0,ArgList>::type);
     };
 
 
@@ -821,8 +819,8 @@ namespace Threads
     template <typename RT, typename ArgList>
     struct fun_ptr_helper<RT, ArgList, 2>
     {
-      typedef RT (type) (typename std_cxx11::tuple_element<0,ArgList>::type,
-                         typename std_cxx11::tuple_element<1,ArgList>::type);
+      typedef RT (type) (typename std::tuple_element<0,ArgList>::type,
+                         typename std::tuple_element<1,ArgList>::type);
     };
 
 
@@ -835,9 +833,9 @@ namespace Threads
     template <typename RT, typename ArgList>
     struct fun_ptr_helper<RT, ArgList, 3>
     {
-      typedef RT (type) (typename std_cxx11::tuple_element<0,ArgList>::type,
-                         typename std_cxx11::tuple_element<1,ArgList>::type,
-                         typename std_cxx11::tuple_element<2,ArgList>::type);
+      typedef RT (type) (typename std::tuple_element<0,ArgList>::type,
+                         typename std::tuple_element<1,ArgList>::type,
+                         typename std::tuple_element<2,ArgList>::type);
     };
 
 
@@ -850,10 +848,10 @@ namespace Threads
     template <typename RT, typename ArgList>
     struct fun_ptr_helper<RT, ArgList, 4>
     {
-      typedef RT (type) (typename std_cxx11::tuple_element<0,ArgList>::type,
-                         typename std_cxx11::tuple_element<1,ArgList>::type,
-                         typename std_cxx11::tuple_element<2,ArgList>::type,
-                         typename std_cxx11::tuple_element<3,ArgList>::type);
+      typedef RT (type) (typename std::tuple_element<0,ArgList>::type,
+                         typename std::tuple_element<1,ArgList>::type,
+                         typename std::tuple_element<2,ArgList>::type,
+                         typename std::tuple_element<3,ArgList>::type);
     };
 
 
@@ -866,11 +864,11 @@ namespace Threads
     template <typename RT, typename ArgList>
     struct fun_ptr_helper<RT, ArgList, 5>
     {
-      typedef RT (type) (typename std_cxx11::tuple_element<0,ArgList>::type,
-                         typename std_cxx11::tuple_element<1,ArgList>::type,
-                         typename std_cxx11::tuple_element<2,ArgList>::type,
-                         typename std_cxx11::tuple_element<3,ArgList>::type,
-                         typename std_cxx11::tuple_element<4,ArgList>::type);
+      typedef RT (type) (typename std::tuple_element<0,ArgList>::type,
+                         typename std::tuple_element<1,ArgList>::type,
+                         typename std::tuple_element<2,ArgList>::type,
+                         typename std::tuple_element<3,ArgList>::type,
+                         typename std::tuple_element<4,ArgList>::type);
     };
 
 
@@ -883,12 +881,12 @@ namespace Threads
     template <typename RT, typename ArgList>
     struct fun_ptr_helper<RT, ArgList, 6>
     {
-      typedef RT (type) (typename std_cxx11::tuple_element<0,ArgList>::type,
-                         typename std_cxx11::tuple_element<1,ArgList>::type,
-                         typename std_cxx11::tuple_element<2,ArgList>::type,
-                         typename std_cxx11::tuple_element<3,ArgList>::type,
-                         typename std_cxx11::tuple_element<4,ArgList>::type,
-                         typename std_cxx11::tuple_element<5,ArgList>::type);
+      typedef RT (type) (typename std::tuple_element<0,ArgList>::type,
+                         typename std::tuple_element<1,ArgList>::type,
+                         typename std::tuple_element<2,ArgList>::type,
+                         typename std::tuple_element<3,ArgList>::type,
+                         typename std::tuple_element<4,ArgList>::type,
+                         typename std::tuple_element<5,ArgList>::type);
     };
 
 
@@ -901,13 +899,13 @@ namespace Threads
     template <typename RT, typename ArgList>
     struct fun_ptr_helper<RT, ArgList, 7>
     {
-      typedef RT (type) (typename std_cxx11::tuple_element<0,ArgList>::type,
-                         typename std_cxx11::tuple_element<1,ArgList>::type,
-                         typename std_cxx11::tuple_element<2,ArgList>::type,
-                         typename std_cxx11::tuple_element<3,ArgList>::type,
-                         typename std_cxx11::tuple_element<4,ArgList>::type,
-                         typename std_cxx11::tuple_element<5,ArgList>::type,
-                         typename std_cxx11::tuple_element<6,ArgList>::type);
+      typedef RT (type) (typename std::tuple_element<0,ArgList>::type,
+                         typename std::tuple_element<1,ArgList>::type,
+                         typename std::tuple_element<2,ArgList>::type,
+                         typename std::tuple_element<3,ArgList>::type,
+                         typename std::tuple_element<4,ArgList>::type,
+                         typename std::tuple_element<5,ArgList>::type,
+                         typename std::tuple_element<6,ArgList>::type);
     };
 
 
@@ -920,14 +918,14 @@ namespace Threads
     template <typename RT, typename ArgList>
     struct fun_ptr_helper<RT, ArgList, 8>
     {
-      typedef RT (type) (typename std_cxx11::tuple_element<0,ArgList>::type,
-                         typename std_cxx11::tuple_element<1,ArgList>::type,
-                         typename std_cxx11::tuple_element<2,ArgList>::type,
-                         typename std_cxx11::tuple_element<3,ArgList>::type,
-                         typename std_cxx11::tuple_element<4,ArgList>::type,
-                         typename std_cxx11::tuple_element<5,ArgList>::type,
-                         typename std_cxx11::tuple_element<6,ArgList>::type,
-                         typename std_cxx11::tuple_element<7,ArgList>::type);
+      typedef RT (type) (typename std::tuple_element<0,ArgList>::type,
+                         typename std::tuple_element<1,ArgList>::type,
+                         typename std::tuple_element<2,ArgList>::type,
+                         typename std::tuple_element<3,ArgList>::type,
+                         typename std::tuple_element<4,ArgList>::type,
+                         typename std::tuple_element<5,ArgList>::type,
+                         typename std::tuple_element<6,ArgList>::type,
+                         typename std::tuple_element<7,ArgList>::type);
     };
 
 
@@ -940,15 +938,15 @@ namespace Threads
     template <typename RT, typename ArgList>
     struct fun_ptr_helper<RT, ArgList, 9>
     {
-      typedef RT (type) (typename std_cxx11::tuple_element<0,ArgList>::type,
-                         typename std_cxx11::tuple_element<1,ArgList>::type,
-                         typename std_cxx11::tuple_element<2,ArgList>::type,
-                         typename std_cxx11::tuple_element<3,ArgList>::type,
-                         typename std_cxx11::tuple_element<4,ArgList>::type,
-                         typename std_cxx11::tuple_element<5,ArgList>::type,
-                         typename std_cxx11::tuple_element<6,ArgList>::type,
-                         typename std_cxx11::tuple_element<7,ArgList>::type,
-                         typename std_cxx11::tuple_element<8,ArgList>::type);
+      typedef RT (type) (typename std::tuple_element<0,ArgList>::type,
+                         typename std::tuple_element<1,ArgList>::type,
+                         typename std::tuple_element<2,ArgList>::type,
+                         typename std::tuple_element<3,ArgList>::type,
+                         typename std::tuple_element<4,ArgList>::type,
+                         typename std::tuple_element<5,ArgList>::type,
+                         typename std::tuple_element<6,ArgList>::type,
+                         typename std::tuple_element<7,ArgList>::type,
+                         typename std::tuple_element<8,ArgList>::type);
     };
 
 
@@ -962,16 +960,16 @@ namespace Threads
     template <typename RT, typename ArgList>
     struct fun_ptr_helper<RT, ArgList, 10>
     {
-      typedef RT (type) (typename std_cxx11::tuple_element<0,ArgList>::type,
-                         typename std_cxx11::tuple_element<1,ArgList>::type,
-                         typename std_cxx11::tuple_element<2,ArgList>::type,
-                         typename std_cxx11::tuple_element<3,ArgList>::type,
-                         typename std_cxx11::tuple_element<4,ArgList>::type,
-                         typename std_cxx11::tuple_element<5,ArgList>::type,
-                         typename std_cxx11::tuple_element<6,ArgList>::type,
-                         typename std_cxx11::tuple_element<7,ArgList>::type,
-                         typename std_cxx11::tuple_element<8,ArgList>::type,
-                         typename std_cxx11::tuple_element<9,ArgList>::type);
+      typedef RT (type) (typename std::tuple_element<0,ArgList>::type,
+                         typename std::tuple_element<1,ArgList>::type,
+                         typename std::tuple_element<2,ArgList>::type,
+                         typename std::tuple_element<3,ArgList>::type,
+                         typename std::tuple_element<4,ArgList>::type,
+                         typename std::tuple_element<5,ArgList>::type,
+                         typename std::tuple_element<6,ArgList>::type,
+                         typename std::tuple_element<7,ArgList>::type,
+                         typename std::tuple_element<8,ArgList>::type,
+                         typename std::tuple_element<9,ArgList>::type);
     };
 
 
@@ -1015,7 +1013,7 @@ namespace Threads
       /**
        * An object that represents the thread started.
        */
-      std_cxx11::thread thread;
+      std::thread thread;
 
       /**
        * An object that will hold the value returned by the function called on
@@ -1025,7 +1023,7 @@ namespace Threads
        * the the ThreadDescriptor.  This makes sure the object stays alive
        * until the thread exits.
        */
-      std_cxx11::shared_ptr<return_value<RT> > ret_val;
+      std::shared_ptr<return_value<RT> > ret_val;
 
       /**
        * A bool variable that is initially false, is set to true when a new
@@ -1085,11 +1083,11 @@ namespace Threads
        * Start the thread and let it put its return value into the ret_val
        * object.
        */
-      void start (const std_cxx11::function<RT ()> &function)
+      void start (const std::function<RT ()> &function)
       {
         thread_is_active = true;
         ret_val.reset(new return_value<RT>());
-        thread = std_cxx11::thread (thread_entry_point, function, ret_val);
+        thread = std::thread (thread_entry_point, function, ret_val);
       }
 
 
@@ -1119,8 +1117,8 @@ namespace Threads
        * The function that runs on the thread.
        */
       static
-      void thread_entry_point (const std_cxx11::function<RT ()> function,
-                               std_cxx11::shared_ptr<return_value<RT> > ret_val)
+      void thread_entry_point (const std::function<RT ()> function,
+                               std::shared_ptr<return_value<RT> > ret_val)
       {
         // call the function in question. since an exception that is
         // thrown from one of the called functions will not propagate
@@ -1160,13 +1158,13 @@ namespace Threads
        * An object that will hold the value returned by the function called on
        * the thread.
        */
-      std_cxx11::shared_ptr<return_value<RT> > ret_val;
+      std::shared_ptr<return_value<RT> > ret_val;
 
       /**
        * Start the thread and let it put its return value into the ret_val
        * object.
        */
-      void start (const std_cxx11::function<RT ()> &function)
+      void start (const std::function<RT ()> &function)
       {
         ret_val.reset(new return_value<RT>());
         call (function, *ret_val);
@@ -1212,7 +1210,7 @@ namespace Threads
     /**
      * Construct a thread object with a function object.
      */
-    Thread (const std_cxx11::function<RT ()> &function)
+    Thread (const std::function<RT ()> &function)
       :
       thread_descriptor (new internal::ThreadDescriptor<RT>())
     {
@@ -1283,14 +1281,14 @@ namespace Threads
      * implementation will make sure that that object lives as long as there
      * is at least one subscriber to it.
      */
-    std_cxx11::shared_ptr<internal::ThreadDescriptor<RT> > thread_descriptor;
+    std::shared_ptr<internal::ThreadDescriptor<RT> > thread_descriptor;
   };
 
 
   namespace internal
   {
     /**
-     * A general template that returns std_cxx11::ref(t) if t is of reference
+     * A general template that returns std::ref(t) if t is of reference
      * type, and t otherwise.
      *
      * The case that t is of reference type is handled in a partial
@@ -1308,7 +1306,7 @@ namespace Threads
 
 
     /**
-     * A general template that returns std_cxx11::ref(t) if t is of reference
+     * A general template that returns std::ref(t) if t is of reference
      * type, and t otherwise.
      *
      * The case that t is of reference type is handled in this partial
@@ -1317,9 +1315,9 @@ namespace Threads
     template <typename T>
     struct maybe_make_ref<T &>
     {
-      static std_cxx11::reference_wrapper<T> act (T &t)
+      static std::reference_wrapper<T> act (T &t)
       {
-        return std_cxx11::ref(t);
+        return std::ref(t);
       }
     };
   }
@@ -1360,7 +1358,7 @@ namespace Threads
         : function (*function)
       {}
 
-      fun_encapsulator (const std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
+      fun_encapsulator (const std::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
         : function (function)
       {}
 
@@ -1372,7 +1370,7 @@ namespace Threads
       }
 
     private:
-      std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> function;
+      std::function<typename internal::fun_ptr<RT,ArgList>::type> function;
     };
 
     /**
@@ -1388,22 +1386,22 @@ namespace Threads
         : function (*function)
       {}
 
-      fun_encapsulator (const std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
+      fun_encapsulator (const std::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
         : function (function)
       {}
 
       inline
       Thread<RT>
-      operator() (typename std_cxx11::tuple_element<0,ArgList>::type arg1)
+      operator() (typename std::tuple_element<0,ArgList>::type arg1)
       {
         return
           Thread<RT>
-          (std_cxx11::bind (function,
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<0,ArgList>::type>::act(arg1)));
+          (std::bind (function,
+                      internal::maybe_make_ref<typename std::tuple_element<0,ArgList>::type>::act(arg1)));
       }
 
     private:
-      std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> function;
+      std::function<typename internal::fun_ptr<RT,ArgList>::type> function;
     };
 
     /**
@@ -1419,24 +1417,24 @@ namespace Threads
         : function (*function)
       {}
 
-      fun_encapsulator (const std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
+      fun_encapsulator (const std::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
         : function (function)
       {}
 
       inline
       Thread<RT>
-      operator() (typename std_cxx11::tuple_element<0,ArgList>::type arg1,
-                  typename std_cxx11::tuple_element<1,ArgList>::type arg2)
+      operator() (typename std::tuple_element<0,ArgList>::type arg1,
+                  typename std::tuple_element<1,ArgList>::type arg2)
       {
         return
           Thread<RT>
-          (std_cxx11::bind (function,
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<0,ArgList>::type>::act(arg1),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<1,ArgList>::type>::act(arg2)));
+          (std::bind (function,
+                      internal::maybe_make_ref<typename std::tuple_element<0,ArgList>::type>::act(arg1),
+                      internal::maybe_make_ref<typename std::tuple_element<1,ArgList>::type>::act(arg2)));
       }
 
     private:
-      std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> function;
+      std::function<typename internal::fun_ptr<RT,ArgList>::type> function;
     };
 
     /**
@@ -1452,26 +1450,26 @@ namespace Threads
         : function (*function)
       {}
 
-      fun_encapsulator (const std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
+      fun_encapsulator (const std::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
         : function (function)
       {}
 
       inline
       Thread<RT>
-      operator() (typename std_cxx11::tuple_element<0,ArgList>::type arg1,
-                  typename std_cxx11::tuple_element<1,ArgList>::type arg2,
-                  typename std_cxx11::tuple_element<2,ArgList>::type arg3)
+      operator() (typename std::tuple_element<0,ArgList>::type arg1,
+                  typename std::tuple_element<1,ArgList>::type arg2,
+                  typename std::tuple_element<2,ArgList>::type arg3)
       {
         return
           Thread<RT>
-          (std_cxx11::bind (function,
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<0,ArgList>::type>::act(arg1),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<1,ArgList>::type>::act(arg2),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<2,ArgList>::type>::act(arg3)));
+          (std::bind (function,
+                      internal::maybe_make_ref<typename std::tuple_element<0,ArgList>::type>::act(arg1),
+                      internal::maybe_make_ref<typename std::tuple_element<1,ArgList>::type>::act(arg2),
+                      internal::maybe_make_ref<typename std::tuple_element<2,ArgList>::type>::act(arg3)));
       }
 
     private:
-      std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> function;
+      std::function<typename internal::fun_ptr<RT,ArgList>::type> function;
     };
 
     /**
@@ -1487,28 +1485,28 @@ namespace Threads
         : function (*function)
       {}
 
-      fun_encapsulator (const std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
+      fun_encapsulator (const std::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
         : function (function)
       {}
 
       inline
       Thread<RT>
-      operator() (typename std_cxx11::tuple_element<0,ArgList>::type arg1,
-                  typename std_cxx11::tuple_element<1,ArgList>::type arg2,
-                  typename std_cxx11::tuple_element<2,ArgList>::type arg3,
-                  typename std_cxx11::tuple_element<3,ArgList>::type arg4)
+      operator() (typename std::tuple_element<0,ArgList>::type arg1,
+                  typename std::tuple_element<1,ArgList>::type arg2,
+                  typename std::tuple_element<2,ArgList>::type arg3,
+                  typename std::tuple_element<3,ArgList>::type arg4)
       {
         return
           Thread<RT>
-          (std_cxx11::bind (function,
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<0,ArgList>::type>::act(arg1),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<1,ArgList>::type>::act(arg2),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<2,ArgList>::type>::act(arg3),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<3,ArgList>::type>::act(arg4)));
+          (std::bind (function,
+                      internal::maybe_make_ref<typename std::tuple_element<0,ArgList>::type>::act(arg1),
+                      internal::maybe_make_ref<typename std::tuple_element<1,ArgList>::type>::act(arg2),
+                      internal::maybe_make_ref<typename std::tuple_element<2,ArgList>::type>::act(arg3),
+                      internal::maybe_make_ref<typename std::tuple_element<3,ArgList>::type>::act(arg4)));
       }
 
     private:
-      std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> function;
+      std::function<typename internal::fun_ptr<RT,ArgList>::type> function;
     };
 
     /**
@@ -1524,30 +1522,30 @@ namespace Threads
         : function (*function)
       {}
 
-      fun_encapsulator (const std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
+      fun_encapsulator (const std::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
         : function (function)
       {}
 
       inline
       Thread<RT>
-      operator() (typename std_cxx11::tuple_element<0,ArgList>::type arg1,
-                  typename std_cxx11::tuple_element<1,ArgList>::type arg2,
-                  typename std_cxx11::tuple_element<2,ArgList>::type arg3,
-                  typename std_cxx11::tuple_element<3,ArgList>::type arg4,
-                  typename std_cxx11::tuple_element<4,ArgList>::type arg5)
+      operator() (typename std::tuple_element<0,ArgList>::type arg1,
+                  typename std::tuple_element<1,ArgList>::type arg2,
+                  typename std::tuple_element<2,ArgList>::type arg3,
+                  typename std::tuple_element<3,ArgList>::type arg4,
+                  typename std::tuple_element<4,ArgList>::type arg5)
       {
         return
           Thread<RT>
-          (std_cxx11::bind (function,
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<0,ArgList>::type>::act(arg1),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<1,ArgList>::type>::act(arg2),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<2,ArgList>::type>::act(arg3),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<3,ArgList>::type>::act(arg4),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<4,ArgList>::type>::act(arg5)));
+          (std::bind (function,
+                      internal::maybe_make_ref<typename std::tuple_element<0,ArgList>::type>::act(arg1),
+                      internal::maybe_make_ref<typename std::tuple_element<1,ArgList>::type>::act(arg2),
+                      internal::maybe_make_ref<typename std::tuple_element<2,ArgList>::type>::act(arg3),
+                      internal::maybe_make_ref<typename std::tuple_element<3,ArgList>::type>::act(arg4),
+                      internal::maybe_make_ref<typename std::tuple_element<4,ArgList>::type>::act(arg5)));
       }
 
     private:
-      std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> function;
+      std::function<typename internal::fun_ptr<RT,ArgList>::type> function;
     };
 
     /**
@@ -1563,32 +1561,32 @@ namespace Threads
         : function (*function)
       {}
 
-      fun_encapsulator (const std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
+      fun_encapsulator (const std::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
         : function (function)
       {}
 
       inline
       Thread<RT>
-      operator() (typename std_cxx11::tuple_element<0,ArgList>::type arg1,
-                  typename std_cxx11::tuple_element<1,ArgList>::type arg2,
-                  typename std_cxx11::tuple_element<2,ArgList>::type arg3,
-                  typename std_cxx11::tuple_element<3,ArgList>::type arg4,
-                  typename std_cxx11::tuple_element<4,ArgList>::type arg5,
-                  typename std_cxx11::tuple_element<5,ArgList>::type arg6)
+      operator() (typename std::tuple_element<0,ArgList>::type arg1,
+                  typename std::tuple_element<1,ArgList>::type arg2,
+                  typename std::tuple_element<2,ArgList>::type arg3,
+                  typename std::tuple_element<3,ArgList>::type arg4,
+                  typename std::tuple_element<4,ArgList>::type arg5,
+                  typename std::tuple_element<5,ArgList>::type arg6)
       {
         return
           Thread<RT>
-          (std_cxx11::bind (function,
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<0,ArgList>::type>::act(arg1),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<1,ArgList>::type>::act(arg2),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<2,ArgList>::type>::act(arg3),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<3,ArgList>::type>::act(arg4),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<4,ArgList>::type>::act(arg5),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<5,ArgList>::type>::act(arg6)));
+          (std::bind (function,
+                      internal::maybe_make_ref<typename std::tuple_element<0,ArgList>::type>::act(arg1),
+                      internal::maybe_make_ref<typename std::tuple_element<1,ArgList>::type>::act(arg2),
+                      internal::maybe_make_ref<typename std::tuple_element<2,ArgList>::type>::act(arg3),
+                      internal::maybe_make_ref<typename std::tuple_element<3,ArgList>::type>::act(arg4),
+                      internal::maybe_make_ref<typename std::tuple_element<4,ArgList>::type>::act(arg5),
+                      internal::maybe_make_ref<typename std::tuple_element<5,ArgList>::type>::act(arg6)));
       }
 
     private:
-      std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> function;
+      std::function<typename internal::fun_ptr<RT,ArgList>::type> function;
     };
 
     /**
@@ -1604,34 +1602,34 @@ namespace Threads
         : function (*function)
       {}
 
-      fun_encapsulator (const std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
+      fun_encapsulator (const std::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
         : function (function)
       {}
 
       inline
       Thread<RT>
-      operator() (typename std_cxx11::tuple_element<0,ArgList>::type arg1,
-                  typename std_cxx11::tuple_element<1,ArgList>::type arg2,
-                  typename std_cxx11::tuple_element<2,ArgList>::type arg3,
-                  typename std_cxx11::tuple_element<3,ArgList>::type arg4,
-                  typename std_cxx11::tuple_element<4,ArgList>::type arg5,
-                  typename std_cxx11::tuple_element<5,ArgList>::type arg6,
-                  typename std_cxx11::tuple_element<6,ArgList>::type arg7)
+      operator() (typename std::tuple_element<0,ArgList>::type arg1,
+                  typename std::tuple_element<1,ArgList>::type arg2,
+                  typename std::tuple_element<2,ArgList>::type arg3,
+                  typename std::tuple_element<3,ArgList>::type arg4,
+                  typename std::tuple_element<4,ArgList>::type arg5,
+                  typename std::tuple_element<5,ArgList>::type arg6,
+                  typename std::tuple_element<6,ArgList>::type arg7)
       {
         return
           Thread<RT>
-          (std_cxx11::bind (function,
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<0,ArgList>::type>::act(arg1),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<1,ArgList>::type>::act(arg2),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<2,ArgList>::type>::act(arg3),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<3,ArgList>::type>::act(arg4),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<4,ArgList>::type>::act(arg5),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<5,ArgList>::type>::act(arg6),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<6,ArgList>::type>::act(arg7)));
+          (std::bind (function,
+                      internal::maybe_make_ref<typename std::tuple_element<0,ArgList>::type>::act(arg1),
+                      internal::maybe_make_ref<typename std::tuple_element<1,ArgList>::type>::act(arg2),
+                      internal::maybe_make_ref<typename std::tuple_element<2,ArgList>::type>::act(arg3),
+                      internal::maybe_make_ref<typename std::tuple_element<3,ArgList>::type>::act(arg4),
+                      internal::maybe_make_ref<typename std::tuple_element<4,ArgList>::type>::act(arg5),
+                      internal::maybe_make_ref<typename std::tuple_element<5,ArgList>::type>::act(arg6),
+                      internal::maybe_make_ref<typename std::tuple_element<6,ArgList>::type>::act(arg7)));
       }
 
     private:
-      std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> function;
+      std::function<typename internal::fun_ptr<RT,ArgList>::type> function;
     };
 
     /**
@@ -1647,36 +1645,36 @@ namespace Threads
         : function (*function)
       {}
 
-      fun_encapsulator (const std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
+      fun_encapsulator (const std::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
         : function (function)
       {}
 
       inline
       Thread<RT>
-      operator() (typename std_cxx11::tuple_element<0,ArgList>::type arg1,
-                  typename std_cxx11::tuple_element<1,ArgList>::type arg2,
-                  typename std_cxx11::tuple_element<2,ArgList>::type arg3,
-                  typename std_cxx11::tuple_element<3,ArgList>::type arg4,
-                  typename std_cxx11::tuple_element<4,ArgList>::type arg5,
-                  typename std_cxx11::tuple_element<5,ArgList>::type arg6,
-                  typename std_cxx11::tuple_element<6,ArgList>::type arg7,
-                  typename std_cxx11::tuple_element<7,ArgList>::type arg8)
+      operator() (typename std::tuple_element<0,ArgList>::type arg1,
+                  typename std::tuple_element<1,ArgList>::type arg2,
+                  typename std::tuple_element<2,ArgList>::type arg3,
+                  typename std::tuple_element<3,ArgList>::type arg4,
+                  typename std::tuple_element<4,ArgList>::type arg5,
+                  typename std::tuple_element<5,ArgList>::type arg6,
+                  typename std::tuple_element<6,ArgList>::type arg7,
+                  typename std::tuple_element<7,ArgList>::type arg8)
       {
         return
           Thread<RT>
-          (std_cxx11::bind (function,
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<0,ArgList>::type>::act(arg1),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<1,ArgList>::type>::act(arg2),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<2,ArgList>::type>::act(arg3),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<3,ArgList>::type>::act(arg4),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<4,ArgList>::type>::act(arg5),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<5,ArgList>::type>::act(arg6),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<6,ArgList>::type>::act(arg7),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<7,ArgList>::type>::act(arg8)));
+          (std::bind (function,
+                      internal::maybe_make_ref<typename std::tuple_element<0,ArgList>::type>::act(arg1),
+                      internal::maybe_make_ref<typename std::tuple_element<1,ArgList>::type>::act(arg2),
+                      internal::maybe_make_ref<typename std::tuple_element<2,ArgList>::type>::act(arg3),
+                      internal::maybe_make_ref<typename std::tuple_element<3,ArgList>::type>::act(arg4),
+                      internal::maybe_make_ref<typename std::tuple_element<4,ArgList>::type>::act(arg5),
+                      internal::maybe_make_ref<typename std::tuple_element<5,ArgList>::type>::act(arg6),
+                      internal::maybe_make_ref<typename std::tuple_element<6,ArgList>::type>::act(arg7),
+                      internal::maybe_make_ref<typename std::tuple_element<7,ArgList>::type>::act(arg8)));
       }
 
     private:
-      std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> function;
+      std::function<typename internal::fun_ptr<RT,ArgList>::type> function;
     };
 
     /**
@@ -1692,38 +1690,38 @@ namespace Threads
         : function (*function)
       {}
 
-      fun_encapsulator (const std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
+      fun_encapsulator (const std::function<typename internal::fun_ptr<RT,ArgList>::type> &function)
         : function (function)
       {}
 
       inline
       Thread<RT>
-      operator() (typename std_cxx11::tuple_element<0,ArgList>::type arg1,
-                  typename std_cxx11::tuple_element<1,ArgList>::type arg2,
-                  typename std_cxx11::tuple_element<2,ArgList>::type arg3,
-                  typename std_cxx11::tuple_element<3,ArgList>::type arg4,
-                  typename std_cxx11::tuple_element<4,ArgList>::type arg5,
-                  typename std_cxx11::tuple_element<5,ArgList>::type arg6,
-                  typename std_cxx11::tuple_element<6,ArgList>::type arg7,
-                  typename std_cxx11::tuple_element<7,ArgList>::type arg8,
-                  typename std_cxx11::tuple_element<8,ArgList>::type arg9)
+      operator() (typename std::tuple_element<0,ArgList>::type arg1,
+                  typename std::tuple_element<1,ArgList>::type arg2,
+                  typename std::tuple_element<2,ArgList>::type arg3,
+                  typename std::tuple_element<3,ArgList>::type arg4,
+                  typename std::tuple_element<4,ArgList>::type arg5,
+                  typename std::tuple_element<5,ArgList>::type arg6,
+                  typename std::tuple_element<6,ArgList>::type arg7,
+                  typename std::tuple_element<7,ArgList>::type arg8,
+                  typename std::tuple_element<8,ArgList>::type arg9)
       {
         return
           Thread<RT>
-          (std_cxx11::bind (function,
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<0,ArgList>::type>::act(arg1),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<1,ArgList>::type>::act(arg2),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<2,ArgList>::type>::act(arg3),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<3,ArgList>::type>::act(arg4),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<4,ArgList>::type>::act(arg5),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<5,ArgList>::type>::act(arg6),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<6,ArgList>::type>::act(arg7),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<7,ArgList>::type>::act(arg8),
-                            internal::maybe_make_ref<typename std_cxx11::tuple_element<8,ArgList>::type>::act(arg9)));
+          (std::bind (function,
+                      internal::maybe_make_ref<typename std::tuple_element<0,ArgList>::type>::act(arg1),
+                      internal::maybe_make_ref<typename std::tuple_element<1,ArgList>::type>::act(arg2),
+                      internal::maybe_make_ref<typename std::tuple_element<2,ArgList>::type>::act(arg3),
+                      internal::maybe_make_ref<typename std::tuple_element<3,ArgList>::type>::act(arg4),
+                      internal::maybe_make_ref<typename std::tuple_element<4,ArgList>::type>::act(arg5),
+                      internal::maybe_make_ref<typename std::tuple_element<5,ArgList>::type>::act(arg6),
+                      internal::maybe_make_ref<typename std::tuple_element<6,ArgList>::type>::act(arg7),
+                      internal::maybe_make_ref<typename std::tuple_element<7,ArgList>::type>::act(arg8),
+                      internal::maybe_make_ref<typename std::tuple_element<8,ArgList>::type>::act(arg9)));
       }
 
     private:
-      std_cxx11::function<typename internal::fun_ptr<RT,ArgList>::type> function;
+      std::function<typename internal::fun_ptr<RT,ArgList>::type> function;
     };
   }
 
@@ -1733,7 +1731,7 @@ namespace Threads
 
   /**
    * Overload of the new_thread function for objects that can be converted to
-   * std_cxx11::function<RT ()>, i.e. anything that can be called like a
+   * std::function<RT ()>, i.e. anything that can be called like a
    * function object without arguments and returning an object of type RT (or
    * void).
    *
@@ -1742,7 +1740,7 @@ namespace Threads
   template <typename RT>
   inline
   Thread<RT>
-  new_thread (const std_cxx11::function<RT ()> &function)
+  new_thread (const std::function<RT ()> &function)
   {
     return Thread<RT>(function);
   }
@@ -1820,7 +1818,7 @@ namespace Threads
   -> Thread<decltype(function_object())>
   {
     typedef decltype(function_object()) return_type;
-    return Thread<return_type>(std_cxx11::function<return_type ()>(function_object));
+    return Thread<return_type>(std::function<return_type ()>(function_object));
   }
 
 #endif
@@ -1837,7 +1835,7 @@ namespace Threads
   Thread<RT>
   new_thread (RT (*fun_ptr)())
   {
-    return new_thread (std_cxx11::function<RT ()> (fun_ptr));
+    return new_thread (std::function<RT ()> (fun_ptr));
   }
 
 
@@ -1854,8 +1852,8 @@ namespace Threads
               typename identity<C>::type &c)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::ref(c))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::ref(c))));
   }
 
 
@@ -1873,8 +1871,8 @@ namespace Threads
               const typename identity<C>::type &c)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::cref(c))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::cref(c))));
   }
 #endif
 
@@ -1895,9 +1893,9 @@ namespace Threads
               typename identity<Arg1>::type arg1)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr,
-                                   internal::maybe_make_ref<Arg1>::act(arg1))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr,
+                             internal::maybe_make_ref<Arg1>::act(arg1))));
   }
 
 
@@ -1916,9 +1914,9 @@ namespace Threads
               typename identity<Arg1>::type arg1)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::ref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -1936,9 +1934,9 @@ namespace Threads
               typename identity<Arg1>::type arg1)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::cref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1))));
   }
 #endif
 
@@ -1958,10 +1956,10 @@ namespace Threads
               typename identity<Arg2>::type arg2)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr,
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr,
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2))));
   }
 
 
@@ -1981,10 +1979,10 @@ namespace Threads
               typename identity<Arg2>::type arg2)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::ref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -2003,10 +2001,10 @@ namespace Threads
               typename identity<Arg2>::type arg2)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::cref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2))));
   }
 #endif
 
@@ -2028,11 +2026,11 @@ namespace Threads
               typename identity<Arg3>::type arg3)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr,
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr,
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3))));
   }
 
 
@@ -2054,11 +2052,11 @@ namespace Threads
               typename identity<Arg3>::type arg3)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::ref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -2079,11 +2077,11 @@ namespace Threads
               typename identity<Arg3>::type arg3)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::cref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3))));
   }
 #endif
 
@@ -2107,12 +2105,12 @@ namespace Threads
               typename identity<Arg4>::type arg4)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr,
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr,
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4))));
   }
 
 
@@ -2135,12 +2133,12 @@ namespace Threads
               typename identity<Arg4>::type arg4)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::ref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -2162,12 +2160,12 @@ namespace Threads
               typename identity<Arg4>::type arg4)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::cref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4))));
   }
 #endif
 
@@ -2192,13 +2190,13 @@ namespace Threads
               typename identity<Arg5>::type arg5)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr,
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4),
-                                   internal::maybe_make_ref<Arg5>::act(arg5))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr,
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4),
+                             internal::maybe_make_ref<Arg5>::act(arg5))));
   }
 
 
@@ -2223,13 +2221,13 @@ namespace Threads
               typename identity<Arg5>::type arg5)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4),
-                                   internal::maybe_make_ref<Arg5>::act(arg5))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::ref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4),
+                             internal::maybe_make_ref<Arg5>::act(arg5))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -2253,13 +2251,13 @@ namespace Threads
               typename identity<Arg5>::type arg5)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4),
-                                   internal::maybe_make_ref<Arg5>::act(arg5))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::cref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4),
+                             internal::maybe_make_ref<Arg5>::act(arg5))));
   }
 #endif
 
@@ -2285,14 +2283,14 @@ namespace Threads
               typename identity<Arg6>::type arg6)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr,
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4),
-                                   internal::maybe_make_ref<Arg5>::act(arg5),
-                                   internal::maybe_make_ref<Arg6>::act(arg6))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr,
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4),
+                             internal::maybe_make_ref<Arg5>::act(arg5),
+                             internal::maybe_make_ref<Arg6>::act(arg6))));
   }
 
 
@@ -2318,14 +2316,14 @@ namespace Threads
               typename identity<Arg6>::type arg6)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4),
-                                   internal::maybe_make_ref<Arg5>::act(arg5),
-                                   internal::maybe_make_ref<Arg6>::act(arg6))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::ref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4),
+                             internal::maybe_make_ref<Arg5>::act(arg5),
+                             internal::maybe_make_ref<Arg6>::act(arg6))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -2350,14 +2348,14 @@ namespace Threads
               typename identity<Arg6>::type arg6)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4),
-                                   internal::maybe_make_ref<Arg5>::act(arg5),
-                                   internal::maybe_make_ref<Arg6>::act(arg6))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::cref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4),
+                             internal::maybe_make_ref<Arg5>::act(arg5),
+                             internal::maybe_make_ref<Arg6>::act(arg6))));
   }
 #endif
 
@@ -2385,15 +2383,15 @@ namespace Threads
               typename identity<Arg7>::type arg7)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr,
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4),
-                                   internal::maybe_make_ref<Arg5>::act(arg5),
-                                   internal::maybe_make_ref<Arg6>::act(arg6),
-                                   internal::maybe_make_ref<Arg7>::act(arg7))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr,
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4),
+                             internal::maybe_make_ref<Arg5>::act(arg5),
+                             internal::maybe_make_ref<Arg6>::act(arg6),
+                             internal::maybe_make_ref<Arg7>::act(arg7))));
   }
 
 
@@ -2421,15 +2419,15 @@ namespace Threads
               typename identity<Arg7>::type arg7)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4),
-                                   internal::maybe_make_ref<Arg5>::act(arg5),
-                                   internal::maybe_make_ref<Arg6>::act(arg6),
-                                   internal::maybe_make_ref<Arg7>::act(arg7))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::ref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4),
+                             internal::maybe_make_ref<Arg5>::act(arg5),
+                             internal::maybe_make_ref<Arg6>::act(arg6),
+                             internal::maybe_make_ref<Arg7>::act(arg7))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -2456,15 +2454,15 @@ namespace Threads
               typename identity<Arg7>::type arg7)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4),
-                                   internal::maybe_make_ref<Arg5>::act(arg5),
-                                   internal::maybe_make_ref<Arg6>::act(arg6),
-                                   internal::maybe_make_ref<Arg7>::act(arg7))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::cref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4),
+                             internal::maybe_make_ref<Arg5>::act(arg5),
+                             internal::maybe_make_ref<Arg6>::act(arg6),
+                             internal::maybe_make_ref<Arg7>::act(arg7))));
   }
 #endif
 
@@ -2494,16 +2492,16 @@ namespace Threads
               typename identity<Arg8>::type arg8)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr,
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4),
-                                   internal::maybe_make_ref<Arg5>::act(arg5),
-                                   internal::maybe_make_ref<Arg6>::act(arg6),
-                                   internal::maybe_make_ref<Arg7>::act(arg7),
-                                   internal::maybe_make_ref<Arg8>::act(arg8))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr,
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4),
+                             internal::maybe_make_ref<Arg5>::act(arg5),
+                             internal::maybe_make_ref<Arg6>::act(arg6),
+                             internal::maybe_make_ref<Arg7>::act(arg7),
+                             internal::maybe_make_ref<Arg8>::act(arg8))));
   }
 
 
@@ -2533,16 +2531,16 @@ namespace Threads
               typename identity<Arg8>::type arg8)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4),
-                                   internal::maybe_make_ref<Arg5>::act(arg5),
-                                   internal::maybe_make_ref<Arg6>::act(arg6),
-                                   internal::maybe_make_ref<Arg7>::act(arg7),
-                                   internal::maybe_make_ref<Arg8>::act(arg8))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::ref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4),
+                             internal::maybe_make_ref<Arg5>::act(arg5),
+                             internal::maybe_make_ref<Arg6>::act(arg6),
+                             internal::maybe_make_ref<Arg7>::act(arg7),
+                             internal::maybe_make_ref<Arg8>::act(arg8))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -2571,16 +2569,16 @@ namespace Threads
               typename identity<Arg8>::type arg8)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4),
-                                   internal::maybe_make_ref<Arg5>::act(arg5),
-                                   internal::maybe_make_ref<Arg6>::act(arg6),
-                                   internal::maybe_make_ref<Arg7>::act(arg7),
-                                   internal::maybe_make_ref<Arg8>::act(arg8))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::cref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4),
+                             internal::maybe_make_ref<Arg5>::act(arg5),
+                             internal::maybe_make_ref<Arg6>::act(arg6),
+                             internal::maybe_make_ref<Arg7>::act(arg7),
+                             internal::maybe_make_ref<Arg8>::act(arg8))));
   }
 #endif
 
@@ -2611,17 +2609,17 @@ namespace Threads
               typename identity<Arg9>::type arg9)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr,
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4),
-                                   internal::maybe_make_ref<Arg5>::act(arg5),
-                                   internal::maybe_make_ref<Arg6>::act(arg6),
-                                   internal::maybe_make_ref<Arg7>::act(arg7),
-                                   internal::maybe_make_ref<Arg8>::act(arg8),
-                                   internal::maybe_make_ref<Arg9>::act(arg9))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr,
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4),
+                             internal::maybe_make_ref<Arg5>::act(arg5),
+                             internal::maybe_make_ref<Arg6>::act(arg6),
+                             internal::maybe_make_ref<Arg7>::act(arg7),
+                             internal::maybe_make_ref<Arg8>::act(arg8),
+                             internal::maybe_make_ref<Arg9>::act(arg9))));
   }
 
 
@@ -2652,17 +2650,17 @@ namespace Threads
               typename identity<Arg9>::type arg9)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4),
-                                   internal::maybe_make_ref<Arg5>::act(arg5),
-                                   internal::maybe_make_ref<Arg6>::act(arg6),
-                                   internal::maybe_make_ref<Arg7>::act(arg7),
-                                   internal::maybe_make_ref<Arg8>::act(arg8),
-                                   internal::maybe_make_ref<Arg9>::act(arg9))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::ref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4),
+                             internal::maybe_make_ref<Arg5>::act(arg5),
+                             internal::maybe_make_ref<Arg6>::act(arg6),
+                             internal::maybe_make_ref<Arg7>::act(arg7),
+                             internal::maybe_make_ref<Arg8>::act(arg8),
+                             internal::maybe_make_ref<Arg9>::act(arg9))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -2692,17 +2690,17 @@ namespace Threads
               typename identity<Arg9>::type arg9)
   {
     return
-      new_thread (std_cxx11::function<RT ()>
-                  (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                   internal::maybe_make_ref<Arg1>::act(arg1),
-                                   internal::maybe_make_ref<Arg2>::act(arg2),
-                                   internal::maybe_make_ref<Arg3>::act(arg3),
-                                   internal::maybe_make_ref<Arg4>::act(arg4),
-                                   internal::maybe_make_ref<Arg5>::act(arg5),
-                                   internal::maybe_make_ref<Arg6>::act(arg6),
-                                   internal::maybe_make_ref<Arg7>::act(arg7),
-                                   internal::maybe_make_ref<Arg8>::act(arg8),
-                                   internal::maybe_make_ref<Arg9>::act(arg9))));
+      new_thread (std::function<RT ()>
+                  (std::bind(fun_ptr, std::cref(c),
+                             internal::maybe_make_ref<Arg1>::act(arg1),
+                             internal::maybe_make_ref<Arg2>::act(arg2),
+                             internal::maybe_make_ref<Arg3>::act(arg3),
+                             internal::maybe_make_ref<Arg4>::act(arg4),
+                             internal::maybe_make_ref<Arg5>::act(arg5),
+                             internal::maybe_make_ref<Arg6>::act(arg6),
+                             internal::maybe_make_ref<Arg7>::act(arg7),
+                             internal::maybe_make_ref<Arg8>::act(arg8),
+                             internal::maybe_make_ref<Arg9>::act(arg9))));
   }
 #endif
 
@@ -2823,7 +2821,7 @@ namespace Threads
       /**
        * The function and its arguments that are to be run on the task.
        */
-      std_cxx11::function<RT ()> function;
+      std::function<RT ()> function;
 
       /**
        * Variable holding the data the TBB needs to work with a task. Set by
@@ -2850,7 +2848,7 @@ namespace Threads
       /**
        * Constructor. Take the function to be run on this task as argument.
        */
-      TaskDescriptor (const std_cxx11::function<RT ()> &function);
+      TaskDescriptor (const std::function<RT ()> &function);
 
       /**
        * Default constructor. Throws an exception since we want to queue a
@@ -2901,7 +2899,7 @@ namespace Threads
 
     template <typename RT>
     inline
-    TaskDescriptor<RT>::TaskDescriptor (const std_cxx11::function<RT ()> &function)
+    TaskDescriptor<RT>::TaskDescriptor (const std::function<RT ()> &function)
       :
       function (function),
       task(NULL),
@@ -3033,7 +3031,7 @@ namespace Threads
        * Constructor. Call the given function and emplace the return value
        * into the slot reserved for this purpose.
        */
-      TaskDescriptor (const std_cxx11::function<RT ()> &function)
+      TaskDescriptor (const std::function<RT ()> &function)
       {
         call (function, ret_val);
       }
@@ -3078,7 +3076,7 @@ namespace Threads
      * @post Using this constructor automatically makes the task object
      * joinable().
      */
-    Task (const std_cxx11::function<RT ()> &function_object)
+    Task (const std::function<RT ()> &function_object)
     {
       // create a task descriptor and tell it to queue itself up with
       // the scheduling system
@@ -3141,7 +3139,7 @@ namespace Threads
     bool joinable () const
     {
       return (task_descriptor !=
-              std_cxx11::shared_ptr<internal::TaskDescriptor<RT> >());
+              std::shared_ptr<internal::TaskDescriptor<RT> >());
     }
 
 
@@ -3192,14 +3190,14 @@ namespace Threads
      * pointer implementation will make sure that that object lives as long as
      * there is at least one subscriber to it.
      */
-    std_cxx11::shared_ptr<internal::TaskDescriptor<RT> > task_descriptor;
+    std::shared_ptr<internal::TaskDescriptor<RT> > task_descriptor;
   };
 
 
 
   /**
    * Overload of the new_task function for objects that can be converted to
-   * std_cxx11::function<RT ()>, i.e. anything that can be called like a
+   * std::function<RT ()>, i.e. anything that can be called like a
    * function object without arguments and returning an object of type RT (or
    * void).
    *
@@ -3208,7 +3206,7 @@ namespace Threads
   template <typename RT>
   inline
   Task<RT>
-  new_task (const std_cxx11::function<RT ()> &function)
+  new_task (const std::function<RT ()> &function)
   {
     return Task<RT>(function);
   }
@@ -3286,7 +3284,7 @@ namespace Threads
   -> Task<decltype(function_object())>
   {
     typedef decltype(function_object()) return_type;
-    return Task<return_type>(std_cxx11::function<return_type ()>(function_object));
+    return Task<return_type>(std::function<return_type ()>(function_object));
   }
 
 #endif
@@ -3302,7 +3300,7 @@ namespace Threads
   Task<RT>
   new_task (RT (*fun_ptr)())
   {
-    return new_task (std_cxx11::function<RT ()>(fun_ptr));
+    return new_task (std::function<RT ()>(fun_ptr));
   }
 
 
@@ -3319,8 +3317,8 @@ namespace Threads
             typename identity<C>::type &c)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::ref(c))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::ref(c))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -3337,8 +3335,8 @@ namespace Threads
             const typename identity<C>::type &c)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::cref(c))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::cref(c))));
   }
 #endif
 
@@ -3359,9 +3357,9 @@ namespace Threads
             typename identity<Arg1>::type arg1)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr,
-                                 internal::maybe_make_ref<Arg1>::act(arg1))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr,
+                           internal::maybe_make_ref<Arg1>::act(arg1))));
   }
 
 
@@ -3380,9 +3378,9 @@ namespace Threads
             typename identity<Arg1>::type arg1)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::ref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -3400,9 +3398,9 @@ namespace Threads
             typename identity<Arg1>::type arg1)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::cref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1))));
   }
 #endif
 
@@ -3422,10 +3420,10 @@ namespace Threads
             typename identity<Arg2>::type arg2)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr,
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr,
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2))));
   }
 
 
@@ -3445,10 +3443,10 @@ namespace Threads
             typename identity<Arg2>::type arg2)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::ref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -3467,10 +3465,10 @@ namespace Threads
             typename identity<Arg2>::type arg2)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::cref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2))));
   }
 #endif
 
@@ -3492,11 +3490,11 @@ namespace Threads
             typename identity<Arg3>::type arg3)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr,
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr,
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3))));
   }
 
 
@@ -3518,11 +3516,11 @@ namespace Threads
             typename identity<Arg3>::type arg3)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::ref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -3543,11 +3541,11 @@ namespace Threads
             typename identity<Arg3>::type arg3)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::cref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3))));
   }
 #endif
 
@@ -3571,12 +3569,12 @@ namespace Threads
             typename identity<Arg4>::type arg4)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr,
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr,
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4))));
   }
 
 
@@ -3599,12 +3597,12 @@ namespace Threads
             typename identity<Arg4>::type arg4)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::ref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -3626,12 +3624,12 @@ namespace Threads
             typename identity<Arg4>::type arg4)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::cref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4))));
   }
 #endif
 
@@ -3656,13 +3654,13 @@ namespace Threads
             typename identity<Arg5>::type arg5)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr,
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4),
-                                 internal::maybe_make_ref<Arg5>::act(arg5))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr,
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4),
+                           internal::maybe_make_ref<Arg5>::act(arg5))));
   }
 
 
@@ -3687,13 +3685,13 @@ namespace Threads
             typename identity<Arg5>::type arg5)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4),
-                                 internal::maybe_make_ref<Arg5>::act(arg5))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::ref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4),
+                           internal::maybe_make_ref<Arg5>::act(arg5))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -3717,13 +3715,13 @@ namespace Threads
             typename identity<Arg5>::type arg5)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4),
-                                 internal::maybe_make_ref<Arg5>::act(arg5))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::cref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4),
+                           internal::maybe_make_ref<Arg5>::act(arg5))));
   }
 #endif
 
@@ -3749,14 +3747,14 @@ namespace Threads
             typename identity<Arg6>::type arg6)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr,
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4),
-                                 internal::maybe_make_ref<Arg5>::act(arg5),
-                                 internal::maybe_make_ref<Arg6>::act(arg6))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr,
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4),
+                           internal::maybe_make_ref<Arg5>::act(arg5),
+                           internal::maybe_make_ref<Arg6>::act(arg6))));
   }
 
 
@@ -3782,14 +3780,14 @@ namespace Threads
             typename identity<Arg6>::type arg6)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4),
-                                 internal::maybe_make_ref<Arg5>::act(arg5),
-                                 internal::maybe_make_ref<Arg6>::act(arg6))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::ref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4),
+                           internal::maybe_make_ref<Arg5>::act(arg5),
+                           internal::maybe_make_ref<Arg6>::act(arg6))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -3814,14 +3812,14 @@ namespace Threads
             typename identity<Arg6>::type arg6)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4),
-                                 internal::maybe_make_ref<Arg5>::act(arg5),
-                                 internal::maybe_make_ref<Arg6>::act(arg6))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::cref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4),
+                           internal::maybe_make_ref<Arg5>::act(arg5),
+                           internal::maybe_make_ref<Arg6>::act(arg6))));
   }
 #endif
 
@@ -3849,15 +3847,15 @@ namespace Threads
             typename identity<Arg7>::type arg7)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr,
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4),
-                                 internal::maybe_make_ref<Arg5>::act(arg5),
-                                 internal::maybe_make_ref<Arg6>::act(arg6),
-                                 internal::maybe_make_ref<Arg7>::act(arg7))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr,
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4),
+                           internal::maybe_make_ref<Arg5>::act(arg5),
+                           internal::maybe_make_ref<Arg6>::act(arg6),
+                           internal::maybe_make_ref<Arg7>::act(arg7))));
   }
 
 
@@ -3885,15 +3883,15 @@ namespace Threads
             typename identity<Arg7>::type arg7)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4),
-                                 internal::maybe_make_ref<Arg5>::act(arg5),
-                                 internal::maybe_make_ref<Arg6>::act(arg6),
-                                 internal::maybe_make_ref<Arg7>::act(arg7))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::ref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4),
+                           internal::maybe_make_ref<Arg5>::act(arg5),
+                           internal::maybe_make_ref<Arg6>::act(arg6),
+                           internal::maybe_make_ref<Arg7>::act(arg7))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -3920,15 +3918,15 @@ namespace Threads
             typename identity<Arg7>::type arg7)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4),
-                                 internal::maybe_make_ref<Arg5>::act(arg5),
-                                 internal::maybe_make_ref<Arg6>::act(arg6),
-                                 internal::maybe_make_ref<Arg7>::act(arg7))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::cref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4),
+                           internal::maybe_make_ref<Arg5>::act(arg5),
+                           internal::maybe_make_ref<Arg6>::act(arg6),
+                           internal::maybe_make_ref<Arg7>::act(arg7))));
   }
 #endif
 
@@ -3958,16 +3956,16 @@ namespace Threads
             typename identity<Arg8>::type arg8)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr,
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4),
-                                 internal::maybe_make_ref<Arg5>::act(arg5),
-                                 internal::maybe_make_ref<Arg6>::act(arg6),
-                                 internal::maybe_make_ref<Arg7>::act(arg7),
-                                 internal::maybe_make_ref<Arg8>::act(arg8))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr,
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4),
+                           internal::maybe_make_ref<Arg5>::act(arg5),
+                           internal::maybe_make_ref<Arg6>::act(arg6),
+                           internal::maybe_make_ref<Arg7>::act(arg7),
+                           internal::maybe_make_ref<Arg8>::act(arg8))));
   }
 
 
@@ -3997,16 +3995,16 @@ namespace Threads
             typename identity<Arg8>::type arg8)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4),
-                                 internal::maybe_make_ref<Arg5>::act(arg5),
-                                 internal::maybe_make_ref<Arg6>::act(arg6),
-                                 internal::maybe_make_ref<Arg7>::act(arg7),
-                                 internal::maybe_make_ref<Arg8>::act(arg8))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::ref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4),
+                           internal::maybe_make_ref<Arg5>::act(arg5),
+                           internal::maybe_make_ref<Arg6>::act(arg6),
+                           internal::maybe_make_ref<Arg7>::act(arg7),
+                           internal::maybe_make_ref<Arg8>::act(arg8))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -4035,16 +4033,16 @@ namespace Threads
             typename identity<Arg8>::type arg8)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4),
-                                 internal::maybe_make_ref<Arg5>::act(arg5),
-                                 internal::maybe_make_ref<Arg6>::act(arg6),
-                                 internal::maybe_make_ref<Arg7>::act(arg7),
-                                 internal::maybe_make_ref<Arg8>::act(arg8))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::cref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4),
+                           internal::maybe_make_ref<Arg5>::act(arg5),
+                           internal::maybe_make_ref<Arg6>::act(arg6),
+                           internal::maybe_make_ref<Arg7>::act(arg7),
+                           internal::maybe_make_ref<Arg8>::act(arg8))));
   }
 #endif
 
@@ -4075,17 +4073,17 @@ namespace Threads
             typename identity<Arg9>::type arg9)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr,
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4),
-                                 internal::maybe_make_ref<Arg5>::act(arg5),
-                                 internal::maybe_make_ref<Arg6>::act(arg6),
-                                 internal::maybe_make_ref<Arg7>::act(arg7),
-                                 internal::maybe_make_ref<Arg8>::act(arg8),
-                                 internal::maybe_make_ref<Arg9>::act(arg9))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr,
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4),
+                           internal::maybe_make_ref<Arg5>::act(arg5),
+                           internal::maybe_make_ref<Arg6>::act(arg6),
+                           internal::maybe_make_ref<Arg7>::act(arg7),
+                           internal::maybe_make_ref<Arg8>::act(arg8),
+                           internal::maybe_make_ref<Arg9>::act(arg9))));
   }
 
 
@@ -4116,17 +4114,17 @@ namespace Threads
             typename identity<Arg9>::type arg9)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::ref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4),
-                                 internal::maybe_make_ref<Arg5>::act(arg5),
-                                 internal::maybe_make_ref<Arg6>::act(arg6),
-                                 internal::maybe_make_ref<Arg7>::act(arg7),
-                                 internal::maybe_make_ref<Arg8>::act(arg8),
-                                 internal::maybe_make_ref<Arg9>::act(arg9))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::ref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4),
+                           internal::maybe_make_ref<Arg5>::act(arg5),
+                           internal::maybe_make_ref<Arg6>::act(arg6),
+                           internal::maybe_make_ref<Arg7>::act(arg7),
+                           internal::maybe_make_ref<Arg8>::act(arg8),
+                           internal::maybe_make_ref<Arg9>::act(arg9))));
   }
 
 #ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
@@ -4156,17 +4154,17 @@ namespace Threads
             typename identity<Arg9>::type arg9)
   {
     return
-      new_task (std_cxx11::function<RT ()>
-                (std_cxx11::bind(fun_ptr, std_cxx11::cref(c),
-                                 internal::maybe_make_ref<Arg1>::act(arg1),
-                                 internal::maybe_make_ref<Arg2>::act(arg2),
-                                 internal::maybe_make_ref<Arg3>::act(arg3),
-                                 internal::maybe_make_ref<Arg4>::act(arg4),
-                                 internal::maybe_make_ref<Arg5>::act(arg5),
-                                 internal::maybe_make_ref<Arg6>::act(arg6),
-                                 internal::maybe_make_ref<Arg7>::act(arg7),
-                                 internal::maybe_make_ref<Arg8>::act(arg8),
-                                 internal::maybe_make_ref<Arg9>::act(arg9))));
+      new_task (std::function<RT ()>
+                (std::bind(fun_ptr, std::cref(c),
+                           internal::maybe_make_ref<Arg1>::act(arg1),
+                           internal::maybe_make_ref<Arg2>::act(arg2),
+                           internal::maybe_make_ref<Arg3>::act(arg3),
+                           internal::maybe_make_ref<Arg4>::act(arg4),
+                           internal::maybe_make_ref<Arg5>::act(arg5),
+                           internal::maybe_make_ref<Arg6>::act(arg6),
+                           internal::maybe_make_ref<Arg7>::act(arg7),
+                           internal::maybe_make_ref<Arg8>::act(arg8),
+                           internal::maybe_make_ref<Arg9>::act(arg9))));
   }
 #endif
 
index cbe40d57e68a1a1c794b4e9cfd39cacec6dd36e3..34170a22a62478d688dc1ddcf6160d778835a80c 100644 (file)
@@ -19,8 +19,8 @@
 
 #include <deal.II/base/config.h>
 #include <deal.II/base/signaling_nan.h>
-#include <deal.II/base/std_cxx11/function.h>
 
+#include <functional>
 #include <vector>
 
 DEAL_II_NAMESPACE_OPEN
@@ -96,11 +96,11 @@ namespace TimeStepping
      * function returns the time at the end of the time step.
      */
     virtual double evolve_one_time_step
-    (std::vector<std_cxx11::function<VectorType (const double, const VectorType &)> >               &F,
-     std::vector<std_cxx11::function<VectorType (const double, const double, const VectorType &)> > &J_inverse,
-     double                                                                                         t,
-     double                                                                                         delta_t,
-     VectorType                                                                                     &y) = 0;
+    (std::vector<std::function<VectorType (const double, const VectorType &)> >               &F,
+     std::vector<std::function<VectorType (const double, const double, const VectorType &)> > &J_inverse,
+     double                                                                                   t,
+     double                                                                                   delta_t,
+     VectorType                                                                               &y) = 0;
 
     /**
      * Empty structure used to store information.
@@ -147,11 +147,11 @@ namespace TimeStepping
      * methods, @p F and @ J_inverse can only contain one element.
      */
     double evolve_one_time_step
-    (std::vector<std_cxx11::function<VectorType (const double, const VectorType &)> >               &F,
-     std::vector<std_cxx11::function<VectorType (const double, const double, const VectorType &)> > &J_inverse,
-     double                                                                                         t,
-     double                                                                                         delta_t,
-     VectorType &y);
+    (std::vector<std::function<VectorType (const double, const VectorType &)> >               &F,
+     std::vector<std::function<VectorType (const double, const double, const VectorType &)> > &J_inverse,
+     double                                                                                   t,
+     double                                                                                   delta_t,
+     VectorType                                                                               &y);
 
     /**
      * Purely virtual function. This function is used to advance from time @p
@@ -165,11 +165,11 @@ namespace TimeStepping
      * evolve_one_time_step returns the time at the end of the time step.
      */
     virtual double evolve_one_time_step
-    (std_cxx11::function<VectorType (const double, const VectorType &)>               f,
-     std_cxx11::function<VectorType (const double, const double, const VectorType &)> id_minus_tau_J_inverse,
-     double                                                                           t,
-     double                                                                           delta_t,
-     VectorType                                                                       &y) = 0;
+    (std::function<VectorType (const double, const VectorType &)>               f,
+     std::function<VectorType (const double, const double, const VectorType &)> id_minus_tau_J_inverse,
+     double                                                                     t,
+     double                                                                     delta_t,
+     VectorType                                                                 &y) = 0;
 
   protected:
     /**
@@ -234,11 +234,11 @@ namespace TimeStepping
      * end of the time step.
      */
     double evolve_one_time_step
-    (std_cxx11::function<VectorType (const double, const VectorType &)>               f,
-     std_cxx11::function<VectorType (const double, const double, const VectorType &)> id_minus_tau_J_inverse,
-     double                                                                           t,
-     double                                                                           delta_t,
-     VectorType &y);
+    (std::function<VectorType (const double, const VectorType &)>                f,
+     std::function<VectorType (const double, const double, const VectorType &)>  id_minus_tau_J_inverse,
+     double                                                                      t,
+     double                                                                      delta_t,
+     VectorType                                                                  &y);
 
     /**
      * This function is used to advance from time @p t to t+ @p delta_t. This
@@ -248,10 +248,10 @@ namespace TimeStepping
      * step.
      */
     double evolve_one_time_step
-    (std_cxx11::function<VectorType (const double, const VectorType &)> f,
-     double                                                             t,
-     double                                                             delta_t,
-     VectorType                                                         &y);
+    (std::function<VectorType (const double, const VectorType &)> f,
+     double                                                       t,
+     double                                                       delta_t,
+     VectorType                                                   &y);
 
     /**
      * This structure stores the name of the method used.
@@ -276,11 +276,11 @@ namespace TimeStepping
      * Compute the different stages needed.
      */
     void compute_stages
-    (std_cxx11::function<VectorType (const double, const VectorType &)> f,
-     const double                                                       t,
-     const double                                                       delta_t,
-     const VectorType                                                   &y,
-     std::vector<VectorType>                                            &f_stages) const;
+    (std::function<VectorType (const double, const VectorType &)> f,
+     const double                                                 t,
+     const double                                                 delta_t,
+     const VectorType                                             &y,
+     std::vector<VectorType>                                      &f_stages) const;
 
     /**
      * Status structure of the object.
@@ -333,11 +333,11 @@ namespace TimeStepping
      * returns the time at the end of the time step.
      */
     double evolve_one_time_step
-    (std_cxx11::function<VectorType (const double, const VectorType &)>               f,
-     std_cxx11::function<VectorType (const double, const double, const VectorType &)> id_minus_tau_J_inverse,
-     double                                                                           t,
-     double                                                                           delta_t,
-     VectorType                                                                       &y);
+    (std::function<VectorType (const double, const VectorType &)>               f,
+     std::function<VectorType (const double, const double, const VectorType &)> id_minus_tau_J_inverse,
+     double                                                                     t,
+     double                                                                     delta_t,
+     VectorType                                                                 &y);
 
     /**
      * Set the maximum number of iterations and the tolerance used by the
@@ -374,30 +374,30 @@ namespace TimeStepping
      * Compute the different stages needed.
      */
     void compute_stages
-    (std_cxx11::function<VectorType (const double, const VectorType &)>               f,
-     std_cxx11::function<VectorType (const double, const double, const VectorType &)> id_minus_tau_J_inverse,
-     double                                                                           t,
-     double                                                                           delta_t,
-     VectorType                                                                       &y,
+    (std::function<VectorType (const double, const VectorType &)>               f,
+     std::function<VectorType (const double, const double, const VectorType &)> id_minus_tau_J_inverse,
+     double                                                                     t,
+     double                                                                     delta_t,
+     VectorType                                                                 &y,
      std::vector<VectorType> &f_stages);
 
     /**
      * Newton solver used for the implicit stages.
      */
-    void newton_solve(std_cxx11::function<void (const VectorType &,VectorType &)> get_residual,
-                      std_cxx11::function<VectorType (const VectorType &)>        id_minus_tau_J_inverse,
-                      VectorType                                                  &y);
+    void newton_solve(std::function<void (const VectorType &,VectorType &)> get_residual,
+                      std::function<VectorType (const VectorType &)>        id_minus_tau_J_inverse,
+                      VectorType                                            &y);
 
     /**
      * Compute the residual needed by the Newton solver.
      */
-    void compute_residual(std_cxx11::function<VectorType (const double, const VectorType &)> f,
-                          double                                                             t,
-                          double                                                             delta_t,
-                          const VectorType                                                   &old_y,
-                          const VectorType                                                   &y,
-                          VectorType                                                         &tendency,
-                          VectorType                                                         &residual) const;
+    void compute_residual(std::function<VectorType (const double, const VectorType &)> f,
+                          double                                                       t,
+                          double                                                       delta_t,
+                          const VectorType                                             &new_y,
+                          const VectorType                                             &y,
+                          VectorType                                                   &tendency,
+                          VectorType                                                   &residual) const;
 
     /**
      * When using SDIRK, there is no need to compute the linear combination of
@@ -483,10 +483,10 @@ namespace TimeStepping
      * at the end of the time step.
      */
     double evolve_one_time_step
-    (std_cxx11::function<VectorType (const double, const VectorType &)>               f,
-     std_cxx11::function<VectorType (const double, const double, const VectorType &)> id_minus_tau_J_inverse,
-     double                                                                           t,
-     double                                                                           delta_t,
+    (std::function<VectorType (const double, const VectorType &)>               f,
+     std::function<VectorType (const double, const double, const VectorType &)> id_minus_tau_J_inverse,
+     double                                                                     t,
+     double                                                                     delta_t,
      VectorType &y);
 
     /**
@@ -497,9 +497,9 @@ namespace TimeStepping
      * step.
      */
     double evolve_one_time_step
-    (std_cxx11::function<VectorType (const double, const VectorType &)> f,
-     double                                                             t,
-     double                                                             delta_t,
+    (std::function<VectorType (const double, const VectorType &)> f,
+     double                                                       t,
+     double                                                       delta_t,
      VectorType &y);
 
     /**
@@ -536,11 +536,11 @@ namespace TimeStepping
     /**
      * Compute the different stages needed.
      */
-    void compute_stages(std_cxx11::function<VectorType (const double, const VectorType &)> f,
-                        const double                                                       t,
-                        const double                                                       delta_t,
-                        const VectorType                                                   &y,
-                        std::vector<VectorType>                                            &f_stages);
+    void compute_stages(std::function<VectorType (const double, const VectorType &)> f,
+                        const double                                                 t,
+                        const double                                                 delta_t,
+                        const VectorType                                             &y,
+                        std::vector<VectorType>                                      &f_stages);
 
     /**
      * This parameter is the factor (>1) by which the time step is multiplied
index 3300eb34cf4e191a25e013980eb475f7f12c6832..c105d7c56e49af192dade8eff5b1c67944df5295 100644 (file)
 #ifndef dealii__time_stepping_templates_h
 #define dealii__time_stepping_templates_h
 
-#include <deal.II/base/std_cxx11/bind.h>
 #include <deal.II/base/exceptions.h>
 #include <deal.II/base/time_stepping.h>
 
+#include <functional>
+
 DEAL_II_NAMESPACE_OPEN
 
 namespace TimeStepping
@@ -30,8 +31,8 @@ namespace TimeStepping
 
   template <typename VectorType>
   double RungeKutta<VectorType>::evolve_one_time_step(
-    std::vector<std_cxx11::function<VectorType (const double, const VectorType &)> > &F,
-    std::vector<std_cxx11::function<VectorType (const double, const double, const VectorType &)> > &J_inverse,
+    std::vector<std::function<VectorType (const double, const VectorType &)> > &F,
+    std::vector<std::function<VectorType (const double, const double, const VectorType &)> > &J_inverse,
 
     double t,
     double delta_t,
@@ -137,8 +138,8 @@ namespace TimeStepping
 
   template <typename VectorType>
   double ExplicitRungeKutta<VectorType>::evolve_one_time_step
-  (std_cxx11::function<VectorType (const double, const VectorType &)> f,
-   std_cxx11::function<VectorType (const double, const double, const VectorType &)> /*id_minus_tau_J_inverse*/,
+  (std::function<VectorType (const double, const VectorType &)> f,
+   std::function<VectorType (const double, const double, const VectorType &)> /*id_minus_tau_J_inverse*/,
    double                                                             t,
    double                                                             delta_t,
    VectorType                                                         &y)
@@ -150,7 +151,7 @@ namespace TimeStepping
 
   template <typename VectorType>
   double ExplicitRungeKutta<VectorType>::evolve_one_time_step
-  (std_cxx11::function<VectorType (const double, const VectorType &)> f,
+  (std::function<VectorType (const double, const VectorType &)> f,
    double                                                             t,
    double                                                             delta_t,
    VectorType                                                         &y)
@@ -178,7 +179,7 @@ namespace TimeStepping
 
   template <typename VectorType>
   void ExplicitRungeKutta<VectorType>::compute_stages
-  (std_cxx11::function<VectorType (const double, const VectorType &)> f,
+  (std::function<VectorType (const double, const VectorType &)> f,
    const double                                                       t,
    const double                                                       delta_t,
    const VectorType                                                   &y,
@@ -280,8 +281,8 @@ namespace TimeStepping
 
   template <typename VectorType>
   double ImplicitRungeKutta<VectorType>::evolve_one_time_step
-  (std_cxx11::function<VectorType (const double, const VectorType &)> f,
-   std_cxx11::function<VectorType (const double, const double, const VectorType &)> id_minus_tau_J_inverse,
+  (std::function<VectorType (const double, const VectorType &)> f,
+   std::function<VectorType (const double, const double, const VectorType &)> id_minus_tau_J_inverse,
    double                                                             t,
    double                                                             delta_t,
    VectorType                                                         &y)
@@ -323,8 +324,8 @@ namespace TimeStepping
 
   template <typename VectorType>
   void ImplicitRungeKutta<VectorType>::compute_stages(
-    std_cxx11::function<VectorType (const double, const VectorType &)> f,
-    std_cxx11::function<VectorType (const double, const double, const VectorType &)> id_minus_tau_J_inverse,
+    std::function<VectorType (const double, const VectorType &)> f,
+    std::function<VectorType (const double, const double, const VectorType &)> id_minus_tau_J_inverse,
     double t,
     double delta_t,
     VectorType &y,
@@ -340,9 +341,9 @@ namespace TimeStepping
         // Solve the nonlinear system using Newton's method
         const double new_t = t+this->c[i]*delta_t;
         const double new_delta_t = this->a[i][i]*delta_t;
-        newton_solve(std_cxx11::bind(&ImplicitRungeKutta<VectorType>::compute_residual,this,f,new_t,new_delta_t,
-                                     std_cxx11::cref(old_y),std_cxx11::_1,std_cxx11::ref(f_stages[i]),std_cxx11::_2),
-                     std_cxx11::bind(id_minus_tau_J_inverse,new_t,new_delta_t,std_cxx11::_1),y);
+        newton_solve(std::bind(&ImplicitRungeKutta<VectorType>::compute_residual,this,f,new_t,new_delta_t,
+                               std::cref(old_y),std::placeholders::_1,std::ref(f_stages[i]),std::placeholders::_2),
+                     std::bind(id_minus_tau_J_inverse,new_t,new_delta_t,std::placeholders::_1),y);
       }
   }
 
@@ -350,8 +351,8 @@ namespace TimeStepping
 
   template <typename VectorType>
   void ImplicitRungeKutta<VectorType>::newton_solve(
-    std_cxx11::function<void (const VectorType &,VectorType &)> get_residual,
-    std_cxx11::function<VectorType (const VectorType &)> id_minus_tau_J_inverse,
+    std::function<void (const VectorType &,VectorType &)> get_residual,
+    std::function<VectorType (const VectorType &)> id_minus_tau_J_inverse,
     VectorType &y)
   {
     VectorType residual(y);
@@ -376,7 +377,7 @@ namespace TimeStepping
 
   template <typename VectorType>
   void ImplicitRungeKutta<VectorType>::compute_residual
-  (std_cxx11::function<VectorType (const double, const VectorType &)> f,
+  (std::function<VectorType (const double, const VectorType &)> f,
    double                                                             t,
    double                                                             delta_t,
    const VectorType                                                   &old_y,
@@ -674,8 +675,8 @@ namespace TimeStepping
 
   template <typename VectorType>
   double EmbeddedExplicitRungeKutta<VectorType>::evolve_one_time_step(
-    std_cxx11::function<VectorType (const double, const VectorType &)> f,
-    std_cxx11::function<VectorType (const double, const double, const VectorType &)> /*id_minus_tau_J_inverse*/,
+    std::function<VectorType (const double, const VectorType &)> f,
+    std::function<VectorType (const double, const double, const VectorType &)> /*id_minus_tau_J_inverse*/,
     double t,
     double delta_t,
     VectorType &y)
@@ -687,7 +688,7 @@ namespace TimeStepping
 
   template <typename VectorType>
   double EmbeddedExplicitRungeKutta<VectorType>::evolve_one_time_step(
-    std_cxx11::function<VectorType (const double, const VectorType &)> f,
+    std::function<VectorType (const double, const VectorType &)> f,
     double t, double delta_t, VectorType &y)
   {
     bool done = false;
@@ -803,7 +804,7 @@ namespace TimeStepping
 
   template <typename VectorType>
   void EmbeddedExplicitRungeKutta<VectorType>::compute_stages(
-    std_cxx11::function<VectorType (const double, const VectorType &)> f,
+    std::function<VectorType (const double, const VectorType &)> f,
     const double t,
     const double delta_t,
     const VectorType &y,
index 0ae78687d639927e8602b081e41b7620eafddab7..b15ed0926673adae399e1cd0000ad6ddea529ec0 100644 (file)
@@ -22,8 +22,6 @@
 #include <deal.II/base/multithread_info.h>
 #include <deal.II/base/thread_management.h>
 #include <deal.II/base/template_constraints.h>
-#include <deal.II/base/std_cxx11/function.h>
-#include <deal.II/base/std_cxx11/bind.h>
 #include <deal.II/base/thread_local_storage.h>
 #include <deal.II/base/parallel.h>
 
@@ -35,7 +33,7 @@
 #include <vector>
 #include <utility>
 #include <memory>
-
+#include <functional>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -152,7 +150,7 @@ namespace WorkStream
   namespace internal
   {
 
-//TODO: The following classes all use std_cxx11::shared_ptr, but the
+//TODO: The following classes all use std::shared_ptr, but the
 //  correct pointer class would actually be std::unique_ptr. make this
 //  replacement whenever we have a class that provides these semantics
 //  and that is available also as a fall-back whenever via boost or similar
@@ -195,8 +193,8 @@ namespace WorkStream
            */
           struct ScratchDataObject
           {
-            std_cxx11::shared_ptr<ScratchData> scratch_data;
-            bool                               currently_in_use;
+            std::shared_ptr<ScratchData> scratch_data;
+            bool                         currently_in_use;
 
             /**
              * Default constructor.
@@ -481,9 +479,9 @@ namespace WorkStream
          * operate as well as a pointer to the function that will do the
          * assembly.
          */
-        Worker (const std_cxx11::function<void (const Iterator &,
-                                                ScratchData &,
-                                                CopyData &)> &worker,
+        Worker (const std::function<void (const Iterator &,
+                                          ScratchData &,
+                                          CopyData &)> &worker,
                 bool copier_exist=true)
           :
           tbb::filter (/* is_serial= */ false),
@@ -599,9 +597,9 @@ namespace WorkStream
          * Pointer to the function that does the assembling on the sequence of
          * cells.
          */
-        const std_cxx11::function<void (const Iterator &,
-                                        ScratchData &,
-                                        CopyData &)> worker;
+        const std::function<void (const Iterator &,
+                                  ScratchData &,
+                                  CopyData &)> worker;
 
         /**
          * This flag is true if the copier stage exist. If it does not, the
@@ -629,7 +627,7 @@ namespace WorkStream
          * copying from the additional data object to the global matrix or
          * similar.
          */
-        Copier (const std_cxx11::function<void (const CopyData &)> &copier)
+        Copier (const std::function<void (const CopyData &)> &copier)
           :
           tbb::filter (/*is_serial=*/true),
           copier (copier)
@@ -682,7 +680,7 @@ namespace WorkStream
         /**
          * Pointer to the function that does the copying of data.
          */
-        const std_cxx11::function<void (const CopyData &)> copier;
+        const std::function<void (const CopyData &)> copier;
       };
 
     }
@@ -707,9 +705,9 @@ namespace WorkStream
                 typename CopyData>
       struct ScratchAndCopyDataObjects
       {
-        std_cxx11::shared_ptr<ScratchData> scratch_data;
-        std_cxx11::shared_ptr<CopyData>    copy_data;
-        bool                               currently_in_use;
+        std::shared_ptr<ScratchData> scratch_data;
+        std::shared_ptr<CopyData>    copy_data;
+        bool                         currently_in_use;
 
         /**
          * Default constructor.
@@ -762,10 +760,10 @@ namespace WorkStream
         /**
          * Constructor.
          */
-        WorkerAndCopier (const std_cxx11::function<void (const Iterator &,
-                                                         ScratchData &,
-                                                         CopyData &)> &worker,
-                         const std_cxx11::function<void (const CopyData &)> &copier,
+        WorkerAndCopier (const std::function<void (const Iterator &,
+                                                   ScratchData &,
+                                                   CopyData &)> &worker,
+                         const std::function<void (const CopyData &)> &copier,
                          const ScratchData    &sample_scratch_data,
                          const CopyData       &sample_copy_data)
           :
@@ -882,15 +880,15 @@ namespace WorkStream
          * Pointer to the function that does the assembling on the sequence of
          * cells.
          */
-        const std_cxx11::function<void (const Iterator &,
-                                        ScratchData &,
-                                        CopyData &)> worker;
+        const std::function<void (const Iterator &,
+                                  ScratchData &,
+                                  CopyData &)> worker;
 
         /**
          * Pointer to the function that does the copying from local
          * contribution to global object.
          */
-        const std_cxx11::function<void (const CopyData &)> copier;
+        const std::function<void (const CopyData &)> copier;
 
         /**
          * References to sample scratch and copy data for when we need them.
@@ -1031,11 +1029,11 @@ namespace WorkStream
           {
             // need to check if the function is not the zero function. To
             // check zero-ness, create a C++ function out of it and check that
-            if (static_cast<const std_cxx11::function<void (const Iterator &,
-                                                            ScratchData &,
-                                                            CopyData &)>& >(worker))
+            if (static_cast<const std::function<void (const Iterator &,
+                                                      ScratchData &,
+                                                      CopyData &)>& >(worker))
               worker (i, scratch_data, copy_data);
-            if (static_cast<const std_cxx11::function<void (const CopyData &)>& >
+            if (static_cast<const std::function<void (const CopyData &)>& >
                 (copier))
               copier (copy_data);
           }
@@ -1044,7 +1042,7 @@ namespace WorkStream
     else // have TBB and use more than one thread
       {
         // Check that the copier exist
-        if (static_cast<const std_cxx11::function<void (const CopyData &)>& >(copier))
+        if (static_cast<const std::function<void (const CopyData &)>& >(copier))
           {
             // create the three stages of the pipeline
             internal::Implementation2::IteratorRangeToItemStream<Iterator,ScratchData,CopyData>
@@ -1139,11 +1137,11 @@ namespace WorkStream
             {
               // need to check if the function is not the zero function. To
               // check zero-ness, create a C++ function out of it and check that
-              if (static_cast<const std_cxx11::function<void (const Iterator &,
-                                                              ScratchData &,
-                                                              CopyData &)>& >(worker))
+              if (static_cast<const std::function<void (const Iterator &,
+                                                        ScratchData &,
+                                                        CopyData &)>& >(worker))
                 worker (*p, scratch_data, copy_data);
-              if (static_cast<const std_cxx11::function<void (const CopyData &)>& >(copier))
+              if (static_cast<const std::function<void (const CopyData &)>& >(copier))
                 copier (copy_data);
             }
       }
@@ -1171,9 +1169,9 @@ namespace WorkStream
                                  (colored_iterators[color].begin(),
                                   colored_iterators[color].end(),
                                   /*grain_size=*/chunk_size),
-                                 std_cxx11::bind (&WorkerAndCopier::operator(),
-                                                  std_cxx11::ref(worker_and_copier),
-                                                  std_cxx11::_1),
+                                 std::bind (&WorkerAndCopier::operator(),
+                                            std::ref(worker_and_copier),
+                                            std::placeholders::_1),
                                  tbb::auto_partitioner());
             }
       }
@@ -1232,12 +1230,12 @@ namespace WorkStream
   {
     // forward to the other function
     run (begin, end,
-         std_cxx11::bind (worker,
-                          std_cxx11::ref (main_object),
-                          std_cxx11::_1, std_cxx11::_2, std_cxx11::_3),
-         std_cxx11::bind (copier,
-                          std_cxx11::ref (main_object),
-                          std_cxx11::_1),
+         std::bind (worker,
+                    std::ref (main_object),
+                    std::placeholders::_1, std::placeholders::_2, std::placeholders::_3),
+         std::bind (copier,
+                    std::ref (main_object),
+                    std::placeholders::_1),
          sample_scratch_data,
          sample_copy_data,
          queue_length,
index 22f671bc75aac6590627dd846f82fdf534aaa32b..c554423b13ea523590f2a8f20615c9f9d9ce4687 100644 (file)
@@ -26,9 +26,9 @@
 
 #include <deal.II/distributed/tria_base.h>
 
-#include <deal.II/base/std_cxx1x/function.h>
-#include <deal.II/base/std_cxx1x/tuple.h>
 
+#include <tuple>
+#include <functional>
 #include <set>
 #include <vector>
 #include <list>
index 31b2c4366165b0e16700e647aa8c55b670f8990c..886a65ce47ad4d1d06c690f581613f1185c9aa5b 100644 (file)
@@ -23,9 +23,6 @@
 #include <deal.II/base/template_constraints.h>
 #include <deal.II/grid/tria.h>
 
-#include <deal.II/base/std_cxx11/function.h>
-#include <deal.II/base/std_cxx11/tuple.h>
-
 #include <deal.II/distributed/tria_base.h>
 #include <deal.II/distributed/p4est_wrappers.h>
 
@@ -33,6 +30,8 @@
 #include <vector>
 #include <list>
 #include <utility>
+#include <functional>
+#include <tuple>
 
 #ifdef DEAL_II_WITH_MPI
 #  include <mpi.h>
@@ -157,7 +156,7 @@ namespace parallel
      * information into the function. C++ provides a nice mechanism for this
      * that is best explained using an example:
      * @code
-     *     #include <deal.II/base/std_cxx11/bind.h>
+     *     #include <functional>
      *
      *     template <int dim>
      *     void set_boundary_ids (parallel::distributed::Triangulation<dim> &triangulation)
@@ -173,13 +172,13 @@ namespace parallel
      *       ... create the coarse mesh ...
      *
      *       coarse_grid.signals.post_refinement.connect
-     *         (std_cxx11::bind (&set_boundary_ids<dim>,
-     *                           std_cxx11::ref(coarse_grid)));
+     *         (std::bind (&set_boundary_ids<dim>,
+     *                     std::ref(coarse_grid)));
      *
      *     }
      * @endcode
      *
-     * What the call to <code>std_cxx11::bind</code> does is to produce an
+     * What the call to <code>std::bind</code> does is to produce an
      * object that can be called like a function with no arguments. It does so
      * by taking the address of a function that does, in fact, take an
      * argument but permanently fix this one argument to a reference to the
@@ -197,7 +196,7 @@ namespace parallel
      * static, but possibly private) member function of the
      * <code>MyClass</code> class, then the following will work:
      * @code
-     *     #include <deal.II/base/std_cxx11/bind.h>
+     *     #include <functional>
      *
      *     template <int dim>
      *     void
@@ -215,9 +214,9 @@ namespace parallel
      *       ... create the coarse mesh ...
      *
      *       coarse_grid.signals.post_refinement.connect
-     *         (std_cxx11::bind (&MyGeometry<dim>::set_boundary_ids,
-     *                           std_cxx11::cref(*this),
-     *                           std_cxx11::ref(coarse_grid)));
+     *         (std::bind (&MyGeometry<dim>::set_boundary_ids,
+     *                     std::cref(*this),
+     *                     std::ref(coarse_grid)));
      *     }
      * @endcode
      * Here, like any other member function, <code>set_boundary_ids</code>
@@ -644,9 +643,9 @@ namespace parallel
        */
       unsigned int
       register_data_attach (const std::size_t size,
-                            const std_cxx11::function<void (const cell_iterator &,
-                                                            const CellStatus,
-                                                            void *)> &pack_callback);
+                            const std::function<void (const cell_iterator &,
+                                                      const CellStatus,
+                                                      void *)> &pack_callback);
 
       /**
        * The supplied callback function is called for each newly locally owned
@@ -664,9 +663,9 @@ namespace parallel
        */
       void
       notify_ready_to_unpack (const unsigned int offset,
-                              const std_cxx11::function<void (const cell_iterator &,
-                                                              const CellStatus,
-                                                              const void *)> &unpack_callback);
+                              const std::function<void (const cell_iterator &,
+                                                        const CellStatus,
+                                                        const void *)> &unpack_callback);
 
       /**
        * Return a permutation vector for the order the coarse cells are handed
@@ -776,7 +775,7 @@ namespace parallel
        */
       unsigned int n_attached_deserialize;
 
-      typedef  std_cxx11::function<
+      typedef  std::function<
       void(typename Triangulation<dim,spacedim>::cell_iterator, CellStatus, void *)
       > pack_callback_t;
 
index 047cce0a98f3b720ba53c31f787af4f190e838fb..d693dbbaaac8e183f63a3ab45ea7d5c056769c2e 100644 (file)
@@ -24,9 +24,8 @@
 #include <deal.II/base/mpi.h>
 #include <deal.II/grid/tria.h>
 
-#include <deal.II/base/std_cxx1x/function.h>
-#include <deal.II/base/std_cxx1x/tuple.h>
-
+#include <functional>
+#include <tuple>
 #include <set>
 #include <vector>
 #include <list>
index cb251e96e49db66dc12a039768ab387ed8536384..97df4ef314e831a90e7ea9c0bccdb719ecfb046f 100644 (file)
@@ -23,7 +23,6 @@
 #include <deal.II/base/smartpointer.h>
 #include <deal.II/base/index_set.h>
 #include <deal.II/base/iterator_range.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/dofs/block_info.h>
 #include <deal.II/dofs/dof_iterator_selector.h>
 #include <deal.II/dofs/number_cache.h>
@@ -36,6 +35,7 @@
 #include <vector>
 #include <map>
 #include <set>
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -940,7 +940,7 @@ private:
    * An object that describes how degrees of freedom should be distributed and
    * renumbered.
    */
-  std_cxx11::shared_ptr<dealii::internal::DoFHandler::Policy::PolicyBase<dim,spacedim> > policy;
+  std::shared_ptr<dealii::internal::DoFHandler::Policy::PolicyBase<dim,spacedim> > policy;
 
   /**
    * A structure that contains all sorts of numbers that characterize the
index b6fa0008c2c370c5a7a87c59327b2c488b5f7147..85b46eaf7c51105a789732f480b0003afa53e576 100644 (file)
@@ -285,7 +285,7 @@ private:
    * Return the coefficients of 4 local linear shape functions $\phi_j(x,y) = a x + b y + c$ on given cell.
    * For each local shape function, the array consists of three coefficients is in order of a,b and c.
    */
-  static std_cxx11::array<std_cxx11::array<double,3>,4>
+  static std::array<std::array<double,3>,4>
   get_linear_shape_coefficients (const Triangulation<2,2>::cell_iterator &cell);
 
   /**
index 88102f5239d2487a1e5dcf8aea4b86061406e755..fd98182934a6e1ea62c4d138ca2794604a402c06 100644 (file)
@@ -18,7 +18,6 @@
 
 
 
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/base/config.h>
 #include <deal.II/base/subscriptor.h>
 #include <deal.II/base/exceptions.h>
@@ -33,6 +32,7 @@
 
 #include <vector>
 #include <string>
+#include <memory>
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -260,7 +260,7 @@ namespace FESeries
   template <int dim, typename T>
   std::pair<std::vector<unsigned int>,std::vector<double> >
   process_coefficients(const Table<dim,T> &coefficients,
-                       const std_cxx11::function<std::pair<bool,unsigned int>(const TableIndices<dim> &)> &predicate,
+                       const std::function<std::pair<bool,unsigned int>(const TableIndices<dim> &)> &predicate,
                        const VectorTools::NormType norm);
 
 
@@ -286,7 +286,7 @@ namespace
   template <int dim,typename T>
   void fill_map_index(const Table<dim,T> &coefficients,
                       const TableIndices<dim> &ind,
-                      const std_cxx11::function<std::pair<bool,unsigned int>(const TableIndices<dim> &)> &predicate,
+                      const std::function<std::pair<bool,unsigned int>(const TableIndices<dim> &)> &predicate,
                       std::map<unsigned int, std::vector<T> > &pred_to_values)
   {
     const std::pair<bool,unsigned int> pred_pair = predicate(ind);
@@ -303,7 +303,7 @@ namespace
 
   template <typename T>
   void fill_map(const Table<1,T> &coefficients,
-                const std_cxx11::function<std::pair<bool,unsigned int>(const TableIndices<1> &)> &predicate,
+                const std::function<std::pair<bool,unsigned int>(const TableIndices<1> &)> &predicate,
                 std::map<unsigned int, std::vector<T> > &pred_to_values)
   {
     for (unsigned int i = 0; i < coefficients.size(0); i++)
@@ -316,7 +316,7 @@ namespace
 
   template <typename T>
   void fill_map(const Table<2,T> &coefficients,
-                const std_cxx11::function<std::pair<bool,unsigned int>(const TableIndices<2> &)> &predicate,
+                const std::function<std::pair<bool,unsigned int>(const TableIndices<2> &)> &predicate,
                 std::map<unsigned int, std::vector<T> > &pred_to_values)
   {
     for (unsigned int i = 0; i < coefficients.size(0); i++)
@@ -330,7 +330,7 @@ namespace
 
   template <typename T>
   void fill_map(const Table<3,T> &coefficients,
-                const std_cxx11::function<std::pair<bool,unsigned int>(const TableIndices<3> &)> &predicate,
+                const std::function<std::pair<bool,unsigned int>(const TableIndices<3> &)> &predicate,
                 std::map<unsigned int, std::vector<T> > &pred_to_values)
   {
     for (unsigned int i = 0; i < coefficients.size(0); i++)
@@ -363,7 +363,7 @@ namespace
 template <int dim, typename T>
 std::pair<std::vector<unsigned int>,std::vector<double> >
 FESeries::process_coefficients(const Table<dim,T> &coefficients,
-                               const std_cxx11::function<std::pair<bool,unsigned int>(const TableIndices<dim> &)> &predicate,
+                               const std::function<std::pair<bool,unsigned int>(const TableIndices<dim> &)> &predicate,
                                const VectorTools::NormType norm)
 {
   std::vector<unsigned int> predicate_values;
index 2b8f9b515f2eef9374baa7a2f7f8f934b71636f3..f6cee693c7dd987d48b5fa36610e1d465b85daa1 100644 (file)
@@ -957,7 +957,7 @@ private:
    * pointers to the underlying base finite elements. The last one of these
    * copies around will then delete the pointer to the base elements.
    */
-  std::vector<std::pair<std_cxx11::shared_ptr<const FiniteElement<dim,spacedim> >,
+  std::vector<std::pair<std::shared_ptr<const FiniteElement<dim,spacedim> >,
       unsigned int> >
       base_elements;
 
index e34675f2f1279bec961ba83be2036beda1338392..7e52a0ea396b553973b7326c1b3749bdf93d3396 100644 (file)
@@ -26,7 +26,6 @@
 #include <deal.II/base/vector_slice.h>
 #include <deal.II/base/quadrature.h>
 #include <deal.II/base/table.h>
-#include <deal.II/base/std_cxx11/unique_ptr.h>
 #include <deal.II/grid/tria.h>
 #include <deal.II/grid/tria_iterator.h>
 #include <deal.II/dofs/dof_handler.h>
@@ -38,6 +37,7 @@
 #include <deal.II/fe/mapping.h>
 
 #include <algorithm>
+#include <memory>
 
 // dummy include in order to have the
 // definition of PetscScalar available
@@ -2624,7 +2624,7 @@ protected:
    * is necessary for the <tt>get_function_*</tt> functions as well as the
    * functions of same name in the extractor classes.
    */
-  std_cxx11::unique_ptr<const CellIteratorBase> present_cell;
+  std::unique_ptr<const CellIteratorBase> present_cell;
 
   /**
    * A signal connection we use to ensure we get informed whenever the
@@ -2673,7 +2673,7 @@ protected:
    * Mapping::get_data(), Mapping::get_face_data(), or
    * Mapping::get_subface_data().
    */
-  std_cxx11::unique_ptr<typename Mapping<dim,spacedim>::InternalDataBase> mapping_data;
+  std::unique_ptr<typename Mapping<dim,spacedim>::InternalDataBase> mapping_data;
 
   /**
    * An object into which the Mapping::fill_fe_values() and similar functions
@@ -2693,7 +2693,7 @@ protected:
    * FiniteElement::get_data(), Mapping::get_face_data(), or
    * FiniteElement::get_subface_data().
    */
-  std_cxx11::unique_ptr<typename FiniteElement<dim,spacedim>::InternalDataBase> fe_data;
+  std::unique_ptr<typename FiniteElement<dim,spacedim>::InternalDataBase> fe_data;
 
   /**
    * An object into which the FiniteElement::fill_fe_values() and similar
index bb350092c981cc5d6abc8ef1f26437fff6495605..5f8c882e9fbc4bfec3eac1209ab325da824982fe 100644 (file)
 
 #include <deal.II/base/config.h>
 #include <deal.II/base/derivative_form.h>
-#include <deal.II/base/std_cxx11/array.h>
 #include <deal.II/base/array_view.h>
 #include <deal.II/grid/tria.h>
 #include <deal.II/fe/fe_update_flags.h>
 
+#include <array>
 #include <cmath>
 
 DEAL_II_NAMESPACE_OPEN
@@ -320,7 +320,7 @@ public:
    * <code>cell-@>vertex(v)</code>.
    */
   virtual
-  std_cxx11::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
+  std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
   get_vertices (const typename Triangulation<dim,spacedim>::cell_iterator &cell) const;
 
   /**
index b0d94cb8a2c07b537fa158405e9830472347cff7..72133d0961a032cbd5a42522a45283376a0c7867 100644 (file)
@@ -25,7 +25,7 @@
 #include <deal.II/fe/mapping.h>
 #include <deal.II/fe/fe.h>
 
-#include <deal.II/base/std_cxx11/array.h>
+#include <array>
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -372,7 +372,7 @@ public:
      *
      * Filled once.
      */
-    std_cxx11::array<std::vector<Tensor<1,dim> >, GeometryInfo<dim>::faces_per_cell *(dim-1)> unit_tangentials;
+    std::array<std::vector<Tensor<1,dim> >, GeometryInfo<dim>::faces_per_cell *(dim-1)> unit_tangentials;
 
     /**
      * Number of shape functions. If this is a Q1 mapping, then it is simply
index b0c821b8053e2f53754a39c452b0bf912765fb00..b75923ef36368eca93ace46cc421dd07951f307a 100644 (file)
@@ -291,7 +291,7 @@ public:
      *
      * Filled once.
      */
-    std_cxx11::array<std::vector<Tensor<1,dim> >, GeometryInfo<dim>::faces_per_cell *(dim-1)> unit_tangentials;
+    std::array<std::vector<Tensor<1,dim> >, GeometryInfo<dim>::faces_per_cell *(dim-1)> unit_tangentials;
 
     /**
      * Tensors of covariant transformation at each of the quadrature points.
index 298dc57716b21c92f5c047e91e6685ee6b811fca..d9435919ac37947124ac5483c6c920c33b61c934 100644 (file)
@@ -257,13 +257,13 @@ protected:
      * A pointer to a structure to store the information for the pure $Q_1$
      * mapping that is, by default, used on all interior cells.
      */
-    std_cxx11::unique_ptr<typename MappingQGeneric<dim,spacedim>::InternalData> mapping_q1_data;
+    std::unique_ptr<typename MappingQGeneric<dim,spacedim>::InternalData> mapping_q1_data;
 
     /**
      * A pointer to a structure to store the information for the full $Q_p$
      * mapping that is, by default, used on all boundary cells.
      */
-    std_cxx11::unique_ptr<typename MappingQGeneric<dim,spacedim>::InternalData> mapping_qp_data;
+    std::unique_ptr<typename MappingQGeneric<dim,spacedim>::InternalData> mapping_qp_data;
   };
 
 protected:
@@ -352,7 +352,7 @@ protected:
    * the qp_mapping and q1_mapping variables point to the same underlying
    * object.
    */
-  std_cxx11::shared_ptr<const MappingQGeneric<dim,spacedim> > q1_mapping;
+  std::shared_ptr<const MappingQGeneric<dim,spacedim> > q1_mapping;
 
   /**
    * Pointer to a Q_p mapping. This mapping is used on boundary cells unless
@@ -368,7 +368,7 @@ protected:
    * the qp_mapping and q1_mapping variables point to the same underlying
    * object.
    */
-  std_cxx11::shared_ptr<const MappingQGeneric<dim,spacedim> > qp_mapping;
+  std::shared_ptr<const MappingQGeneric<dim,spacedim> > qp_mapping;
 };
 
 /*@}*/
index 9809a40c9cbbf9028aa290843531c29ef9dbbbf5..d7b7483483393ff906d40048ebb59fdebeb81bbf 100644 (file)
 #define dealii__mapping_q1_eulerian_h
 
 #include <deal.II/base/config.h>
-#include <deal.II/base/std_cxx11/array.h>
 #include <deal.II/base/smartpointer.h>
 #include <deal.II/fe/mapping_q1.h>
 #include <deal.II/dofs/dof_handler.h>
 
+
+#include <array>
+
 DEAL_II_NAMESPACE_OPEN
 
 template <typename> class Vector;
@@ -120,7 +122,7 @@ public:
    * addition to the geometry of the cell.
    */
   virtual
-  std_cxx11::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
+  std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
   get_vertices (const typename Triangulation<dim,spacedim>::cell_iterator &cell) const;
 
   /**
index c7de1fd904482c54a80ccf9a2c20f8dcaba0a6f8..b70640ff8e2996a2555bb01a6bdfcc94d0d0dc2b 100644 (file)
@@ -122,7 +122,7 @@ public:
    * addition to the geometry of the cell.
    */
   virtual
-  std_cxx11::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
+  std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
   get_vertices (const typename Triangulation<dim,spacedim>::cell_iterator &cell) const;
 
   /**
@@ -196,7 +196,7 @@ private:
      * field in addition to the geometry of the cell.
      */
     virtual
-    std_cxx11::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
+    std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
     get_vertices (const typename Triangulation<dim,spacedim>::cell_iterator &cell) const;
 
     /**
index c765e10c27249baba21995208c4a5116bf26b379..99e101e8d788a327b0aba19ec690b166de27fd27 100644 (file)
@@ -25,8 +25,7 @@
 #include <deal.II/fe/mapping.h>
 #include <deal.II/fe/fe_q.h>
 
-#include <deal.II/base/std_cxx11/array.h>
-
+#include <array>
 #include <cmath>
 
 DEAL_II_NAMESPACE_OPEN
@@ -420,7 +419,7 @@ public:
      *
      * Filled once.
      */
-    std_cxx11::array<std::vector<Tensor<1,dim> >, GeometryInfo<dim>::faces_per_cell *(dim-1)> unit_tangentials;
+    std::array<std::vector<Tensor<1,dim> >, GeometryInfo<dim>::faces_per_cell *(dim-1)> unit_tangentials;
 
     /**
      * The polynomial degree of the mapping. Since the objects here are also
@@ -570,7 +569,7 @@ protected:
    * shape functions/DoFs on non-standard faces. This is used to reorder
    * support points in the same way.
    */
-  const std_cxx11::unique_ptr<FE_Q<dim> > fe_q;
+  const std::unique_ptr<FE_Q<dim> > fe_q;
 
   /**
    * A vector of tables of weights by which we multiply the locations of the
index 4c818fa45ec720e894f805ee608017be13fe929d..5dc08a02c72304f6d0eb798bf74527205d347857 100644 (file)
@@ -18,8 +18,8 @@
 
 #include <deal.II/base/config.h>
 #include <deal.II/base/exceptions.h>
-#include <deal.II/base/std_cxx11/array.h>
 
+#include <array>
 #include <vector>
 #include <iostream>
 
@@ -63,7 +63,7 @@ public:
    * (using 2 times 32 bit for storage), a limitation that is identical to
    * the one used by p4est.
    */
-  typedef std_cxx11::array<unsigned int, 4> binary_type;
+  typedef std::array<unsigned int, 4> binary_type;
 
   /**
    * Construct a CellId object with a given @p coarse_cell_id and vector of
@@ -160,9 +160,9 @@ private:
    * the array can be extended.
    */
 #ifdef DEAL_II_WITH_P4EST
-  std_cxx11::array<char,internal::p4est::functions<2>::max_level> child_indices;
+  std::array<char,internal::p4est::functions<2>::max_level> child_indices;
 #else
-  std_cxx11::array<char,30> child_indices;
+  std::array<char,30> child_indices;
 #endif
 
   friend std::istream &operator>> (std::istream &is, CellId &cid);
index e0ec77c7cd73a3a0c62b611098dd61498739398a..c8627acf4b22b6ef14c6f58e081174e2ea9cf1cc 100644 (file)
@@ -376,7 +376,7 @@ namespace IteratorFilters
  * @endcode
  * then
  * @code
- *   std_cxx11::bind (&level_equal_to<active_cell_iterator>, std_cxx11::_1, 3)
+ *   std::bind (&level_equal_to<active_cell_iterator>, std::placeholders::_1, 3)
  * @endcode
  * is another valid predicate (here: a function that returns true if either
  * the iterator is past the end or the level is equal to the second argument;
index f3f33995f104a955815dadc24b87d5a5f0828ad6..d2fa439c4a8d1c3a66a930385f8b0a3db1479a0e 100644 (file)
 
 
 #include <deal.II/base/config.h>
-#include <deal.II/base/std_cxx11/array.h>
 #include <deal.II/base/exceptions.h>
 #include <deal.II/base/point.h>
 #include <deal.II/base/table.h>
 #include <deal.II/base/function.h>
 #include <deal.II/grid/tria.h>
+
+#include <array>
 #include <map>
 
 DEAL_II_NAMESPACE_OPEN
@@ -409,7 +410,7 @@ namespace GridGenerator
   void
   subdivided_parallelepiped (Triangulation<dim, spacedim>  &tria,
                              const Point<spacedim> &origin,
-                             const std_cxx11::array<Tensor<1,spacedim>,dim> &edges,
+                             const std::array<Tensor<1,spacedim>,dim> &edges,
                              const std::vector<unsigned int> &subdivisions = std::vector<unsigned int>(),
                              const bool colorize = false);
 
index 5f9a1005cb9cf4071da280294eda9c6584087385..9e1e558abc3d96250fb11aa16b1ff006274da96e 100644 (file)
@@ -735,7 +735,7 @@ namespace GridTools
   std::vector<typename MeshType::active_cell_iterator>
   compute_active_cell_halo_layer
   (const MeshType                                                                    &mesh,
-   const std_cxx11::function<bool (const typename MeshType::active_cell_iterator &)> &predicate);
+   const std::function<bool (const typename MeshType::active_cell_iterator &)> &predicate);
 
   /**
    * Extract and return ghost cells which are the active cell layer around all
index 74ef9ca22344ca0f053af6eb898b29d2b62a8116..c4d120196f91492dbd42c17b2596608898739dd8 100644 (file)
@@ -23,8 +23,6 @@
 #include <deal.II/base/smartpointer.h>
 #include <deal.II/base/geometry_info.h>
 #include <deal.II/base/iterator_range.h>
-#include <deal.II/base/std_cxx11/function.h>
-#include <deal.II/base/std_cxx11/unique_ptr.h>
 #include <deal.II/grid/tria_iterator_selector.h>
 
 // Ignore deprecation warnings for auto_ptr.
@@ -45,6 +43,8 @@ DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 #include <map>
 #include <numeric>
 #include <bitset>
+#include <functional>
+#include <memory>
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -1067,8 +1067,8 @@ namespace internal
  *           // mesh refinement
  *           previous_cell = current_cell;
  *           previous_cell->get_triangulation().signals.post_refinement
- *             .connect (std_cxx11::bind (&FEValues<dim>::invalidate_previous_cell,
- *                                        std_cxx11::ref (*this)));
+ *             .connect (std::bind (&FEValues<dim>::invalidate_previous_cell,
+ *                                  std::ref (*this)));
  *         }
  *       else
  *         previous_cell = current_cell;
@@ -3438,7 +3438,7 @@ private:
    * in 2D it contains data concerning lines and in 3D quads and lines.  All
    * of these have no level and are therefore treated separately.
    */
-  std_cxx11::unique_ptr<dealii::internal::Triangulation::TriaFaces<dim> > faces;
+  std::unique_ptr<dealii::internal::Triangulation::TriaFaces<dim> > faces;
 
 
   /**
@@ -3495,7 +3495,7 @@ private:
    * this field (that can be modified by TriaAccessor::set_boundary_id) were
    * not a pointer.
    */
-  std_cxx11::unique_ptr<std::map<unsigned int, types::boundary_id> > vertex_to_boundary_id_map_1d;
+  std::unique_ptr<std::map<unsigned int, types::boundary_id> > vertex_to_boundary_id_map_1d;
 
 
   /**
@@ -3517,7 +3517,7 @@ private:
    * this field (that can be modified by TriaAccessor::set_boundary_id) were
    * not a pointer.
    */
-  std_cxx11::unique_ptr<std::map<unsigned int, types::manifold_id> > vertex_to_manifold_id_map_1d;
+  std::unique_ptr<std::map<unsigned int, types::manifold_id> > vertex_to_manifold_id_map_1d;
 
   // make a couple of classes friends
   template <int,int,int> friend class TriaAccessorBase;
index db181d674812677af7be9f4e2f74a021efcb9343..5e1d85b4abe8b30408fe010379afba904f7c7f67 100644 (file)
@@ -210,7 +210,7 @@ private:
   /**
    * Point generator for the intermediate points on a boundary.
    */
-  mutable std::vector<std_cxx11::shared_ptr<QGaussLobatto<1> > > points;
+  mutable std::vector<std::shared_ptr<QGaussLobatto<1> > > points;
 
   /**
    * Mutex for protecting the points array.
index 0e4ec67e6325322bd28150a383c58325eeb88c65..4f061c46800dae169a4ba9981ccfea552f21e0e2 100644 (file)
 #define dealii__fe_collection_h
 
 #include <deal.II/base/config.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/fe/fe.h>
 #include <deal.II/fe/fe_values_extractors.h>
 #include <deal.II/fe/component_mask.h>
 
+#include <memory>
+
 DEAL_II_NAMESPACE_OPEN
 
 namespace hp
@@ -458,7 +459,7 @@ namespace hp
     /**
      * Array of pointers to the finite elements stored by this collection.
      */
-    std::vector<std_cxx11::shared_ptr<const FiniteElement<dim,spacedim> > > finite_elements;
+    std::vector<std::shared_ptr<const FiniteElement<dim,spacedim> > > finite_elements;
   };
 
 
index abe54dc6530c4cab879388d18fdaa07503e50d98..c3a08b15ccf91aa78850579deafbbf8a95f39446 100644 (file)
@@ -24,7 +24,7 @@
 #include <deal.II/fe/fe_values.h>
 
 #include <map>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -153,7 +153,7 @@ namespace internal
        * Initially, all entries have zero pointers, and we will allocate them
        * lazily as needed in select_fe_values().
        */
-      dealii::Table<3,std_cxx11::shared_ptr<FEValuesType> > fe_values_table;
+      dealii::Table<3,std::shared_ptr<FEValuesType> > fe_values_table;
 
       /**
        * Set of indices pointing at the fe_values object selected last time
index b5405832e1a69ef06014ff4a03844e9e66637c6e..2ae978694764cf3eeff203284e34e110f3884908 100644 (file)
@@ -22,7 +22,7 @@
 #include <deal.II/fe/fe.h>
 
 #include <vector>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -113,7 +113,7 @@ namespace hp
      * The real container, which stores pointers to the different Mapping
      * objects.
      */
-    std::vector<std_cxx11::shared_ptr<const Mapping<dim,spacedim> > > mappings;
+    std::vector<std::shared_ptr<const Mapping<dim,spacedim> > > mappings;
   };
 
 
index 06a5caa3defc36ab5ab6f35287817bd100b70597..ebdd02c2f20f7bb284cbc9ad0ebfd63a2def3369 100644 (file)
@@ -23,7 +23,7 @@
 #include <deal.II/fe/fe.h>
 
 #include <vector>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -129,7 +129,7 @@ namespace hp
      * The real container, which stores pointers to the different quadrature
      * objects.
      */
-    std::vector<std_cxx11::shared_ptr<const Quadrature<dim> > > quadratures;
+    std::vector<std::shared_ptr<const Quadrature<dim> > > quadratures;
   };
 
 
@@ -188,7 +188,7 @@ namespace hp
   QCollection<dim>::QCollection (const Quadrature<dim> &quadrature)
   {
     quadratures
-    .push_back (std_cxx11::shared_ptr<const Quadrature<dim> >(new Quadrature<dim>(quadrature)));
+    .push_back (std::shared_ptr<const Quadrature<dim> >(new Quadrature<dim>(quadrature)));
   }
 
 
@@ -231,7 +231,7 @@ namespace hp
   QCollection<dim>::push_back (const Quadrature<dim> &new_quadrature)
   {
     quadratures
-    .push_back (std_cxx11::shared_ptr<const Quadrature<dim> >(new Quadrature<dim>(new_quadrature)));
+    .push_back (std::shared_ptr<const Quadrature<dim> >(new Quadrature<dim>(new_quadrature)));
   }
 
 } // namespace hp
index 0ff832ee80ce072a6b76167ffb8aa3d367eaf744..2d04587fcf338ff2b1c2235917aceb025e6c2e59 100644 (file)
@@ -525,7 +525,7 @@ namespace internal
  * @author Uwe Koecher, 2017
  */
 template <typename Number>
-struct is_serial_vector< BlockVector< Number > > : std_cxx11::true_type
+struct is_serial_vector< BlockVector< Number > > : std::true_type
 {
 };
 
index 241c495c5ac6c33f57db40c884c82c846cc560c7..6e26eb92710eef2303f2b642f65173e8dca8b51c 100644 (file)
@@ -408,10 +408,10 @@ ChunkSparseMatrix<number>::operator = (const double d)
     (matrix_size+m()) / m();
   if (matrix_size>grain_size)
     parallel::apply_to_subranges (0U, matrix_size,
-                                  std_cxx11::bind(&internal::ChunkSparseMatrix::template
-                                                  zero_subrange<number>,
-                                                  std_cxx11::_1, std_cxx11::_2,
-                                                  val),
+                                  std::bind(&internal::ChunkSparseMatrix::template
+                                            zero_subrange<number>,
+                                            std::placeholders::_1, std::placeholders::_2,
+                                            val),
                                   grain_size);
   else if (matrix_size > 0)
     std::memset (&val[0], 0, matrix_size*sizeof(number));
@@ -523,7 +523,7 @@ ChunkSparseMatrix<number>::n_actually_nonzero_elements () const
   return std::count_if(&val[0],
                        &val[cols->sparsity_pattern.n_nonzero_elements () *
                             chunk_size * chunk_size],
-                       std_cxx11::bind(std::not_equal_to<double>(), std_cxx11::_1, 0));
+                       std::bind(std::not_equal_to<double>(), std::placeholders::_1, 0));
 }
 
 
@@ -717,15 +717,15 @@ ChunkSparseMatrix<number>::vmult_add (OutVector &dst,
 
   Assert (!PointerComparison::equal(&src, &dst), ExcSourceEqualsDestination());
   parallel::apply_to_subranges (0U, cols->sparsity_pattern.n_rows(),
-                                std_cxx11::bind (&internal::ChunkSparseMatrix::vmult_add_on_subrange
-                                                 <number,InVector,OutVector>,
-                                                 std_cxx11::cref(*cols),
-                                                 std_cxx11::_1, std_cxx11::_2,
-                                                 val,
-                                                 cols->sparsity_pattern.rowstart,
-                                                 cols->sparsity_pattern.colnums,
-                                                 std_cxx11::cref(src),
-                                                 std_cxx11::ref(dst)),
+                                std::bind (&internal::ChunkSparseMatrix::vmult_add_on_subrange
+                                           <number,InVector,OutVector>,
+                                           std::cref(*cols),
+                                           std::placeholders::_1, std::placeholders::_2,
+                                           val,
+                                           cols->sparsity_pattern.rowstart,
+                                           cols->sparsity_pattern.colnums,
+                                           std::cref(src),
+                                           std::ref(dst)),
                                 internal::SparseMatrix::minimum_parallel_grain_size/cols->chunk_size+1);
 
 }
index c91751d4867f86159d1402d4747de44ad72ff0a5..17b57dc28df8f90185e08868ea7dd04776343aba 100644 (file)
@@ -93,8 +93,8 @@ namespace LinearAlgebra
        */
       virtual void import(const ReadWriteVector<Number> &V,
                           VectorOperation::values operation,
-                          std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern =
-                            std_cxx11::shared_ptr<const CommunicationPatternBase> ()) override;
+                          std::shared_ptr<const CommunicationPatternBase> communication_pattern =
+                            std::shared_ptr<const CommunicationPatternBase> ()) override;
 
       /**
        * Multiply the entive vector by a fixed factor.
index 534ae54453de29c3ab0cf3f999c3c1d7fccd87bf..a6b28604c2c28fc68befcf5eb05d85630d9b616a 100644 (file)
@@ -512,7 +512,7 @@ private:
   /**
    * Pointer to the sparsity pattern used for this matrix.
    */
-  std_cxx11::shared_ptr<PointerMatrixBase<VectorType> > matrix;
+  std::shared_ptr<PointerMatrixBase<VectorType> > matrix;
 
   /**
    * Sorted list of pairs denoting the index of the variable and the value to
index 59f3da512fdaf6277845d2ebc3490b1956ad7959..d9ab0537a1f21a513c52dc6c75b8203d935181e3 100644 (file)
@@ -114,12 +114,12 @@ private:
   /**
    * The matrix in use.
    */
-  std_cxx11::shared_ptr<PointerMatrixBase<VectorType> > matrix;
+  std::shared_ptr<PointerMatrixBase<VectorType> > matrix;
 
   /**
    * The preconditioner to use.
    */
-  std_cxx11::shared_ptr<PointerMatrixBase<VectorType> > preconditioner;
+  std::shared_ptr<PointerMatrixBase<VectorType> > preconditioner;
 };
 
 
@@ -130,8 +130,8 @@ void
 IterativeInverse<VectorType>::initialize(const MatrixType &m, const PreconditionerType &p)
 {
   VectorType v;
-  matrix = std_cxx11::shared_ptr<PointerMatrixBase<VectorType> > (new_pointer_matrix_base(m, v));
-  preconditioner = std_cxx11::shared_ptr<PointerMatrixBase<VectorType> > (new_pointer_matrix_base(p, v));
+  matrix = std::shared_ptr<PointerMatrixBase<VectorType> > (new_pointer_matrix_base(m, v));
+  preconditioner = std::shared_ptr<PointerMatrixBase<VectorType> > (new_pointer_matrix_base(p, v));
 }
 
 
index 3e3e10d85ddf4b4b87647d0716ecd8ed313501fd..7bc01356919d05ae09e6b2a52c6c40da3afc71fb 100644 (file)
@@ -435,8 +435,8 @@ namespace LinearAlgebra
        */
       virtual void import(const LinearAlgebra::ReadWriteVector<Number> &V,
                           VectorOperation::values operation,
-                          std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern =
-                            std_cxx11::shared_ptr<const CommunicationPatternBase> ());
+                          std::shared_ptr<const CommunicationPatternBase> communication_pattern =
+                            std::shared_ptr<const CommunicationPatternBase> ());
 
       /**
        * Return the scalar product of two vectors.
@@ -605,7 +605,7 @@ void swap (LinearAlgebra::distributed::BlockVector<Number> &u,
  * @author Uwe Koecher, 2017
  */
 template <typename Number>
-struct is_serial_vector< LinearAlgebra::distributed::BlockVector< Number > > : std_cxx11::false_type
+struct is_serial_vector< LinearAlgebra::distributed::BlockVector< Number > > : std::false_type
 {
 };
 
index 3ce3fd73bd41d17975b94d43e905a53cae90a2cb..645f387933c64eacbd17af607c1d961db3f4cd8e 100644 (file)
@@ -722,7 +722,7 @@ namespace LinearAlgebra
     void
     BlockVector<Number>::import(const LinearAlgebra::ReadWriteVector<Number> &,
                                 VectorOperation::values,
-                                std_cxx11::shared_ptr<const CommunicationPatternBase>)
+                                std::shared_ptr<const CommunicationPatternBase>)
     {
       AssertThrow(false, ExcNotImplemented());
     }
index 3eade6c15922469669318d5ff2d94cfdd242099a..f75a71332e3a129ebe6b13cfce81c1a8bcaeb7c9 100644 (file)
 #include <deal.II/base/mpi.h>
 #include <deal.II/base/numbers.h>
 #include <deal.II/base/partitioner.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/base/thread_management.h>
 #include <deal.II/lac/vector_space_vector.h>
 #include <deal.II/lac/vector_type_traits.h>
 
 #include <iomanip>
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -254,7 +254,7 @@ namespace LinearAlgebra
        * partitioner data only once and share it between several vectors with
        * the same layout.
        */
-      Vector (const std_cxx11::shared_ptr<const Utilities::MPI::Partitioner> &partitioner);
+      Vector (const std::shared_ptr<const Utilities::MPI::Partitioner> &partitioner);
 
       /**
        * Destructor.
@@ -314,7 +314,7 @@ namespace LinearAlgebra
        * the partitioner data only once and share it between several vectors
        * with the same layout.
        */
-      void reinit (const std_cxx11::shared_ptr<const Utilities::MPI::Partitioner> &partitioner);
+      void reinit (const std::shared_ptr<const Utilities::MPI::Partitioner> &partitioner);
 
       /**
        * Swap the contents of this vector and the other vector @p v. One could
@@ -564,8 +564,8 @@ namespace LinearAlgebra
        */
       virtual void import(const LinearAlgebra::ReadWriteVector<Number> &V,
                           VectorOperation::values operation,
-                          std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern =
-                            std_cxx11::shared_ptr<const CommunicationPatternBase> ());
+                          std::shared_ptr<const CommunicationPatternBase> communication_pattern =
+                            std::shared_ptr<const CommunicationPatternBase> ());
 
       /**
        * Return the scalar product of two vectors.
@@ -936,7 +936,7 @@ namespace LinearAlgebra
        * respective reinit() call, for additional queries regarding the
        * parallel communication, or the compatibility of partitioners.
        */
-      const std_cxx11::shared_ptr<const Utilities::MPI::Partitioner> &
+      const std::shared_ptr<const Utilities::MPI::Partitioner> &
       get_partitioner () const;
 
       /**
@@ -1049,7 +1049,7 @@ namespace LinearAlgebra
        * information can be shared between several vectors that have the same
        * partitioning.
        */
-      std_cxx11::shared_ptr<const Utilities::MPI::Partitioner> partitioner;
+      std::shared_ptr<const Utilities::MPI::Partitioner> partitioner;
 
       /**
        * The size that is currently allocated in the val array.
@@ -1065,7 +1065,7 @@ namespace LinearAlgebra
        * For parallel loops with TBB, this member variable stores the affinity
        * information of loops.
        */
-      mutable std_cxx11::shared_ptr< ::dealii::parallel::internal::TBBPartitioner> thread_loop_partitioner;
+      mutable std::shared_ptr< ::dealii::parallel::internal::TBBPartitioner> thread_loop_partitioner;
 
       /**
        * Temporary storage that holds the data that is sent to this processor
@@ -1441,7 +1441,7 @@ namespace LinearAlgebra
 
     template <typename Number>
     inline
-    const std_cxx11::shared_ptr<const Utilities::MPI::Partitioner> &
+    const std::shared_ptr<const Utilities::MPI::Partitioner> &
     Vector<Number>::get_partitioner () const
     {
       return partitioner;
@@ -1476,7 +1476,7 @@ void swap (LinearAlgebra::distributed::Vector<Number> &u,
  * @author Uwe Koecher, 2017
  */
 template <typename Number>
-struct is_serial_vector< LinearAlgebra::distributed::Vector< Number > > : std_cxx11::false_type
+struct is_serial_vector< LinearAlgebra::distributed::Vector< Number > > : std::false_type
 {
 };
 
index f30153446986a31abe0d4488c23ea4732fedbe04..e096652690769969fd0392ffe37eda9c718f0051 100644 (file)
@@ -159,7 +159,7 @@ namespace LinearAlgebra
                             const MPI_Comm  communicator)
     {
       // set up parallel partitioner with index sets and communicator
-      std_cxx11::shared_ptr<const Utilities::MPI::Partitioner> new_partitioner
+      std::shared_ptr<const Utilities::MPI::Partitioner> new_partitioner
       (new Utilities::MPI::Partitioner (locally_owned_indices,
                                         ghost_indices, communicator));
       reinit (new_partitioner);
@@ -173,7 +173,7 @@ namespace LinearAlgebra
                             const MPI_Comm  communicator)
     {
       // set up parallel partitioner with index sets and communicator
-      std_cxx11::shared_ptr<const Utilities::MPI::Partitioner> new_partitioner
+      std::shared_ptr<const Utilities::MPI::Partitioner> new_partitioner
       (new Utilities::MPI::Partitioner (locally_owned_indices,
                                         communicator));
       reinit (new_partitioner);
@@ -183,7 +183,7 @@ namespace LinearAlgebra
 
     template <typename Number>
     void
-    Vector<Number>::reinit (const std_cxx11::shared_ptr<const Utilities::MPI::Partitioner> &partitioner_in)
+    Vector<Number>::reinit (const std::shared_ptr<const Utilities::MPI::Partitioner> &partitioner_in)
     {
       clear_mpi_requests();
       partitioner = partitioner_in;
@@ -290,7 +290,7 @@ namespace LinearAlgebra
 
     template <typename Number>
     Vector<Number>::
-    Vector (const std_cxx11::shared_ptr<const Utilities::MPI::Partitioner> &partitioner)
+    Vector (const std::shared_ptr<const Utilities::MPI::Partitioner> &partitioner)
       :
       allocated_size (0),
       val (0),
@@ -825,12 +825,12 @@ namespace LinearAlgebra
     void
     Vector<Number>::import(const ReadWriteVector<Number>                  &V,
                            VectorOperation::values                         operation,
-                           std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern)
+                           std::shared_ptr<const CommunicationPatternBase> communication_pattern)
     {
       IndexSet locally_owned_elem = locally_owned_elements();
       // If no communication pattern is given, create one. Otherwise, use the
       // given one.
-      std_cxx11::shared_ptr<const Utilities::MPI::Partitioner> comm_pattern;
+      std::shared_ptr<const Utilities::MPI::Partitioner> comm_pattern;
       if (communication_pattern.get() == NULL)
         {
           // Split the IndexSet of V in locally owned elements and ghost indices
@@ -846,7 +846,7 @@ namespace LinearAlgebra
       else
         {
           comm_pattern =
-            std_cxx11::dynamic_pointer_cast<const Utilities::MPI::Partitioner> (communication_pattern);
+            std::dynamic_pointer_cast<const Utilities::MPI::Partitioner> (communication_pattern);
           AssertThrow(comm_pattern != NULL,
                       ExcMessage("The communication pattern is not of type "
                                  "Utilities::MPI::Partitioner."));
index 18dbcf5d0227952109f9322dc80ec8d3ac9ac30d..fb64b714e85cfaefda296ca3926df7b8748872d2 100644 (file)
@@ -134,9 +134,9 @@ namespace LinearAlgebra
      */
     virtual void import(const ReadWriteVector<Number> &V,
                         VectorOperation::values operation,
-                        std_cxx11::shared_ptr<const CommunicationPatternBase>
+                        std::shared_ptr<const CommunicationPatternBase>
                         communication_pattern =
-                          std_cxx11::shared_ptr<const CommunicationPatternBase>());
+                          std::shared_ptr<const CommunicationPatternBase>());
 
     /**
      * Add @p a to all components. Note that @p a is a scalar not a vector.
@@ -384,7 +384,7 @@ namespace LinearAlgebra
  * @author Uwe Koecher, 2017
  */
 template <typename Number>
-struct is_serial_vector< LinearAlgebra::Vector< Number > > : std_cxx11::true_type
+struct is_serial_vector< LinearAlgebra::Vector< Number > > : std::true_type
 {
 };
 
index 15fe96fddec6d9d14683ff59a5715309723f92e7..460723c9421f2fb9c6b61b9be4879336c08d9e2f 100644 (file)
@@ -159,7 +159,7 @@ namespace LinearAlgebra
   template <typename Number>
   void Vector<Number>::import(const ReadWriteVector<Number> &,
                               VectorOperation::values        ,
-                              std_cxx11::shared_ptr<const CommunicationPatternBase>)
+                              std::shared_ptr<const CommunicationPatternBase>)
   {
     AssertThrow(false, ExcMessage("This function is not implemented."));
   }
index 45688aae4cada393f1e53f5ccad2992206d2a8bf..f1a015e0f4214a8bc79ddf46913925afc26bd0b9 100644 (file)
@@ -23,7 +23,7 @@
 #include <deal.II/lac/lapack_support.h>
 #include <deal.II/lac/vector_memory.h>
 
-#include <deal.II/base/std_cxx11/shared_ptr.h>
+#include <memory>
 #include <vector>
 #include <complex>
 
@@ -662,13 +662,13 @@ private:
    * The matrix <i>U</i> in the singular value decomposition
    * <i>USV<sup>T</sup></i>.
    */
-  std_cxx11::shared_ptr<LAPACKFullMatrix<number> > svd_u;
+  std::shared_ptr<LAPACKFullMatrix<number> > svd_u;
 
   /**
    * The matrix <i>V<sup>T</sup></i> in the singular value decomposition
    * <i>USV<sup>T</sup></i>.
    */
-  std_cxx11::shared_ptr<LAPACKFullMatrix<number> > svd_vt;
+  std::shared_ptr<LAPACKFullMatrix<number> > svd_vt;
 };
 
 
index 5402fa23a3577ea9639be579c5a0159f8565a0a9..a03f43709995bc7dbff155c888b71d47201ca68c 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <deal.II/base/config.h>
 #include <deal.II/base/smartpointer.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/base/memory_consumption.h>
 #include <deal.II/base/mg_level_object.h>
 #include <deal.II/lac/block_indices.h>
@@ -27,6 +26,8 @@
 #include <deal.II/lac/full_matrix.h>
 #include <deal.II/algorithms/any_data.h>
 
+#include <memory>
+
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -344,7 +345,7 @@ public:
    * The pointer type used for storing the objects. We use a shard pointer,
    * such that they get deleted automatically when not used anymore.
    */
-  typedef std_cxx11::shared_ptr<value_type> ptr_type;
+  typedef std::shared_ptr<value_type> ptr_type;
 
   /**
    * Add a new matrix block at the position <tt>(row,column)</tt> in the block
index 0b3eb5a1224bb60d2024d40ff3468e1603eebb99..5a9c18247cc198545d1bf0e6b1fd1b684eaf1e6d 100644 (file)
@@ -504,7 +504,7 @@ namespace internal
  * @author Uwe Koecher, 2017
  */
 template <>
-struct is_serial_vector< PETScWrappers::BlockVector > : std_cxx11::true_type
+struct is_serial_vector< PETScWrappers::BlockVector > : std::true_type
 {
 };
 
index 2c4f07061bf98f3fd0418fbfc239ad1ed83177f8..5cbcfb16c13d354e3dad2a1dfb9f7f810e5b3747 100644 (file)
 #  include <deal.II/lac/vector.h>
 
 #  include <petscmat.h>
-#  include <deal.II/base/std_cxx11/shared_ptr.h>
 
 #  include <vector>
 #  include <cmath>
+#  include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -144,12 +144,12 @@ namespace PETScWrappers
          * performance, we keep a shared pointer to these entries so that more
          * than one accessor can access this data if necessary.
          */
-        std_cxx11::shared_ptr<const std::vector<size_type> > colnum_cache;
+        std::shared_ptr<const std::vector<size_type> > colnum_cache;
 
         /**
          * Similar cache for the values of this row.
          */
-        std_cxx11::shared_ptr<const std::vector<PetscScalar> > value_cache;
+        std::shared_ptr<const std::vector<PetscScalar> > value_cache;
 
         /**
          * Discard the old row caches (they may still be used by other
index d6635821e7d7285f8cf11a5af11ffc2e868c56c7..3a4a547c48e03177b112e566bbee34b28b76c1c1 100644 (file)
@@ -582,7 +582,7 @@ namespace internal
  * @author Uwe Koecher, 2017
  */
 template <>
-struct is_serial_vector< PETScWrappers::MPI::BlockVector > : std_cxx11::false_type
+struct is_serial_vector< PETScWrappers::MPI::BlockVector > : std::false_type
 {
 };
 
index e61ae3d9c737973f4afd7dc1d6de697f021d934d..64adf0365574229bbf4ccc2b9310f39719f08fe2 100644 (file)
@@ -632,7 +632,7 @@ namespace internal
  * @author Uwe Koecher, 2017
  */
 template <>
-struct is_serial_vector< PETScWrappers::MPI::Vector > : std_cxx11::false_type
+struct is_serial_vector< PETScWrappers::MPI::Vector > : std::false_type
 {
 };
 
index 07628a3ef12e10fece8725c6cf900b6ea5a214af..c3d0f28ae44dd477a03b636462f7e51155e106eb 100644 (file)
 
 #  include <deal.II/lac/exceptions.h>
 #  include <deal.II/lac/solver_control.h>
-#  include <deal.II/base/std_cxx11/shared_ptr.h>
 
 #  include <petscksp.h>
 
+#  include <memory>
+
 #ifdef DEAL_II_WITH_SLEPC
 #include <deal.II/lac/slepc_spectral_transformation.h>
 #endif
@@ -250,7 +251,7 @@ namespace PETScWrappers
      * Pointer to an object that stores the solver context. This is recreated
      * in the main solver routine if necessary.
      */
-    std_cxx11::shared_ptr<SolverData> solver_data;
+    std::shared_ptr<SolverData> solver_data;
 
 #ifdef DEAL_II_WITH_SLEPC
     /**
@@ -994,7 +995,7 @@ namespace PETScWrappers
       PC  pc;
     };
 
-    std_cxx11::shared_ptr<SolverDataMUMPS> solver_data;
+    std::shared_ptr<SolverDataMUMPS> solver_data;
 
     /**
      * Flag specifies whether matrix being factorized is symmetric or not. It
index 3686905b5bb6a43090221fdd031449a587c13917..fb3016ff9ff24ed4c27c91795c9a7f3e5951f4cc 100644 (file)
@@ -440,7 +440,7 @@ namespace internal
  * @author Uwe Koecher, 2017
  */
 template <>
-struct is_serial_vector< PETScWrappers::Vector > : std_cxx11::true_type
+struct is_serial_vector< PETScWrappers::Vector > : std::true_type
 {
 };
 
index d2e80e25153e709fa1334b43d5085e6ed11a4b7b..0ea8991a07b195242bdba0bd2ae72eacccc0fd4f 100644 (file)
@@ -996,7 +996,7 @@ public:
     /**
      * Stores the preconditioner object that the Chebyshev is wrapped around.
      */
-    std_cxx11::shared_ptr<PreconditionerType> preconditioner;
+    std::shared_ptr<PreconditionerType> preconditioner;
   };
 
   DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
@@ -1897,7 +1897,7 @@ namespace internal
     inline
     void
     initialize_preconditioner(const MatrixType                          &matrix,
-                              std_cxx11::shared_ptr<PreconditionerType> &preconditioner,
+                              std::shared_ptr<PreconditionerType> &preconditioner,
                               VectorType &)
     {
       (void)matrix;
@@ -1909,7 +1909,7 @@ namespace internal
     inline
     void
     initialize_preconditioner(const MatrixType                                   &matrix,
-                              std_cxx11::shared_ptr<DiagonalMatrix<VectorType> > &preconditioner,
+                              std::shared_ptr<DiagonalMatrix<VectorType> > &preconditioner,
                               VectorType                                         &diagonal_inverse)
     {
       if (preconditioner.get() == NULL ||
@@ -2094,9 +2094,9 @@ PreconditionChebyshev<MatrixType,VectorType,PreconditionerType>::estimate_eigenv
 
       internal::PreconditionChebyshev::EigenvalueTracker eigenvalue_tracker;
       SolverCG<VectorType> solver (control);
-      solver.connect_eigenvalues_slot(std_cxx11::bind(&internal::PreconditionChebyshev::EigenvalueTracker::slot,
-                                                      &eigenvalue_tracker,
-                                                      std_cxx11::_1));
+      solver.connect_eigenvalues_slot(std::bind(&internal::PreconditionChebyshev::EigenvalueTracker::slot,
+                                                &eigenvalue_tracker,
+                                                std::placeholders::_1));
 
       // set an initial guess which is close to the constant vector but where
       // one entry is different to trigger high frequencies
index 520dc4a1983345b64b5a1615de5790c2ce38ee49..3d15c23daa905a5d9b0d203de98c1c412264d015 100644 (file)
@@ -270,8 +270,8 @@ namespace LinearAlgebra
      */
     void import(const distributed::Vector<Number> &vec,
                 VectorOperation::values operation,
-                std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern =
-                  std_cxx11::shared_ptr<const CommunicationPatternBase> ());
+                std::shared_ptr<const CommunicationPatternBase> communication_pattern =
+                  std::shared_ptr<const CommunicationPatternBase> ());
 
 #ifdef DEAL_II_WITH_PETSC
     /**
@@ -284,8 +284,8 @@ namespace LinearAlgebra
      */
     void import(const PETScWrappers::MPI::Vector &petsc_vec,
                 VectorOperation::values operation,
-                std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern =
-                  std_cxx11::shared_ptr<const CommunicationPatternBase> ());
+                std::shared_ptr<const CommunicationPatternBase> communication_pattern =
+                  std::shared_ptr<const CommunicationPatternBase> ());
 #endif
 
 #ifdef DEAL_II_WITH_TRILINOS
@@ -299,8 +299,8 @@ namespace LinearAlgebra
      */
     void import(const TrilinosWrappers::MPI::Vector &trilinos_vec,
                 VectorOperation::values operation,
-                std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern =
-                  std_cxx11::shared_ptr<const CommunicationPatternBase> ());
+                std::shared_ptr<const CommunicationPatternBase> communication_pattern =
+                  std::shared_ptr<const CommunicationPatternBase> ());
 
     /**
      * Imports all the elements present in the vector's IndexSet from the input
@@ -312,8 +312,8 @@ namespace LinearAlgebra
      */
     void import(const EpetraWrappers::Vector &epetra_vec,
                 VectorOperation::values operation,
-                std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern =
-                  std_cxx11::shared_ptr<const CommunicationPatternBase> ());
+                std::shared_ptr<const CommunicationPatternBase> communication_pattern =
+                  std::shared_ptr<const CommunicationPatternBase> ());
 #endif
 
 #ifdef DEAL_II_WITH_CUDA
@@ -325,8 +325,8 @@ namespace LinearAlgebra
      */
     void import(const CUDAWrappers::Vector<Number> &cuda_vec,
                 VectorOperation::values operation,
-                std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern =
-                  std_cxx11::shared_ptr<const CommunicationPatternBase> ());
+                std::shared_ptr<const CommunicationPatternBase> communication_pattern =
+                  std::shared_ptr<const CommunicationPatternBase> ());
 #endif
 
     /**
@@ -515,7 +515,7 @@ namespace LinearAlgebra
                 const IndexSet                                 &locally_owned_elements,
                 VectorOperation::values                         operation,
                 const MPI_Comm                                 &mpi_comm,
-                std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern);
+                std::shared_ptr<const CommunicationPatternBase> communication_pattern);
 #endif
 
     /**
@@ -558,7 +558,7 @@ namespace LinearAlgebra
      * CommunicationPattern for the communication between the
      * source_stored_elements IndexSet and the current vector.
      */
-    std_cxx11::shared_ptr<CommunicationPatternBase> comm_pattern;
+    std::shared_ptr<CommunicationPatternBase> comm_pattern;
 
     /**
      * Pointer to the array of local elements of this vector.
@@ -569,7 +569,7 @@ namespace LinearAlgebra
      * For parallel loops with TBB, this member variable stores the affinity
      * information of loops.
      */
-    mutable std_cxx11::shared_ptr< ::dealii::parallel::internal::TBBPartitioner> thread_loop_partitioner;
+    mutable std::shared_ptr< ::dealii::parallel::internal::TBBPartitioner> thread_loop_partitioner;
 
     /**
      * Make all other ReadWriteVector types friends.
index 90e9d166a8faa7dd05a46660e3e405eaee7ba401..09a0d65ebe1530dab1ca87eee11cbc02759602f3 100644 (file)
@@ -201,11 +201,11 @@ namespace LinearAlgebra
   void
   ReadWriteVector<Number>::import(const distributed::Vector<Number> &vec,
                                   VectorOperation::values operation,
-                                  std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern)
+                                  std::shared_ptr<const CommunicationPatternBase> communication_pattern)
   {
     // If no communication pattern is given, create one. Otherwise, use the
     // given one.
-    std_cxx11::shared_ptr<const Utilities::MPI::Partitioner> comm_pattern;
+    std::shared_ptr<const Utilities::MPI::Partitioner> comm_pattern;
     if (communication_pattern.get() == NULL)
       {
         comm_pattern.reset(new Utilities::MPI::Partitioner(vec.locally_owned_elements(),
@@ -215,7 +215,7 @@ namespace LinearAlgebra
     else
       {
         comm_pattern =
-          std_cxx11::dynamic_pointer_cast<const Utilities::MPI::Partitioner> (communication_pattern);
+          std::dynamic_pointer_cast<const Utilities::MPI::Partitioner> (communication_pattern);
         AssertThrow(comm_pattern != NULL,
                     ExcMessage("The communication pattern is not of type "
                                "Utilities::MPI::Partitioner."));
@@ -270,7 +270,7 @@ namespace LinearAlgebra
   void
   ReadWriteVector<Number>::import(const PETScWrappers::MPI::Vector &petsc_vec,
                                   VectorOperation::values /*operation*/,
-                                  std_cxx11::shared_ptr<const CommunicationPatternBase> /*communication_pattern*/)
+                                  std::shared_ptr<const CommunicationPatternBase> /*communication_pattern*/)
   {
     //TODO: this works only if no communication is needed.
     Assert(petsc_vec.locally_owned_elements() == stored_elements,
@@ -299,9 +299,9 @@ namespace LinearAlgebra
                                   const IndexSet                  &source_elements,
                                   VectorOperation::values          operation,
                                   const MPI_Comm                  &mpi_comm,
-                                  std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern)
+                                  std::shared_ptr<const CommunicationPatternBase> communication_pattern)
   {
-    std_cxx11::shared_ptr<const EpetraWrappers::CommunicationPattern> epetra_comm_pattern;
+    std::shared_ptr<const EpetraWrappers::CommunicationPattern> epetra_comm_pattern;
 
     // If no communication pattern is given, create one. Otherwise, use the one
     // given.
@@ -314,18 +314,18 @@ namespace LinearAlgebra
             (source_elements == source_stored_elements))
           {
             epetra_comm_pattern =
-              std_cxx11::dynamic_pointer_cast<const EpetraWrappers::CommunicationPattern> (comm_pattern);
+              std::dynamic_pointer_cast<const EpetraWrappers::CommunicationPattern> (comm_pattern);
             if (epetra_comm_pattern == NULL)
-              epetra_comm_pattern = std_cxx11::make_shared<const EpetraWrappers::CommunicationPattern>(
+              epetra_comm_pattern = std::make_shared<const EpetraWrappers::CommunicationPattern>(
                                       create_epetra_comm_pattern(source_elements, mpi_comm));
           }
         else
-          epetra_comm_pattern = std_cxx11::make_shared<const EpetraWrappers::CommunicationPattern>(
+          epetra_comm_pattern = std::make_shared<const EpetraWrappers::CommunicationPattern>(
                                   create_epetra_comm_pattern(source_elements, mpi_comm));
       }
     else
       {
-        epetra_comm_pattern = std_cxx11::dynamic_pointer_cast<const EpetraWrappers::CommunicationPattern> (
+        epetra_comm_pattern = std::dynamic_pointer_cast<const EpetraWrappers::CommunicationPattern> (
                                 communication_pattern);
         AssertThrow(epetra_comm_pattern != NULL,
                     ExcMessage(std::string("The communication pattern is not of type ") +
@@ -359,7 +359,7 @@ namespace LinearAlgebra
   void
   ReadWriteVector<Number>::import(const TrilinosWrappers::MPI::Vector            &trilinos_vec,
                                   VectorOperation::values                         operation,
-                                  std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern)
+                                  std::shared_ptr<const CommunicationPatternBase> communication_pattern)
   {
     import(trilinos_vec.trilinos_vector(), trilinos_vec.locally_owned_elements(),
            operation, trilinos_vec.get_mpi_communicator(), communication_pattern);
@@ -371,7 +371,7 @@ namespace LinearAlgebra
   void
   ReadWriteVector<Number>::import(const LinearAlgebra::EpetraWrappers::Vector    &trilinos_vec,
                                   VectorOperation::values                         operation,
-                                  std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern)
+                                  std::shared_ptr<const CommunicationPatternBase> communication_pattern)
   {
     import(trilinos_vec.trilinos_vector(), trilinos_vec.locally_owned_elements(),
            operation, trilinos_vec.get_mpi_communicator(), communication_pattern);
@@ -385,7 +385,7 @@ namespace LinearAlgebra
   void
   ReadWriteVector<Number>::import(const LinearAlgebra::CUDAWrappers::Vector<Number> &cuda_vec,
                                   VectorOperation::values                            operation,
-                                  std_cxx11::shared_ptr<const CommunicationPatternBase> )
+                                  std::shared_ptr<const CommunicationPatternBase> )
   {
     const unsigned int n_elements = stored_elements.n_elements();
     if (operation == VectorOperation::insert)
index cb6e2f271ee8dd562a2c53ebcae96ce87efc65f0..648f8f4894993c0458dfa7cb9a3e293d6c662c52 100644 (file)
@@ -102,8 +102,8 @@ RelaxationBlock<MatrixType, InverseNumberType, VectorType>::invert_diagblocks ()
     {
       // compute blocks in parallel
       parallel::apply_to_subranges(0, this->additional_data->block_list.n_rows(),
-                                   std_cxx11::bind(&RelaxationBlock<MatrixType, InverseNumberType, VectorType>::block_kernel, this,
-                                                   std_cxx11::_1, std_cxx11::_2),
+                                   std::bind(&RelaxationBlock<MatrixType, InverseNumberType, VectorType>::block_kernel, this,
+                                             std::placeholders::_1, std::placeholders::_2),
                                    16);
     }
   this->inverses_computed(true);
index 6b626b465e4d717ec4e01e3e85903d381167e1b0..e62ca174ba850d9263dd15bacab5a1b463c4b0c7 100644 (file)
@@ -21,8 +21,6 @@
 
 #ifdef DEAL_II_WITH_SLEPC
 
-#  include <deal.II/base/std_cxx11/shared_ptr.h>
-#  include <deal.II/lac/exceptions.h>
 #  include <deal.II/lac/solver_control.h>
 #  include <deal.II/lac/petsc_matrix_base.h>
 #  include <deal.II/lac/slepc_spectral_transformation.h>
@@ -31,6 +29,8 @@
 #  include <petscksp.h>
 #  include <slepceps.h>
 
+#  include <memory>
+
 DEAL_II_NAMESPACE_OPEN
 
 /**
index 3acb22debfed5bca19b54ea2588e0d5f7e0572cc..b7709af8e7841935739f1c940fc5a18e74949316 100644 (file)
 
 #ifdef DEAL_II_WITH_SLEPC
 
-#  include <deal.II/base/std_cxx11/shared_ptr.h>
 #  include <deal.II/lac/exceptions.h>
 #  include <deal.II/lac/petsc_solver.h>
 
 #  include <petscksp.h>
 #  include <slepceps.h>
 
+#  include <memory>
+
 DEAL_II_NAMESPACE_OPEN
 
 namespace PETScWrappers
index 5e5d24b23fe744be26359faf277bdeb79535809b..7cb88f15a2bcc8523a5a9944e4ac98f415aa54f0 100644 (file)
@@ -211,7 +211,7 @@ template <typename number> class Vector;
  * function). A pointer to a function with this argument list satisfies the
  * requirements, but you can also pass a member function whose
  * <code>this</code> argument has been bound using the
- * <code>std_cxx11::bind</code> mechanism (see the example below). - Each of
+ * <code>std::bind</code> mechanism (see the example below). - Each of
  * the slots will return a value that indicates whether the iteration should
  * continue, should stop because it has succeeded, or stop because it has
  * failed. The return type of slots is therefore of type SolverControl::State.
@@ -277,16 +277,16 @@ template <typename number> class Vector;
  *   SolverControl           solver_control (1000, 1e-12);
  *   SolverCG<>              solver (solver_control);
  *
- *   solver.connect (std_cxx11::bind (&Step3::write_intermediate_solution,
- *                                    this,
- *                                    std_cxx11::_1,
- *                                    std_cxx11::_2,
- *                                    std_cxx11::_3));
+ *   solver.connect (std::bind (&Step3::write_intermediate_solution,
+ *                              this,
+ *                              std::placeholders::_1,
+ *                              std::placeholders::_2,
+ *                              std::placeholders::_3));
  *   solver.solve (system_matrix, solution, system_rhs,
  *                 PreconditionIdentity());
  * }
  * @endcode
- * The use of <code>std_cxx11::bind</code> here ensures that we convert the
+ * The use of <code>std::bind</code> here ensures that we convert the
  * member function with its three arguments plus the <code>this</code>
  * pointer, to a function that only takes three arguments, by fixing the
  * implicit <code>this</code> argument of the function to the
@@ -383,9 +383,9 @@ public:
    * library for more information on connection management.
    */
   boost::signals2::connection
-  connect (const std_cxx11::function<SolverControl::State (const unsigned int iteration,
-                                                           const double       check_value,
-                                                           const VectorType   &current_iterate)> &slot);
+  connect (const std::function<SolverControl::State (const unsigned int iteration,
+                                                     const double       check_value,
+                                                     const VectorType   &current_iterate)> &slot);
 
 
 
@@ -504,10 +504,10 @@ Solver<VectorType>::Solver (SolverControl        &solver_control,
   // only takes two arguments, the iteration and the check_value, and so
   // we simply ignore the third argument that is passed in whenever the
   // signal is executed
-  connect (std_cxx11::bind(&SolverControl::check,
-                           std_cxx11::ref(solver_control),
-                           std_cxx11::_1,
-                           std_cxx11::_2));
+  connect (std::bind(&SolverControl::check,
+                     std::ref(solver_control),
+                     std::placeholders::_1,
+                     std::placeholders::_2));
 }
 
 
@@ -523,10 +523,10 @@ Solver<VectorType>::Solver (SolverControl &solver_control)
   // only takes two arguments, the iteration and the check_value, and so
   // we simply ignore the third argument that is passed in whenever the
   // signal is executed
-  connect (std_cxx11::bind(&SolverControl::check,
-                           std_cxx11::ref(solver_control),
-                           std_cxx11::_1,
-                           std_cxx11::_2));
+  connect (std::bind(&SolverControl::check,
+                     std::ref(solver_control),
+                     std::placeholders::_1,
+                     std::placeholders::_2));
 }
 
 
@@ -535,9 +535,9 @@ template<class VectorType>
 inline
 boost::signals2::connection
 Solver<VectorType>::
-connect (const std_cxx11::function<SolverControl::State (const unsigned int iteration,
-                                                         const double       check_value,
-                                                         const VectorType   &current_iterate)> &slot)
+connect (const std::function<SolverControl::State (const unsigned int iteration,
+                                                   const double       check_value,
+                                                   const VectorType   &current_iterate)> &slot)
 {
   return iteration_status.connect (slot);
 }
index 1170df1539ff8cc1e1a069fc3db31ddd0794aebd..5024e8e960c6452223ad30143c31ce7326087b89 100644 (file)
@@ -190,7 +190,7 @@ public:
    */
   boost::signals2::connection
   connect_coefficients_slot(
-    const std_cxx11::function<void (double,double)> &slot);
+    const std::function<void (double,double)> &slot);
 
   /**
    * Connect a slot to retrieve the estimated condition number. Called on each
@@ -199,7 +199,7 @@ public:
    * divergence has been detected).
    */
   boost::signals2::connection
-  connect_condition_number_slot(const std_cxx11::function<void (double)> &slot,
+  connect_condition_number_slot(const std::function<void (double)> &slot,
                                 const bool every_iteration=false);
 
   /**
@@ -210,7 +210,7 @@ public:
    */
   boost::signals2::connection
   connect_eigenvalues_slot(
-    const std_cxx11::function<void (const std::vector<double> &)> &slot,
+    const std::function<void (const std::vector<double> &)> &slot,
     const bool every_iteration=false);
 
 protected:
@@ -596,7 +596,7 @@ SolverCG<VectorType>::solve (const MatrixType         &A,
 template<typename VectorType>
 boost::signals2::connection
 SolverCG<VectorType>::connect_coefficients_slot
-(const std_cxx11::function<void(double,double)> &slot)
+(const std::function<void(double,double)> &slot)
 {
   return coefficients_signal.connect(slot);
 }
@@ -606,7 +606,7 @@ SolverCG<VectorType>::connect_coefficients_slot
 template<typename VectorType>
 boost::signals2::connection
 SolverCG<VectorType>::connect_condition_number_slot
-(const std_cxx11::function<void(double)> &slot,
+(const std::function<void(double)> &slot,
  const bool                              every_iteration)
 {
   if (every_iteration)
@@ -624,7 +624,7 @@ SolverCG<VectorType>::connect_condition_number_slot
 template<typename VectorType>
 boost::signals2::connection
 SolverCG<VectorType>::connect_eigenvalues_slot
-(const std_cxx11::function<void (const std::vector<double> &)> &slot,
+(const std::function<void (const std::vector<double> &)> &slot,
  const bool                                                    every_iteration)
 {
   if (every_iteration)
index 087c17919c24b4ea2e097d806430fffb654777d9..9ae3e8b102f5c6f6f29e897a29ee3ad25bf1a212 100644 (file)
@@ -281,7 +281,7 @@ public:
    * or because divergence has been detected).
    */
   boost::signals2::connection
-  connect_condition_number_slot(const std_cxx11::function<void (double)> &slot,
+  connect_condition_number_slot(const std::function<void (double)> &slot,
                                 const bool every_iteration=false);
 
   /**
@@ -292,7 +292,7 @@ public:
    */
   boost::signals2::connection
   connect_eigenvalues_slot(
-    const std_cxx11::function<void (const std::vector<std::complex<double> > &)> &slot,
+    const std::function<void (const std::vector<std::complex<double> > &)> &slot,
     const bool every_iteration=false);
 
   /**
@@ -304,7 +304,7 @@ public:
    */
   boost::signals2::connection
   connect_hessenberg_slot(
-    const std_cxx11::function<void (const FullMatrix<double> &)> &slot,
+    const std::function<void (const FullMatrix<double> &)> &slot,
     const bool every_iteration=true);
 
   /**
@@ -315,7 +315,7 @@ public:
    */
   boost::signals2::connection
   connect_krylov_space_slot(
-    const std_cxx11::function<void (const internal::SolverGMRES::TmpVectors<VectorType> &)> &slot);
+    const std::function<void (const internal::SolverGMRES::TmpVectors<VectorType> &)> &slot);
 
 
   DeclException1 (ExcTooFewTmpVectors,
@@ -1114,7 +1114,7 @@ SolverGMRES<VectorType>::solve (const MatrixType         &A,
 template<class VectorType>
 boost::signals2::connection
 SolverGMRES<VectorType>::connect_condition_number_slot
-(const std_cxx11::function<void(double)> &slot,
+(const std::function<void(double)> &slot,
  const bool every_iteration)
 {
   if (every_iteration)
@@ -1132,7 +1132,7 @@ SolverGMRES<VectorType>::connect_condition_number_slot
 template<class VectorType>
 boost::signals2::connection
 SolverGMRES<VectorType>::connect_eigenvalues_slot
-(const std_cxx11::function<void (const std::vector<std::complex<double> > &)> &slot,
+(const std::function<void (const std::vector<std::complex<double> > &)> &slot,
  const bool every_iteration)
 {
   if (every_iteration)
@@ -1150,7 +1150,7 @@ SolverGMRES<VectorType>::connect_eigenvalues_slot
 template<class VectorType>
 boost::signals2::connection
 SolverGMRES<VectorType>::connect_hessenberg_slot
-(const std_cxx11::function<void (const FullMatrix<double> &)> &slot,
+(const std::function<void (const FullMatrix<double> &)> &slot,
  const bool every_iteration)
 {
   if (every_iteration)
@@ -1168,7 +1168,7 @@ SolverGMRES<VectorType>::connect_hessenberg_slot
 template<class VectorType>
 boost::signals2::connection
 SolverGMRES<VectorType>::connect_krylov_space_slot
-(const std_cxx11::function<void (const internal::SolverGMRES::TmpVectors<VectorType> &)> &slot)
+(const std::function<void (const internal::SolverGMRES::TmpVectors<VectorType> &)> &slot)
 {
   return krylov_space_signal.connect(slot);
 }
index 3a795115ae71c22fc535c6104f074ac1c869ddd8..23aa9084b682e7f07f2d6482010d7799f5ce60fc 100644 (file)
@@ -37,7 +37,7 @@
 #include <cmath>
 #include <vector>
 #include <numeric>
-#include <deal.II/base/std_cxx11/bind.h>
+#include <functional>
 
 
 
@@ -206,10 +206,10 @@ SparseMatrix<number>::operator = (const double d)
     (cols->n_nonzero_elements()+m()) / m();
   if (matrix_size>grain_size)
     parallel::apply_to_subranges (0U, matrix_size,
-                                  std_cxx11::bind(&internal::SparseMatrix::template
-                                                  zero_subrange<number>,
-                                                  std_cxx11::_1, std_cxx11::_2,
-                                                  val),
+                                  std::bind(&internal::SparseMatrix::template
+                                            zero_subrange<number>,
+                                            std::placeholders::_1, std::placeholders::_2,
+                                            val),
                                   grain_size);
   else if (matrix_size > 0)
     std::memset (&val[0], 0, matrix_size*sizeof(number));
@@ -765,15 +765,15 @@ SparseMatrix<number>::vmult (OutVector &dst,
   Assert (!PointerComparison::equal(&src, &dst), ExcSourceEqualsDestination());
 
   parallel::apply_to_subranges (0U, m(),
-                                std_cxx11::bind (&internal::SparseMatrix::vmult_on_subrange
-                                                 <number,InVector,OutVector>,
-                                                 std_cxx11::_1, std_cxx11::_2,
-                                                 val,
-                                                 cols->rowstart,
-                                                 cols->colnums,
-                                                 std_cxx11::cref(src),
-                                                 std_cxx11::ref(dst),
-                                                 false),
+                                std::bind (&internal::SparseMatrix::vmult_on_subrange
+                                           <number,InVector,OutVector>,
+                                           std::placeholders::_1, std::placeholders::_2,
+                                           val,
+                                           cols->rowstart,
+                                           cols->colnums,
+                                           std::cref(src),
+                                           std::ref(dst),
+                                           false),
                                 internal::SparseMatrix::minimum_parallel_grain_size);
 }
 
@@ -820,15 +820,15 @@ SparseMatrix<number>::vmult_add (OutVector &dst,
   Assert (!PointerComparison::equal(&src, &dst), ExcSourceEqualsDestination());
 
   parallel::apply_to_subranges (0U, m(),
-                                std_cxx11::bind (&internal::SparseMatrix::vmult_on_subrange
-                                                 <number,InVector,OutVector>,
-                                                 std_cxx11::_1, std_cxx11::_2,
-                                                 val,
-                                                 cols->rowstart,
-                                                 cols->colnums,
-                                                 std_cxx11::cref(src),
-                                                 std_cxx11::ref(dst),
-                                                 true),
+                                std::bind (&internal::SparseMatrix::vmult_on_subrange
+                                           <number,InVector,OutVector>,
+                                           std::placeholders::_1, std::placeholders::_2,
+                                           val,
+                                           cols->rowstart,
+                                           cols->colnums,
+                                           std::cref(src),
+                                           std::ref(dst),
+                                           true),
                                 internal::SparseMatrix::minimum_parallel_grain_size);
 }
 
@@ -906,11 +906,11 @@ SparseMatrix<number>::matrix_norm_square (const Vector<somenumber> &v) const
 
   return
     parallel::accumulate_from_subranges<somenumber>
-    (std_cxx11::bind (&internal::SparseMatrix::matrix_norm_sqr_on_subrange
-                      <number,Vector<somenumber> >,
-                      std_cxx11::_1, std_cxx11::_2,
-                      val, cols->rowstart, cols->colnums,
-                      std_cxx11::cref(v)),
+    (std::bind (&internal::SparseMatrix::matrix_norm_sqr_on_subrange
+                <number,Vector<somenumber> >,
+                std::placeholders::_1, std::placeholders::_2,
+                val, cols->rowstart, cols->colnums,
+                std::cref(v)),
      0, m(),
      internal::SparseMatrix::minimum_parallel_grain_size);
 }
@@ -969,12 +969,12 @@ SparseMatrix<number>::matrix_scalar_product (const Vector<somenumber> &u,
 
   return
     parallel::accumulate_from_subranges<somenumber>
-    (std_cxx11::bind (&internal::SparseMatrix::matrix_scalar_product_on_subrange
-                      <number,Vector<somenumber> >,
-                      std_cxx11::_1, std_cxx11::_2,
-                      val, cols->rowstart, cols->colnums,
-                      std_cxx11::cref(u),
-                      std_cxx11::cref(v)),
+    (std::bind (&internal::SparseMatrix::matrix_scalar_product_on_subrange
+                <number,Vector<somenumber> >,
+                std::placeholders::_1, std::placeholders::_2,
+                val, cols->rowstart, cols->colnums,
+                std::cref(u),
+                std::cref(v)),
      0, m(),
      internal::SparseMatrix::minimum_parallel_grain_size);
 }
@@ -1356,13 +1356,13 @@ SparseMatrix<number>::residual (Vector<somenumber>       &dst,
 
   return
     std::sqrt (parallel::accumulate_from_subranges<somenumber>
-               (std_cxx11::bind (&internal::SparseMatrix::residual_sqr_on_subrange
-                                 <number,Vector<somenumber>,Vector<somenumber> >,
-                                 std_cxx11::_1, std_cxx11::_2,
-                                 val, cols->rowstart, cols->colnums,
-                                 std_cxx11::cref(u),
-                                 std_cxx11::cref(b),
-                                 std_cxx11::ref(dst)),
+               (std::bind (&internal::SparseMatrix::residual_sqr_on_subrange
+                           <number,Vector<somenumber>,Vector<somenumber> >,
+                           std::placeholders::_1, std::placeholders::_2,
+                           val, cols->rowstart, cols->colnums,
+                           std::cref(u),
+                           std::cref(b),
+                           std::ref(dst)),
                 0, m(),
                 internal::SparseMatrix::minimum_parallel_grain_size));
 }
index 22571c218ad7876c98a99ac3d4435d9814f8e352..6d011b37302d1ab71f74a4d5c2c490ca7a125351 100644 (file)
@@ -502,7 +502,7 @@ namespace internal
  * @author Uwe Koecher, 2017
  */
 template <>
-struct is_serial_vector< TrilinosWrappers::BlockVector > : std_cxx11::true_type
+struct is_serial_vector< TrilinosWrappers::BlockVector > : std::true_type
 {
 };
 
@@ -513,7 +513,7 @@ struct is_serial_vector< TrilinosWrappers::BlockVector > : std_cxx11::true_type
  * @author Uwe Koecher, 2017
  */
 template <>
-struct is_serial_vector< TrilinosWrappers::MPI::BlockVector > : std_cxx11::false_type
+struct is_serial_vector< TrilinosWrappers::MPI::BlockVector > : std::false_type
 {
 };
 
index 5e8a9ffc5fb5da0b156988c6246a5e97d6fe8f1a..fd10b105bf692ab098134d0b600672d5f540916c 100644 (file)
@@ -23,9 +23,9 @@
 
 #ifdef DEAL_II_WITH_MPI
 
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/lac/communication_pattern_base.h>
 #include "Epetra_Import.h"
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -71,12 +71,12 @@ namespace LinearAlgebra
       /**
        * Shared pointer to the MPI communicator used.
        */
-      std_cxx11::shared_ptr<const MPI_Comm> comm;
+      std::shared_ptr<const MPI_Comm> comm;
 
       /**
        * Shared pointer to the Epetra_Import object used.
        */
-      std_cxx11::shared_ptr<Epetra_Import> import;
+      std::shared_ptr<Epetra_Import> import;
     };
   } // end of namespace EpetraWrappers
 } // end of namespace LinearAlgebra
index efcecfce841680136826e4ca9b70ecfc0e971051..c08d843ca61c9becc9d2d7a623840a87d7ce07d8 100644 (file)
@@ -24,7 +24,6 @@
 #ifdef DEAL_II_WITH_MPI
 
 #include <deal.II/base/index_set.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/lac/read_write_vector.h>
 #include <deal.II/lac/vector_space_vector.h>
 #include <memory>
@@ -69,7 +68,7 @@ namespace LinearAlgebra
        * This constructor takes an IndexSet that defines how to distribute the
        * individual components among the MPI processors. Since it also
        * includes information about the size of the vector, this is all we
-       * need to genereate a %parallel vector.
+       * need to generate a %parallel vector.
        */
       explicit Vector(const IndexSet &parallel_partitioner,
                       const MPI_Comm &communicator);
@@ -101,8 +100,8 @@ namespace LinearAlgebra
        */
       virtual void import(const ReadWriteVector<double>  &V,
                           VectorOperation::values         operation,
-                          std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern =
-                            std_cxx11::shared_ptr<const CommunicationPatternBase> ());
+                          std::shared_ptr<const CommunicationPatternBase> communication_pattern =
+                            std::shared_ptr<const CommunicationPatternBase> ());
 
       /**
        * Multiply the entire vector by a fixed factor.
@@ -296,7 +295,7 @@ namespace LinearAlgebra
       /**
        * Pointer to the actual Epetra vector object.
        */
-      std_cxx11::shared_ptr<Epetra_FEVector> vector;
+      std::shared_ptr<Epetra_FEVector> vector;
 
       /**
        * IndexSet of the elements of the last imported vector.
@@ -307,7 +306,7 @@ namespace LinearAlgebra
        * CommunicationPattern for the communication between the
        * source_stored_elements IndexSet and the current vector.
        */
-      std_cxx11::shared_ptr<const CommunicationPattern> epetra_comm_pattern;
+      std::shared_ptr<const CommunicationPattern> epetra_comm_pattern;
     };
   }
 }
index 94d6b3f97f8d65b2cc2a1213e21b80720422ff63..d6b70df82a6ff40fd454a46fb2ec641268eb5302 100644 (file)
 #ifdef DEAL_II_WITH_TRILINOS
 
 #  include <deal.II/base/subscriptor.h>
-#  include <deal.II/base/std_cxx11/shared_ptr.h>
 
 #  include <deal.II/lac/trilinos_vector_base.h>
 #  include <deal.II/lac/la_parallel_vector.h>
 
+#  include <memory>
+
 DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #  ifdef DEAL_II_WITH_MPI
 #    include <Epetra_MpiComm.h>
@@ -224,7 +225,7 @@ namespace TrilinosWrappers
      * This is a pointer to the preconditioner object that is used when
      * applying the preconditioner.
      */
-    std_cxx11::shared_ptr<Epetra_Operator> preconditioner;
+    std::shared_ptr<Epetra_Operator> preconditioner;
 
     /**
      * Internal communication pattern in case the matrix needs to be copied
@@ -240,7 +241,7 @@ namespace TrilinosWrappers
      * Internal Trilinos map in case the matrix needs to be copied from
      * deal.II format.
      */
-    std_cxx11::shared_ptr<Epetra_Map>   vector_distributor;
+    std::shared_ptr<Epetra_Map>   vector_distributor;
   };
 
 
@@ -1604,7 +1605,7 @@ namespace TrilinosWrappers
     /**
      * A copy of the deal.II matrix into Trilinos format.
      */
-    std_cxx11::shared_ptr<SparseMatrix> trilinos_matrix;
+    std::shared_ptr<SparseMatrix> trilinos_matrix;
   };
 
 
@@ -1839,7 +1840,7 @@ namespace TrilinosWrappers
     /**
      * A copy of the deal.II matrix into Trilinos format.
      */
-    std_cxx11::shared_ptr<SparseMatrix> trilinos_matrix;
+    std::shared_ptr<SparseMatrix> trilinos_matrix;
   };
 #endif
 
index b846247506a04bae729f0e63d90943d404dc2896..1375034e8a81ce0a4d3325b6f67d7c0dbb7494e3 100644 (file)
 
 #ifdef DEAL_II_WITH_TRILINOS
 
-#  include <deal.II/base/std_cxx11/shared_ptr.h>
 #  include <deal.II/lac/exceptions.h>
 #  include <deal.II/lac/solver_control.h>
 #  include <deal.II/lac/vector.h>
 #  include <deal.II/lac/la_parallel_vector.h>
 
+#  include <memory>
+
 DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #  include <Epetra_LinearProblem.h>
 #  include <AztecOO.h>
@@ -321,13 +322,13 @@ namespace TrilinosWrappers
      * side vector and the solution vector, which is passed down to the
      * Trilinos solver.
      */
-    std_cxx11::shared_ptr<Epetra_LinearProblem> linear_problem;
+    std::shared_ptr<Epetra_LinearProblem> linear_problem;
 
     /**
      * A structure that contains a Trilinos object that can query the linear
      * solver and determine whether the convergence criterion have been met.
      */
-    std_cxx11::shared_ptr<AztecOO_StatusTest> status_test;
+    std::shared_ptr<AztecOO_StatusTest> status_test;
 
     /**
      * A structure that contains the Trilinos solver and preconditioner
@@ -745,13 +746,13 @@ namespace TrilinosWrappers
      * side vector and the solution vector, which is passed down to the
      * Trilinos solver.
      */
-    std_cxx11::shared_ptr<Epetra_LinearProblem> linear_problem;
+    std::shared_ptr<Epetra_LinearProblem> linear_problem;
 
     /**
      * A structure that contains the Trilinos solver and preconditioner
      * objects.
      */
-    std_cxx11::shared_ptr<Amesos_BaseSolver> solver;
+    std::shared_ptr<Amesos_BaseSolver> solver;
 
     /**
      * Store a copy of the flags for this particular solver.
index bb93520f69a8fdac407f314b3e4f8830fec5971f..51e9162848a6f31ba530aaf7d8a9a0ecfb2802bb 100644 (file)
@@ -21,7 +21,6 @@
 
 #ifdef DEAL_II_WITH_TRILINOS
 
-#  include <deal.II/base/std_cxx11/shared_ptr.h>
 #  include <deal.II/base/subscriptor.h>
 #  include <deal.II/base/index_set.h>
 #  include <deal.II/lac/full_matrix.h>
@@ -172,12 +171,12 @@ namespace TrilinosWrappers
        * performance, we keep a shared pointer to these entries so that more
        * than one accessor can access this data if necessary.
        */
-      std_cxx11::shared_ptr<std::vector<size_type> > colnum_cache;
+      std::shared_ptr<std::vector<size_type> > colnum_cache;
 
       /**
        * Cache for the values of this row.
        */
-      std_cxx11::shared_ptr<std::vector<TrilinosScalar> > value_cache;
+      std::shared_ptr<std::vector<TrilinosScalar> > value_cache;
     };
 
     /**
@@ -2000,26 +1999,26 @@ namespace TrilinosWrappers
      * Pointer to the user-supplied Epetra Trilinos mapping of the matrix
      * columns that assigns parts of the matrix to the individual processes.
      */
-    std_cxx11::shared_ptr<Epetra_Map> column_space_map;
+    std::shared_ptr<Epetra_Map> column_space_map;
 
     /**
      * A sparse matrix object in Trilinos to be used for finite element based
      * problems which allows for assembling into non-local elements.  The
      * actual type, a sparse matrix, is set in the constructor.
      */
-    std_cxx11::shared_ptr<Epetra_FECrsMatrix> matrix;
+    std::shared_ptr<Epetra_FECrsMatrix> matrix;
 
     /**
      * A sparse matrix object in Trilinos to be used for collecting the non-
      * local elements if the matrix was constructed from a Trilinos sparsity
      * pattern with the respective option.
      */
-    std_cxx11::shared_ptr<Epetra_CrsMatrix> nonlocal_matrix;
+    std::shared_ptr<Epetra_CrsMatrix> nonlocal_matrix;
 
     /**
      * An export object used to communicate the nonlocal matrix.
      */
-    std_cxx11::shared_ptr<Epetra_Export>    nonlocal_matrix_exporter;
+    std::shared_ptr<Epetra_Export>    nonlocal_matrix_exporter;
 
     /**
      * Trilinos doesn't allow to mix additions to matrix entries and
index f314a7c77e0a9ecbbad24a15f5e02615dc1edecb..5230b2e7439eb52cd329f64cead73967f2cbd7bc 100644 (file)
@@ -29,7 +29,6 @@
 #  include <cmath>
 #  include <memory>
 
-#  include <deal.II/base/std_cxx11/shared_ptr.h>
 
 DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #  include <Epetra_FECrsGraph.h>
@@ -146,7 +145,7 @@ namespace TrilinosWrappers
        * performance, we keep a shared pointer to these entries so that more
        * than one accessor can access this data if necessary.
        */
-      std_cxx11::shared_ptr<const std::vector<size_type> > colnum_cache;
+      std::shared_ptr<const std::vector<size_type> > colnum_cache;
 
       /**
        * Discard the old row caches (they may still be used by other
@@ -1143,14 +1142,14 @@ namespace TrilinosWrappers
      * Pointer to the user-supplied Epetra Trilinos mapping of the matrix
      * columns that assigns parts of the matrix to the individual processes.
      */
-    std_cxx11::shared_ptr<Epetra_Map> column_space_map;
+    std::shared_ptr<Epetra_Map> column_space_map;
 
     /**
      * A sparsity pattern object in Trilinos to be used for finite element
      * based problems which allows for adding non-local elements to the
      * pattern.
      */
-    std_cxx11::shared_ptr<Epetra_FECrsGraph> graph;
+    std::shared_ptr<Epetra_FECrsGraph> graph;
 
     /**
      * A sparsity pattern object for the non-local part of the sparsity
@@ -1158,7 +1157,7 @@ namespace TrilinosWrappers
      * when the particular constructor or reinit method with writable_rows
      * argument is set
      */
-    std_cxx11::shared_ptr<Epetra_CrsGraph> nonlocal_graph;
+    std::shared_ptr<Epetra_CrsGraph> nonlocal_graph;
 
     friend class TrilinosWrappers::SparseMatrix;
     friend class SparsityPatternIterators::Accessor;
index 1c6a99bd5cf0d551bbd3738d90c8883469b5596d..c60cec7aed37149aac3bb8200d91f0fed0098795 100644 (file)
@@ -21,7 +21,6 @@
 
 #ifdef DEAL_II_WITH_TRILINOS
 
-#  include <deal.II/base/std_cxx11/shared_ptr.h>
 #  include <deal.II/base/subscriptor.h>
 #  include <deal.II/base/index_set.h>
 #  include <deal.II/base/utilities.h>
@@ -35,6 +34,8 @@ DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #  include "Epetra_LocalMap.h"
 DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
+#include <memory>
+
 DEAL_II_NAMESPACE_OPEN
 
 
@@ -1094,7 +1095,7 @@ namespace internal
  * @author Uwe Koecher, 2017
  */
 template <>
-struct is_serial_vector< TrilinosWrappers::Vector > : std_cxx11::true_type
+struct is_serial_vector< TrilinosWrappers::Vector > : std::true_type
 {
 };
 
@@ -1105,7 +1106,7 @@ struct is_serial_vector< TrilinosWrappers::Vector > : std_cxx11::true_type
  * @author Uwe Koecher, 2017
  */
 template <>
-struct is_serial_vector< TrilinosWrappers::MPI::Vector > : std_cxx11::false_type
+struct is_serial_vector< TrilinosWrappers::MPI::Vector > : std::false_type
 {
 };
 
index 9009682b2b8b9f4bb7b707b1dbfa592f0ec9371e..d0472a32e04be464d0e359b2e6157daaa810f9cc 100644 (file)
@@ -22,7 +22,6 @@
 #ifdef DEAL_II_WITH_TRILINOS
 
 #include <deal.II/base/utilities.h>
-#  include <deal.II/base/std_cxx11/shared_ptr.h>
 #  include <deal.II/base/subscriptor.h>
 #  include <deal.II/lac/exceptions.h>
 #  include <deal.II/lac/vector.h>
@@ -934,14 +933,14 @@ namespace TrilinosWrappers
      * that is in fact distributed among multiple processors. The object
      * requires an existing Epetra_Map for storing data when setting it up.
      */
-    std_cxx11::shared_ptr<Epetra_FEVector> vector;
+    std::shared_ptr<Epetra_FEVector> vector;
 
     /**
      * A vector object in Trilinos to be used for collecting the non-local
      * elements if the vector was constructed with an additional IndexSet
      * describing ghost elements.
      */
-    std_cxx11::shared_ptr<Epetra_MultiVector> nonlocal_vector;
+    std::shared_ptr<Epetra_MultiVector> nonlocal_vector;
 
     /**
      * An IndexSet storing the indices this vector owns exclusively.
index 4c63d2aa680940b147bb32c06efc262b2a35f21c..6798ecc4600bb29f8bf981fc81a8c47a683c7255 100644 (file)
@@ -1013,7 +1013,7 @@ protected:
    * For parallel loops with TBB, this member variable stores the affinity
    * information of loops.
    */
-  mutable std_cxx11::shared_ptr<parallel::internal::TBBPartitioner> thread_loop_partitioner;
+  mutable std::shared_ptr<parallel::internal::TBBPartitioner> thread_loop_partitioner;
 
   /**
    * Make all other vector types friends.
@@ -1440,7 +1440,7 @@ operator << (LogStream &os, const Vector<number> &v)
  * @author Uwe Koecher, 2017
  */
 template <typename Number>
-struct is_serial_vector< Vector<Number> > : std_cxx11::true_type
+struct is_serial_vector< Vector<Number> > : std::true_type
 {
 };
 
index 991e1cf1ff32994767913ba0a7425aeb8030c712..08370b0db84bf8af8467d851d139022e9eb8d2c0 100644 (file)
@@ -161,7 +161,7 @@ namespace internal
     void parallel_for(Functor &functor,
                       size_type start,
                       size_type end,
-                      std_cxx11::shared_ptr<parallel::internal::TBBPartitioner> &partitioner)
+                      std::shared_ptr<parallel::internal::TBBPartitioner> &partitioner)
     {
 #ifdef DEAL_II_WITH_THREADS
       size_type vec_size = end-start;
@@ -173,7 +173,7 @@ namespace internal
           Assert(partitioner.get() != NULL,
                  ExcInternalError("Unexpected initialization of Vector that does "
                                   "not set the TBB partitioner to a usable state."));
-          std_cxx11::shared_ptr<tbb::affinity_partitioner> tbb_partitioner =
+          std::shared_ptr<tbb::affinity_partitioner> tbb_partitioner =
             partitioner->acquire_one_partitioner();
 
           TBBForFunctor<Functor> generic_functor(functor, start, end);
@@ -1255,7 +1255,7 @@ namespace internal
                           const size_type    start,
                           const size_type    end,
                           ResultType        &result,
-                          std_cxx11::shared_ptr<parallel::internal::TBBPartitioner> &partitioner)
+                          std::shared_ptr<parallel::internal::TBBPartitioner> &partitioner)
     {
 #ifdef DEAL_II_WITH_THREADS
       size_type vec_size = end-start;
@@ -1267,7 +1267,7 @@ namespace internal
           Assert(partitioner.get() != NULL,
                  ExcInternalError("Unexpected initialization of Vector that does "
                                   "not set the TBB partitioner to a usable state."));
-          std_cxx11::shared_ptr<tbb::affinity_partitioner> tbb_partitioner =
+          std::shared_ptr<tbb::affinity_partitioner> tbb_partitioner =
             partitioner->acquire_one_partitioner();
 
           TBBReduceFunctor<Operation,ResultType> generic_functor(op, start, end);
index b7158fa4128c64b79c02fa5b2a63db3516b73290..ee966cc76da5ef90caf0d2c9f1be3d4f5a2a4445 100644 (file)
 
 #include <deal.II/base/config.h>
 #include <deal.II/base/numbers.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/lac/vector.h>
 
+#include <memory>
+
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -85,8 +86,8 @@ namespace LinearAlgebra
      */
     virtual void import(const ReadWriteVector<Number> &V,
                         VectorOperation::values operation,
-                        std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern =
-                          std_cxx11::shared_ptr<const CommunicationPatternBase> ()) = 0;
+                        std::shared_ptr<const CommunicationPatternBase> communication_pattern =
+                          std::shared_ptr<const CommunicationPatternBase> ()) = 0;
 
     /**
      * Return the scalar product of two vectors.
index db8a45fbe92c20e1737b5207c90f427b73fc2983..18a455a1449a65336ac4b30a381353f8733cdc95 100644 (file)
@@ -16,7 +16,9 @@
 #ifndef dealii__vector_type_traits_h
 #define dealii__vector_type_traits_h
 
-#include <deal.II/base/std_cxx11/type_traits.h>
+#include <deal.II/base/config.h>
+
+#include <type_traits>
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -29,12 +31,12 @@ DEAL_II_NAMESPACE_OPEN
  * The specialization
  * @code
  *   template <>
- *   struct is_serial_vector< VectorType > : std_cxx11::true_type {};
+ *   struct is_serial_vector< VectorType > : std::true_type {};
  * @endcode
  * for a serial vector type, respectively,
  * @code
  *   template <>
- *   struct is_serial_vector< VectorType > : std_cxx11::false_type {};
+ *   struct is_serial_vector< VectorType > : std::false_type {};
  * @endcode
  * for a vector type with support of distributed storage,
  * must be done in a header file of a vector declaration.
index 8d8e411ab4ef40c5d89a44d48bf8cb363d6020a5..0ce8303d50767509e142f9da7dbca7ed3f588a37 100644 (file)
@@ -26,8 +26,7 @@
 #include <deal.II/dofs/dof_handler.h>
 #include <deal.II/matrix_free/helper_functions.h>
 
-#include <deal.II/base/std_cxx11/array.h>
-
+#include <array>
 #include <memory>
 
 
@@ -307,7 +306,7 @@ namespace internal
        * certain structure in the indices, like indices for vector-valued
        * problems or for cells where not all vector components are filled.
        */
-      std::vector<std_cxx11::array<unsigned int, 3> > row_starts;
+      std::vector<std::array<unsigned int, 3> > row_starts;
 
       /**
        * Stores the indices of the degrees of freedom for each cell. These
@@ -343,7 +342,7 @@ namespace internal
        * in the vector, and also includes how the ghosts look like. This
        * enables initialization of vectors based on the DoFInfo field.
        */
-      std_cxx11::shared_ptr<const Utilities::MPI::Partitioner> vector_partitioner;
+      std::shared_ptr<const Utilities::MPI::Partitioner> vector_partitioner;
 
       /**
        * This stores a (sorted) list of all locally owned degrees of freedom
index 887f3b50012d0838b8f71d1602ca44981dc2a478..b1abd0d1c02c921e065e083bf9f7c2ef8b6bfe0b 100644 (file)
@@ -611,7 +611,7 @@ no_constraint:
           std::swap (new_active_fe_index, cell_active_fe_index);
         }
 
-      std::vector<std_cxx11::array<unsigned int, 3> > new_row_starts;
+      std::vector<std::array<unsigned int, 3> > new_row_starts;
       std::vector<unsigned int> new_dof_indices;
       std::vector<std::pair<unsigned short,unsigned short> >
       new_constraint_indicator;
@@ -1926,7 +1926,7 @@ not_connect:
     DoFInfo::memory_consumption () const
     {
       std::size_t memory = sizeof(*this);
-      memory += (row_starts.capacity()*sizeof(std_cxx11::array<unsigned int,3>));
+      memory += (row_starts.capacity()*sizeof(std::array<unsigned int,3>));
       memory += MemoryConsumption::memory_consumption (dof_indices);
       memory += MemoryConsumption::memory_consumption (row_starts_plain_indices);
       memory += MemoryConsumption::memory_consumption (plain_dof_indices);
@@ -1944,7 +1944,7 @@ not_connect:
     {
       out << "       Memory row starts indices:    ";
       size_info.print_memory_statistics
-      (out, (row_starts.capacity()*sizeof(std_cxx11::array<unsigned int, 3>)));
+      (out, (row_starts.capacity()*sizeof(std::array<unsigned int, 3>)));
       out << "       Memory dof indices:           ";
       size_info.print_memory_statistics
       (out, MemoryConsumption::memory_consumption (dof_indices));
index ea77ffa1486c2528da196602afc51664b1fa7c58..a239c1f43b3562677e9a74e8a16bcb88e4a150f2 100644 (file)
@@ -874,7 +874,7 @@ protected:
    * Geometry data that can be generated FEValues on the fly with the
    * respective constructor.
    */
-  std_cxx1x::shared_ptr<internal::MatrixFreeFunctions::MappingDataOnTheFly<dim,Number> > mapped_geometry;
+  std::shared_ptr<internal::MatrixFreeFunctions::MappingDataOnTheFly<dim,Number> > mapped_geometry;
 
   /**
    * For use with on-the-fly evaluation, provide a data structure to store the
index 73024233a63ab4a87bbf334d773b0700f7113bec..6e32bb1c460b0a45b6dfeca9f8b6b1c4e5a64efb 100644 (file)
@@ -242,7 +242,7 @@ namespace internal
           // hp::DoFHandler<dim>::active_cell_iterator, we need to manually
           // select the correct finite element, so just hold a vector of
           // FEValues
-          std::vector<std_cxx11::shared_ptr<dealii::FEValues<dim> > >
+          std::vector<std::shared_ptr<dealii::FEValues<dim> > >
           fe_values (current_data.quadrature.size());
           UpdateFlags update_flags_feval =
             ((update_flags & update_inverse_jacobians) ? update_jacobians : update_default) |
index 3d584692993de9ac05e00fc5ae3bac2c97e832a6..f7dea7f1217b8f0e628c28eae2a06fbe413a5849 100644 (file)
@@ -490,11 +490,11 @@ public:
    * to the function object.
    */
   template <typename OutVector, typename InVector>
-  void cell_loop (const std_cxx11::function<void (const MatrixFree<dim,Number> &,
-                                                  OutVector &,
-                                                  const InVector &,
-                                                  const std::pair<unsigned int,
-                                                  unsigned int> &)> &cell_operation,
+  void cell_loop (const std::function<void (const MatrixFree<dim,Number> &,
+                                            OutVector &,
+                                            const InVector &,
+                                            const std::pair<unsigned int,
+                                            unsigned int> &)> &cell_operation,
                   OutVector      &dst,
                   const InVector &src) const;
 
@@ -503,7 +503,7 @@ public:
    * a function pointer to a member function of class @p CLASS with the
    * signature <code>cell_operation (const MatrixFree<dim,Number> &, OutVector
    * &, InVector &, std::pair<unsigned int,unsigned int>&)const</code>. This
-   * method obviates the need to call std_cxx11::bind to bind the class into
+   * method obviates the need to call std::bind to bind the class into
    * the given function in case the local function needs to access data in the
    * class (i.e., it is a non-static member function).
    */
@@ -617,7 +617,7 @@ public:
    * usually prefer this data structure as the data exchange information can
    * be reused from one vector to another.
    */
-  const std_cxx11::shared_ptr<const Utilities::MPI::Partitioner> &
+  const std::shared_ptr<const Utilities::MPI::Partitioner> &
   get_vector_partitioner (const unsigned int vector_component=0) const;
 
   /**
@@ -1097,7 +1097,7 @@ MatrixFree<dim,Number>::initialize_dof_vector(LinearAlgebra::distributed::Vector
 
 template <int dim, typename Number>
 inline
-const std_cxx11::shared_ptr<const Utilities::MPI::Partitioner> &
+const std::shared_ptr<const Utilities::MPI::Partitioner> &
 MatrixFree<dim,Number>::get_vector_partitioner (const unsigned int comp) const
 {
   AssertIndexRange (comp, n_components());
@@ -2386,11 +2386,11 @@ template <typename OutVector, typename InVector>
 inline
 void
 MatrixFree<dim, Number>::cell_loop
-(const std_cxx11::function<void (const MatrixFree<dim,Number> &,
-                                 OutVector &,
-                                 const InVector &,
-                                 const std::pair<unsigned int,
-                                 unsigned int> &)> &cell_operation,
+(const std::function<void (const MatrixFree<dim,Number> &,
+                           OutVector &,
+                           const InVector &,
+                           const std::pair<unsigned int,
+                           unsigned int> &)> &cell_operation,
  OutVector       &dst,
  const InVector  &src) const
 {
@@ -2406,14 +2406,14 @@ MatrixFree<dim, Number>::cell_loop
       // to simplify the function calls, bind away all arguments except the
       // cell range
       typedef
-      std_cxx11::function<void (const std::pair<unsigned int,unsigned int> &range)>
+      std::function<void (const std::pair<unsigned int,unsigned int> &range)>
       Worker;
 
-      const Worker func = std_cxx11::bind (std_cxx11::ref(cell_operation),
-                                           std_cxx11::cref(*this),
-                                           std_cxx11::ref(dst),
-                                           std_cxx11::cref(src),
-                                           std_cxx11::_1);
+      const Worker func = std::bind (std::ref(cell_operation),
+                                     std::cref(*this),
+                                     std::ref(dst),
+                                     std::cref(src),
+                                     std::placeholders::_1);
 
       if (task_info.use_partition_partition == true)
         {
@@ -2681,19 +2681,19 @@ MatrixFree<dim,Number>::cell_loop
  OutVector      &dst,
  const InVector &src) const
 {
-  // here, use std_cxx11::bind to hand a function handler with the appropriate
+  // here, use std::bind to hand a function handler with the appropriate
   // argument to the other loop function
-  std_cxx11::function<void (const MatrixFree<dim,Number> &,
-                            OutVector &,
-                            const InVector &,
-                            const std::pair<unsigned int,
-                            unsigned int> &)>
-  function = std_cxx11::bind<void>(function_pointer,
-                                   owning_class,
-                                   std_cxx11::_1,
-                                   std_cxx11::_2,
-                                   std_cxx11::_3,
-                                   std_cxx11::_4);
+  std::function<void (const MatrixFree<dim,Number> &,
+                      OutVector &,
+                      const InVector &,
+                      const std::pair<unsigned int,
+                      unsigned int> &)>
+  function = std::bind<void>(function_pointer,
+                             owning_class,
+                             std::placeholders::_1,
+                             std::placeholders::_2,
+                             std::placeholders::_3,
+                             std::placeholders::_4);
   cell_loop (function, dst, src);
 }
 
@@ -2713,19 +2713,19 @@ MatrixFree<dim,Number>::cell_loop
  OutVector      &dst,
  const InVector &src) const
 {
-  // here, use std_cxx11::bind to hand a function handler with the appropriate
+  // here, use std::bind to hand a function handler with the appropriate
   // argument to the other loop function
-  std_cxx11::function<void (const MatrixFree<dim,Number> &,
-                            OutVector &,
-                            const InVector &,
-                            const std::pair<unsigned int,
-                            unsigned int> &)>
-  function = std_cxx11::bind<void>(function_pointer,
-                                   owning_class,
-                                   std_cxx11::_1,
-                                   std_cxx11::_2,
-                                   std_cxx11::_3,
-                                   std_cxx11::_4);
+  std::function<void (const MatrixFree<dim,Number> &,
+                      OutVector &,
+                      const InVector &,
+                      const std::pair<unsigned int,
+                      unsigned int> &)>
+  function = std::bind<void>(function_pointer,
+                             owning_class,
+                             std::placeholders::_1,
+                             std::placeholders::_2,
+                             std::placeholders::_3,
+                             std::placeholders::_4);
   cell_loop (function, dst, src);
 }
 
index f14bc021ba123ce4f5fc345e740c478cb1e16e95..d8e6ccf46da4b8bd054fb0695846b44d9282df71 100644 (file)
@@ -41,7 +41,7 @@ namespace MatrixFreeOperators
     // workaroud for unifying non-block vector and block vector implementations
     // a non-block vector has one block and the only subblock is the vector itself
     template <typename VectorType>
-    typename std_cxx11::enable_if<IsBlockVector<VectorType>::value,
+    typename std::enable_if<IsBlockVector<VectorType>::value,
              unsigned int>::type
              n_blocks(const VectorType &vector)
     {
@@ -49,7 +49,7 @@ namespace MatrixFreeOperators
     }
 
     template <typename VectorType>
-    typename std_cxx11::enable_if<!IsBlockVector<VectorType>::value,
+    typename std::enable_if<!IsBlockVector<VectorType>::value,
              unsigned int>::type
              n_blocks(const VectorType &)
     {
@@ -57,7 +57,7 @@ namespace MatrixFreeOperators
     }
 
     template <typename VectorType>
-    typename std_cxx11::enable_if<IsBlockVector<VectorType>::value,
+    typename std::enable_if<IsBlockVector<VectorType>::value,
              typename VectorType::BlockType &>::type
              subblock(VectorType &vector, unsigned int block_no)
     {
@@ -65,7 +65,7 @@ namespace MatrixFreeOperators
     }
 
     template <typename VectorType>
-    typename std_cxx11::enable_if<IsBlockVector<VectorType>::value,
+    typename std::enable_if<IsBlockVector<VectorType>::value,
              const typename VectorType::BlockType &>::type
              subblock(const VectorType &vector, unsigned int block_no)
     {
@@ -74,7 +74,7 @@ namespace MatrixFreeOperators
     }
 
     template <typename VectorType>
-    typename std_cxx11::enable_if<!IsBlockVector<VectorType>::value,
+    typename std::enable_if<!IsBlockVector<VectorType>::value,
              VectorType &>::type
              subblock(VectorType &vector, unsigned int)
     {
@@ -82,7 +82,7 @@ namespace MatrixFreeOperators
     }
 
     template <typename VectorType>
-    typename std_cxx11::enable_if<!IsBlockVector<VectorType>::value,
+    typename std::enable_if<!IsBlockVector<VectorType>::value,
              const VectorType &>::type
              subblock(const VectorType &vector, unsigned int)
     {
@@ -90,7 +90,7 @@ namespace MatrixFreeOperators
     }
 
     template <typename VectorType>
-    typename std_cxx11::enable_if<IsBlockVector<VectorType>::value,
+    typename std::enable_if<IsBlockVector<VectorType>::value,
              void>::type
              collect_sizes(VectorType &vector)
     {
@@ -98,7 +98,7 @@ namespace MatrixFreeOperators
     }
 
     template <typename VectorType>
-    typename std_cxx11::enable_if<!IsBlockVector<VectorType>::value,
+    typename std::enable_if<!IsBlockVector<VectorType>::value,
              void>::type
              collect_sizes(const VectorType &)
     {}
@@ -206,7 +206,7 @@ namespace MatrixFreeOperators
      * column selection vector is empty, it is taken the same as the row
      * selection, defining a diagonal block.
      */
-    void initialize (std_cxx11::shared_ptr<const MatrixFree<dim,value_type> > data,
+    void initialize (std::shared_ptr<const MatrixFree<dim,value_type> > data,
                      const std::vector<unsigned int> &selected_row_blocks = std::vector<unsigned int>(),
                      const std::vector<unsigned int> &selected_column_blocks = std::vector<unsigned int>());
 
@@ -223,7 +223,7 @@ namespace MatrixFreeOperators
      * columns is used as opposed to the non-level initialization function. If
      * empty, all components are selected.
      */
-    void initialize (std_cxx11::shared_ptr<const MatrixFree<dim,value_type> > data,
+    void initialize (std::shared_ptr<const MatrixFree<dim,value_type> > data,
                      const MGConstrainedDoFs &mg_constrained_dofs,
                      const unsigned int level,
                      const std::vector<unsigned int> &selected_row_blocks = std::vector<unsigned int>());
@@ -243,7 +243,7 @@ namespace MatrixFreeOperators
      * empty, all components are selected.
      */
     void
-    initialize(std_cxx11::shared_ptr<const MatrixFree<dim, value_type> > data_,
+    initialize(std::shared_ptr<const MatrixFree<dim, value_type> > data_,
                const std::vector<MGConstrainedDoFs> &mg_constrained_dofs,
                const unsigned int level,
                const std::vector<unsigned int> &selected_row_blocks = std::vector<unsigned int>());
@@ -322,13 +322,13 @@ namespace MatrixFreeOperators
     /**
      * Get read access to the MatrixFree object stored with this operator.
      */
-    std_cxx11::shared_ptr<const MatrixFree<dim,value_type> >
+    std::shared_ptr<const MatrixFree<dim,value_type> >
     get_matrix_free () const;
 
     /**
      * Get read access to the inverse diagonal of this operator.
      */
-    const std_cxx11::shared_ptr<DiagonalMatrix<VectorType> > &
+    const std::shared_ptr<DiagonalMatrix<VectorType> > &
     get_matrix_diagonal_inverse() const;
 
     /**
@@ -365,13 +365,13 @@ namespace MatrixFreeOperators
     /**
      * MatrixFree object to be used with this operator.
      */
-    std_cxx11::shared_ptr<const MatrixFree<dim,value_type> > data;
+    std::shared_ptr<const MatrixFree<dim,value_type> > data;
 
     /**
      * A shared pointer to a diagonal matrix that stores the inverse of
      * diagonal elements as a vector.
      */
-    std_cxx11::shared_ptr<DiagonalMatrix<VectorType > > inverse_diagonal_entries;
+    std::shared_ptr<DiagonalMatrix<VectorType > > inverse_diagonal_entries;
 
     /**
      * A vector which defines the selection of sub-components of MatrixFree
@@ -675,8 +675,8 @@ namespace MatrixFreeOperators
      *
      * Such tables can be initialized by
      * @code
-     * std_cxx11::shared_ptr<Table<2, VectorizedArray<double> > > coefficient;
-     * coefficient = std_cxx11::make_shared<Table<2, VectorizedArray<double> > >();
+     * std::shared_ptr<Table<2, VectorizedArray<double> > > coefficient;
+     * coefficient = std::make_shared<Table<2, VectorizedArray<double> > >();
      * {
      *   FEEvaluation<dim,fe_degree,n_q_points_1d,1,double> fe_eval(mf_data);
      *   const unsigned int n_cells = mf_data.n_macro_cells();
@@ -705,7 +705,7 @@ namespace MatrixFreeOperators
      * of scope in user code and the clear() command or destructor of this class
      * will delete the table.
      */
-    void set_coefficient(const std_cxx11::shared_ptr<Table<2, VectorizedArray<value_type> > > &scalar_coefficient );
+    void set_coefficient(const std::shared_ptr<Table<2, VectorizedArray<value_type> > > &scalar_coefficient );
 
     virtual void clear();
 
@@ -715,7 +715,7 @@ namespace MatrixFreeOperators
      * The function will throw an error if coefficients are not previously set
      * by set_coefficient() function.
      */
-    std_cxx11::shared_ptr< Table<2, VectorizedArray<value_type> > > get_coefficient();
+    std::shared_ptr< Table<2, VectorizedArray<value_type> > > get_coefficient();
 
   private:
     /**
@@ -751,7 +751,7 @@ namespace MatrixFreeOperators
     /**
      * User-provided heterogeneity coefficient.
      */
-    std_cxx11::shared_ptr< Table<2, VectorizedArray<value_type> > > scalar_coefficient;
+    std::shared_ptr< Table<2, VectorizedArray<value_type> > > scalar_coefficient;
   };
 
 
@@ -967,7 +967,7 @@ namespace MatrixFreeOperators
   template <int dim, typename VectorType>
   void
   Base<dim,VectorType>::
-  initialize (std_cxx11::shared_ptr<const MatrixFree<dim,typename Base<dim,VectorType>::value_type> > data_,
+  initialize (std::shared_ptr<const MatrixFree<dim,typename Base<dim,VectorType>::value_type> > data_,
               const std::vector<unsigned int> &given_row_selection,
               const std::vector<unsigned int> &given_column_selection)
   {
@@ -1019,7 +1019,7 @@ namespace MatrixFreeOperators
   template <int dim, typename VectorType>
   void
   Base<dim,VectorType>::
-  initialize (std_cxx11::shared_ptr<const MatrixFree<dim,typename Base<dim,VectorType>::value_type> > data_,
+  initialize (std::shared_ptr<const MatrixFree<dim,typename Base<dim,VectorType>::value_type> > data_,
               const MGConstrainedDoFs         &mg_constrained_dofs,
               const unsigned int               level,
               const std::vector<unsigned int> &given_row_selection)
@@ -1033,7 +1033,7 @@ namespace MatrixFreeOperators
   template <int dim, typename VectorType>
   void
   Base<dim, VectorType>::
-  initialize (std_cxx11::shared_ptr<const MatrixFree<dim, value_type> > data_,
+  initialize (std::shared_ptr<const MatrixFree<dim, value_type> > data_,
               const std::vector<MGConstrainedDoFs> &mg_constrained_dofs,
               const unsigned int                    level,
               const std::vector<unsigned int>      &given_row_selection)
@@ -1354,7 +1354,7 @@ namespace MatrixFreeOperators
 
 
   template <int dim, typename VectorType>
-  std_cxx11::shared_ptr<const MatrixFree<dim,typename Base<dim,VectorType>::value_type> >
+  std::shared_ptr<const MatrixFree<dim,typename Base<dim,VectorType>::value_type> >
   Base<dim,VectorType>::get_matrix_free() const
   {
     return data;
@@ -1363,7 +1363,7 @@ namespace MatrixFreeOperators
 
 
   template <int dim, typename VectorType>
-  const std_cxx11::shared_ptr<DiagonalMatrix<VectorType> > &
+  const std::shared_ptr<DiagonalMatrix<VectorType> > &
   Base<dim,VectorType>::get_matrix_diagonal_inverse() const
   {
     Assert(inverse_diagonal_entries.get() != NULL &&
@@ -1572,7 +1572,7 @@ namespace MatrixFreeOperators
   template <int dim, int fe_degree, int n_q_points_1d, int n_components, typename VectorType>
   void
   LaplaceOperator<dim, fe_degree, n_q_points_1d, n_components, VectorType>::
-  set_coefficient(const std_cxx11::shared_ptr<Table<2, VectorizedArray<typename Base<dim,VectorType>::value_type> > > &scalar_coefficient_ )
+  set_coefficient(const std::shared_ptr<Table<2, VectorizedArray<typename Base<dim,VectorType>::value_type> > > &scalar_coefficient_ )
   {
     scalar_coefficient = scalar_coefficient_;
   }
@@ -1580,7 +1580,7 @@ namespace MatrixFreeOperators
 
 
   template <int dim, int fe_degree, int n_q_points_1d, int n_components, typename VectorType>
-  std_cxx11::shared_ptr< Table<2, VectorizedArray< typename LaplaceOperator<dim, fe_degree, n_q_points_1d, n_components, VectorType>::value_type> > >
+  std::shared_ptr< Table<2, VectorizedArray< typename LaplaceOperator<dim, fe_degree, n_q_points_1d, n_components, VectorType>::value_type> > >
   LaplaceOperator<dim, fe_degree, n_q_points_1d, n_components, VectorType>::
   get_coefficient()
   {
index 5623816444ae9d480235b0c7ebd9c1f507984960..13021b8aafdd480d076510f4288e3d6840e26f5d 100644 (file)
 
 #include <deal.II/base/config.h>
 #include <deal.II/base/quadrature_lib.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/dofs/block_info.h>
 #include <deal.II/fe/fe_values.h>
 #include <deal.II/meshworker/local_results.h>
 #include <deal.II/meshworker/vector_selector.h>
 
+#include <memory>
+
 DEAL_II_NAMESPACE_OPEN
 
 namespace MeshWorker
index 0953ba69131bb1c0e949ac890975027e173c71c4..2ef065480bb5155689fe9b18777fb8f0707c8275 100644 (file)
 
 #include <deal.II/base/config.h>
 #include <deal.II/base/quadrature_lib.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/dofs/block_info.h>
 #include <deal.II/fe/fe_values.h>
 #include <deal.II/meshworker/local_results.h>
 #include <deal.II/meshworker/dof_info.h>
 #include <deal.II/meshworker/vector_selector.h>
 
+#include <memory>
+
 DEAL_II_NAMESPACE_OPEN
 
 namespace MeshWorker
@@ -74,7 +75,7 @@ namespace MeshWorker
   {
   private:
     /// vector of FEValues objects
-    std::vector<std_cxx11::shared_ptr<FEValuesBase<dim, spacedim> > > fevalv;
+    std::vector<std::shared_ptr<FEValuesBase<dim, spacedim> > > fevalv;
   public:
     static const unsigned int dimension = dim;
     static const unsigned int space_dimension = spacedim;
@@ -117,7 +118,7 @@ namespace MeshWorker
     /**
      * Initialize the data vector and cache the selector.
      */
-    void initialize_data(const std_cxx11::shared_ptr<VectorDataBase<dim,spacedim> > &data);
+    void initialize_data(const std::shared_ptr<VectorDataBase<dim,spacedim> > &data);
 
     /**
      * Delete the data created by initialize().
@@ -194,7 +195,7 @@ namespace MeshWorker
      * The global data vector used to compute function values in quadrature
      * points.
      */
-    std_cxx11::shared_ptr<VectorDataBase<dim, spacedim> > global_data;
+    std::shared_ptr<VectorDataBase<dim, spacedim> > global_data;
 
     /**
      * The memory used by this object.
@@ -474,9 +475,9 @@ namespace MeshWorker
      */
     MeshWorker::VectorSelector face_selector;
 
-    std_cxx11::shared_ptr<MeshWorker::VectorDataBase<dim, spacedim> > cell_data;
-    std_cxx11::shared_ptr<MeshWorker::VectorDataBase<dim, spacedim> > boundary_data;
-    std_cxx11::shared_ptr<MeshWorker::VectorDataBase<dim, spacedim> > face_data;
+    std::shared_ptr<MeshWorker::VectorDataBase<dim, spacedim> > cell_data;
+    std::shared_ptr<MeshWorker::VectorDataBase<dim, spacedim> > boundary_data;
+    std::shared_ptr<MeshWorker::VectorDataBase<dim, spacedim> > face_data;
     /* @} */
 
     /**
@@ -556,7 +557,7 @@ namespace MeshWorker
     :
     fevalv(0),
     multigrid(false),
-    global_data(std_cxx11::shared_ptr<VectorDataBase<dim, sdim> >(new VectorDataBase<dim, sdim>)),
+    global_data(std::shared_ptr<VectorDataBase<dim, sdim> >(new VectorDataBase<dim, sdim>)),
     n_components(numbers::invalid_unsigned_int)
   {}
 
@@ -582,14 +583,14 @@ namespace MeshWorker
         const FESubfaceValues<dim,sdim> *ps = dynamic_cast<const FESubfaceValues<dim,sdim>*>(&p);
 
         if (pc != 0)
-          fevalv[i] = std_cxx11::shared_ptr<FEValuesBase<dim,sdim> > (
+          fevalv[i] = std::shared_ptr<FEValuesBase<dim,sdim> > (
                         new FEValues<dim,sdim> (pc->get_mapping(), pc->get_fe(),
                                                 pc->get_quadrature(), pc->get_update_flags()));
         else if (pf != 0)
-          fevalv[i] = std_cxx11::shared_ptr<FEValuesBase<dim,sdim> > (
+          fevalv[i] = std::shared_ptr<FEValuesBase<dim,sdim> > (
                         new FEFaceValues<dim,sdim> (pf->get_mapping(), pf->get_fe(), pf->get_quadrature(), pf->get_update_flags()));
         else if (ps != 0)
-          fevalv[i] = std_cxx11::shared_ptr<FEValuesBase<dim,sdim> > (
+          fevalv[i] = std::shared_ptr<FEValuesBase<dim,sdim> > (
                         new FESubfaceValues<dim,sdim> (ps->get_mapping(), ps->get_fe(), ps->get_quadrature(), ps->get_update_flags()));
         else
           Assert(false, ExcInternalError());
@@ -612,7 +613,7 @@ namespace MeshWorker
     if (block_info == 0 || block_info->local().size() == 0)
       {
         fevalv.resize(1);
-        fevalv[0] = std_cxx11::shared_ptr<FEValuesBase<dim,sdim> > (
+        fevalv[0] = std::shared_ptr<FEValuesBase<dim,sdim> > (
                       new FEVALUES (mapping, el, quadrature, flags));
       }
     else
@@ -620,7 +621,7 @@ namespace MeshWorker
         fevalv.resize(el.n_base_elements());
         for (unsigned int i=0; i<fevalv.size(); ++i)
           {
-            fevalv[i] = std_cxx11::shared_ptr<FEValuesBase<dim,sdim> > (
+            fevalv[i] = std::shared_ptr<FEValuesBase<dim,sdim> > (
                           new FEVALUES (mapping, el.base_element(i), quadrature, flags));
           }
       }
@@ -784,10 +785,10 @@ namespace MeshWorker
    const BlockInfo               *block_info)
   {
     initialize(el, mapping, block_info);
-    std_cxx11::shared_ptr<VectorData<VectorType, dim, sdim> > p;
+    std::shared_ptr<VectorData<VectorType, dim, sdim> > p;
     VectorDataBase<dim,sdim> *pp;
 
-    p = std_cxx11::shared_ptr<VectorData<VectorType, dim, sdim> >(new VectorData<VectorType, dim, sdim> (cell_selector));
+    p = std::shared_ptr<VectorData<VectorType, dim, sdim> >(new VectorData<VectorType, dim, sdim> (cell_selector));
     // Public member function of parent class was not found without
     // explicit cast
     pp = &*p;
@@ -795,13 +796,13 @@ namespace MeshWorker
     cell_data = p;
     cell.initialize_data(p);
 
-    p = std_cxx11::shared_ptr<VectorData<VectorType, dim, sdim> >(new VectorData<VectorType, dim, sdim> (boundary_selector));
+    p = std::shared_ptr<VectorData<VectorType, dim, sdim> >(new VectorData<VectorType, dim, sdim> (boundary_selector));
     pp = &*p;
     pp->initialize(data);
     boundary_data = p;
     boundary.initialize_data(p);
 
-    p = std_cxx11::shared_ptr<VectorData<VectorType, dim, sdim> >(new VectorData<VectorType, dim, sdim> (face_selector));
+    p = std::shared_ptr<VectorData<VectorType, dim, sdim> >(new VectorData<VectorType, dim, sdim> (face_selector));
     pp = &*p;
     pp->initialize(data);
     face_data = p;
@@ -821,10 +822,10 @@ namespace MeshWorker
    const BlockInfo                 *block_info)
   {
     initialize(el, mapping, block_info);
-    std_cxx11::shared_ptr<MGVectorData<VectorType, dim, sdim> > p;
+    std::shared_ptr<MGVectorData<VectorType, dim, sdim> > p;
     VectorDataBase<dim,sdim> *pp;
 
-    p = std_cxx11::shared_ptr<MGVectorData<VectorType, dim, sdim> >(new MGVectorData<VectorType, dim, sdim> (cell_selector));
+    p = std::shared_ptr<MGVectorData<VectorType, dim, sdim> >(new MGVectorData<VectorType, dim, sdim> (cell_selector));
     // Public member function of parent class was not found without
     // explicit cast
     pp = &*p;
@@ -832,13 +833,13 @@ namespace MeshWorker
     cell_data = p;
     cell.initialize_data(p);
 
-    p = std_cxx11::shared_ptr<MGVectorData<VectorType, dim, sdim> >(new MGVectorData<VectorType, dim, sdim> (boundary_selector));
+    p = std::shared_ptr<MGVectorData<VectorType, dim, sdim> >(new MGVectorData<VectorType, dim, sdim> (boundary_selector));
     pp = &*p;
     pp->initialize(data);
     boundary_data = p;
     boundary.initialize_data(p);
 
-    p = std_cxx11::shared_ptr<MGVectorData<VectorType, dim, sdim> >(new MGVectorData<VectorType, dim, sdim> (face_selector));
+    p = std::shared_ptr<MGVectorData<VectorType, dim, sdim> >(new MGVectorData<VectorType, dim, sdim> (face_selector));
     pp = &*p;
     pp->initialize(data);
     face_data = p;
index 40f18771081e5ff69feac1fce2a9b9389e165d6d..49338483e2c59d85ce3304e1943adb4b7c714798 100644 (file)
@@ -29,7 +29,7 @@ namespace MeshWorker
   template<int dim, int sdim>
   void
   IntegrationInfo<dim,sdim>::initialize_data(
-    const std_cxx11::shared_ptr<VectorDataBase<dim,sdim> > &data)
+    const std::shared_ptr<VectorDataBase<dim,sdim> > &data)
   {
     global_data = data;
     const unsigned int nqp = fevalv[0]->n_quadrature_points;
index fcb0b5a9ee0f3ded7a5ff24f41886df47e3ffabb..0112d8f6e184c9a7c41463a85d1e7a94bb2bee47 100644 (file)
@@ -19,8 +19,8 @@
 
 #include <deal.II/base/config.h>
 #include <deal.II/base/subscriptor.h>
-#include <deal.II/base/std_cxx11/function.h>
 
+#include <functional>
 #include <vector>
 #include <string>
 
index 7242f9845ec830e430ba3f6e5bedb646dfbab3ec..d5c61833db2b37eb2691e670d94ac26b48a7cbeb 100644 (file)
 #define dealii__mesh_worker_local_results_h
 
 #include <deal.II/base/config.h>
-#include <deal.II/base/std_cxx11/function.h>
 #include <deal.II/base/geometry_info.h>
 #include <deal.II/lac/matrix_block.h>
 #include <deal.II/lac/block_vector.h>
 #include <deal.II/meshworker/vector_selector.h>
 
+#include <functional>
+
 DEAL_II_NAMESPACE_OPEN
 
 class BlockIndices;
index f61db468b6302a6a0d8957cad8d9adcb4f42a149..1421f113c51813e0a401efd1e034ee8be0c61ce1 100644 (file)
@@ -18,7 +18,6 @@
 #define dealii__mesh_worker_loop_h
 
 #include <deal.II/base/config.h>
-#include <deal.II/base/std_cxx11/function.h>
 #include <deal.II/base/work_stream.h>
 #include <deal.II/base/template_constraints.h>
 #include <deal.II/grid/tria.h>
@@ -27,6 +26,7 @@
 #include <deal.II/meshworker/dof_info.h>
 #include <deal.II/meshworker/integration_info.h>
 
+#include <functional>
 
 #define DEAL_II_MESHWORKER_PARALLEL 1
 
@@ -176,11 +176,11 @@ namespace MeshWorker
     ITERATOR cell,
     DoFInfoBox<dim, DOFINFO> &dof_info,
     INFOBOX &info,
-    const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
-    const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
-    const std_cxx11::function<void (DOFINFO &, DOFINFO &,
-                                    typename INFOBOX::CellInfo &,
-                                    typename INFOBOX::CellInfo &)> &face_worker,
+    const std::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
+    const std::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
+    const std::function<void (DOFINFO &, DOFINFO &,
+                              typename INFOBOX::CellInfo &,
+                              typename INFOBOX::CellInfo &)> &face_worker,
     const LoopControl &loop_control)
   {
     const bool ignore_subdomain = (cell->get_triangulation().locally_owned_subdomain()
@@ -384,11 +384,11 @@ namespace MeshWorker
             typename identity<ITERATOR>::type end,
             DOFINFO &dinfo,
             INFOBOX &info,
-            const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
-            const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
-            const std_cxx11::function<void (DOFINFO &, DOFINFO &,
-                                            typename INFOBOX::CellInfo &,
-                                            typename INFOBOX::CellInfo &)> &face_worker,
+            const std::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
+            const std::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
+            const std::function<void (DOFINFO &, DOFINFO &,
+                                      typename INFOBOX::CellInfo &,
+                                      typename INFOBOX::CellInfo &)> &face_worker,
             ASSEMBLER &assembler,
             const LoopControl &lctrl = LoopControl())
   {
@@ -404,10 +404,10 @@ namespace MeshWorker
     // Loop over all cells
 #ifdef DEAL_II_MESHWORKER_PARALLEL
     WorkStream::run(begin, end,
-                    std_cxx11::bind(&cell_action<INFOBOX, DOFINFO, dim, spacedim, ITERATOR>,
-                                    std_cxx11::_1, std_cxx11::_3, std_cxx11::_2,
-                                    cell_worker, boundary_worker, face_worker, lctrl),
-                    std_cxx11::bind(&internal::assemble<dim,DOFINFO,ASSEMBLER>, std_cxx11::_1, &assembler),
+                    std::bind(&cell_action<INFOBOX, DOFINFO, dim, spacedim, ITERATOR>,
+                              std::placeholders::_1, std::placeholders::_3, std::placeholders::_2,
+                              cell_worker, boundary_worker, face_worker, lctrl),
+                    std::bind(&internal::assemble<dim,DOFINFO,ASSEMBLER>, std::placeholders::_1, &assembler),
                     info, dof_info);
 #else
     for (ITERATOR cell = begin; cell != end; ++cell)
@@ -438,17 +438,17 @@ namespace MeshWorker
                         ASSEMBLER &assembler,
                         const LoopControl &lctrl = LoopControl())
   {
-    std_cxx11::function<void (DoFInfo<dim>&, IntegrationInfo<dim, spacedim>&)> cell_worker;
-    std_cxx11::function<void (DoFInfo<dim>&, IntegrationInfo<dim, spacedim>&)> boundary_worker;
-    std_cxx11::function<void (DoFInfo<dim> &, DoFInfo<dim> &,
-                              IntegrationInfo<dim, spacedim> &,
-                              IntegrationInfo<dim, spacedim> &)> face_worker;
+    std::function<void (DoFInfo<dim>&, IntegrationInfo<dim, spacedim>&)> cell_worker;
+    std::function<void (DoFInfo<dim>&, IntegrationInfo<dim, spacedim>&)> boundary_worker;
+    std::function<void (DoFInfo<dim> &, DoFInfo<dim> &,
+                        IntegrationInfo<dim, spacedim> &,
+                        IntegrationInfo<dim, spacedim> &)> face_worker;
     if (integrator.use_cell)
-      cell_worker = std_cxx11::bind(&LocalIntegrator<dim, spacedim>::cell, &integrator, std_cxx11::_1, std_cxx11::_2);
+      cell_worker = std::bind(&LocalIntegrator<dim, spacedim>::cell, &integrator, std::placeholders::_1, std::placeholders::_2);
     if (integrator.use_boundary)
-      boundary_worker = std_cxx11::bind(&LocalIntegrator<dim, spacedim>::boundary, &integrator, std_cxx11::_1, std_cxx11::_2);
+      boundary_worker = std::bind(&LocalIntegrator<dim, spacedim>::boundary, &integrator, std::placeholders::_1, std::placeholders::_2);
     if (integrator.use_face)
-      face_worker = std_cxx11::bind(&LocalIntegrator<dim, spacedim>::face, &integrator, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4);
+      face_worker = std::bind(&LocalIntegrator<dim, spacedim>::face, &integrator, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4);
 
     loop<dim, spacedim>
     (begin, end,
index d513186345f2bdbe949c1205226974e69f2dee2b..6c80f425e784939102c9c6efe85418af041cabbb 100644 (file)
@@ -21,7 +21,8 @@
 #include <deal.II/lac/sparse_matrix.h>
 #include <deal.II/multigrid/mg_base.h>
 #include <deal.II/base/mg_level_object.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
+
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -80,7 +81,7 @@ namespace mg
      */
     std::size_t memory_consumption () const;
   private:
-    MGLevelObject<std_cxx11::shared_ptr<PointerMatrixBase<VectorType> > > matrices;
+    MGLevelObject<std::shared_ptr<PointerMatrixBase<VectorType> > > matrices;
   };
 
 }
@@ -178,7 +179,7 @@ namespace mg
   {
     matrices.resize(p.min_level(), p.max_level());
     for (unsigned int level=p.min_level(); level <= p.max_level(); ++level)
-      matrices[level] = std_cxx11::shared_ptr<PointerMatrixBase<VectorType> >
+      matrices[level] = std::shared_ptr<PointerMatrixBase<VectorType> >
                         (new_pointer_matrix_base(p[level], VectorType()));
   }
 
index 9d2c66bbce0b01dd5e4a0c1d99f12b8d147d851d..b102d3fa46dadf8cd21b19aba1ff4d669fc157a6 100644 (file)
@@ -33,7 +33,7 @@
 
 #include <deal.II/dofs/dof_handler.h>
 
-#include <deal.II/base/std_cxx11/shared_ptr.h>
+#include <memory>
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -559,14 +559,14 @@ private:
   /**
    * Sparsity patterns for transfer matrices.
    */
-  std::vector<std_cxx11::shared_ptr<typename internal::MatrixSelector<VectorType>::Sparsity> > prolongation_sparsities;
+  std::vector<std::shared_ptr<typename internal::MatrixSelector<VectorType>::Sparsity> > prolongation_sparsities;
 
   /**
    * The actual prolongation matrix.  column indices belong to the dof indices
    * of the mother cell, i.e. the coarse level.  while row indices belong to
    * the child cell, i.e. the fine level.
    */
-  std::vector<std_cxx11::shared_ptr<typename internal::MatrixSelector<VectorType>::Matrix> > prolongation_matrices;
+  std::vector<std::shared_ptr<typename internal::MatrixSelector<VectorType>::Matrix> > prolongation_matrices;
 
   /**
    * Degrees of freedom on the refinement edge excluding those on the
index c75c9db1df894ade1622f8e05097293114cfd24b..677ed652dfa5786a0c51d0bf3af2571dd55328fd 100644 (file)
@@ -32,7 +32,7 @@
 
 #include <deal.II/dofs/dof_handler.h>
 
-#include <deal.II/base/std_cxx11/shared_ptr.h>
+#include <memory>
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -140,7 +140,7 @@ protected:
   DeclException0(ExcMatricesNotBuilt);
 
 private:
-  std::vector<std_cxx11::shared_ptr<BlockSparsityPattern> >   prolongation_sparsities;
+  std::vector<std::shared_ptr<BlockSparsityPattern> >   prolongation_sparsities;
 
 protected:
 
@@ -149,7 +149,7 @@ protected:
    * of the mother cell, i.e. the coarse level. while row indices belong to
    * the child cell, i.e. the fine level.
    */
-  std::vector<std_cxx11::shared_ptr<BlockSparseMatrix<double> > > prolongation_matrices;
+  std::vector<std::shared_ptr<BlockSparseMatrix<double> > > prolongation_matrices;
 
   /**
    * Mapping for the <tt>copy_to/from_mg</tt>-functions. The indices into this
index 195bfe735f21178d9104bc8119b899102e659624..1360369fcdd83a19ba9f8beb692ad0fc670c3619 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <deal.II/base/config.h>
 
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/lac/block_vector.h>
 #include <deal.II/lac/constraint_matrix.h>
 #include <deal.II/lac/sparsity_pattern.h>
@@ -30,6 +29,8 @@
 #include <deal.II/fe/component_mask.h>
 #include <deal.II/multigrid/mg_base.h>
 
+#include <memory>
+
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -126,7 +127,7 @@ protected:
   DeclException0(ExcMatricesNotBuilt);
 
 private:
-  std::vector<std_cxx11::shared_ptr<BlockSparsityPattern> >   prolongation_sparsities;
+  std::vector<std::shared_ptr<BlockSparsityPattern> >   prolongation_sparsities;
 
 protected:
 
@@ -135,7 +136,7 @@ protected:
    * of the mother cell, i.e. the coarse level. while row indices belong to
    * the child cell, i.e. the fine level.
    */
-  std::vector<std_cxx11::shared_ptr<BlockSparseMatrix<double> > > prolongation_matrices;
+  std::vector<std::shared_ptr<BlockSparseMatrix<double> > > prolongation_matrices;
 
   /**
    * Holds the mapping for the <tt>copy_to/from_mg</tt>-functions. The data is
index 63533b2b40b85fe7a25da75823a019a03c28231f..44302cbfa8d0f4c789a26aa361dc1475ae17231c 100644 (file)
@@ -23,7 +23,8 @@
 #include <deal.II/multigrid/mg_base.h>
 #include <deal.II/multigrid/mg_tools.h>
 #include <deal.II/base/mg_level_object.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
+
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
index 85853f1d7e77d2057dd799f42078f2ebbd89cec4..150e6fe3cbb10dfac1bb9507dedc63af089c4772 100644 (file)
@@ -21,7 +21,7 @@
 #include <deal.II/base/config.h>
 #include <deal.II/numerics/data_out_dof_data.h>
 
-#include <deal.II/base/std_cxx11/shared_ptr.h>
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -41,7 +41,7 @@ namespace internal
                     const unsigned int n_subdivisions,
                     const std::vector<unsigned int> &n_postprocessor_outputs,
                     const Mapping<dim,spacedim> &mapping,
-                    const std::vector<std_cxx11::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
+                    const std::vector<std::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
                     const UpdateFlags update_flags,
                     const std::vector<std::vector<unsigned int> > &cell_to_patch_index_map);
 
index c8c9aec2eeb353d722694110503fc06e2810e64c..04cc5217f57c13f63c74c4d82261001fc81ae9a7 100644 (file)
@@ -31,7 +31,7 @@
 #include <deal.II/numerics/data_postprocessor.h>
 #include <deal.II/numerics/data_component_interpretation.h>
 
-#include <deal.II/base/std_cxx11/shared_ptr.h>
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -326,14 +326,14 @@ namespace internal
                         const unsigned int n_subdivisions,
                         const std::vector<unsigned int> &n_postprocessor_outputs,
                         const Mapping<dim,spacedim> &mapping,
-                        const std::vector<std_cxx11::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
+                        const std::vector<std::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
                         const UpdateFlags update_flags,
                         const bool        use_face_values);
 
       ParallelDataBase (const ParallelDataBase &data);
 
       template <typename DoFHandlerType>
-      void reinit_all_fe_values(std::vector<std_cxx11::shared_ptr<DataEntryBase<DoFHandlerType> > > &dof_data,
+      void reinit_all_fe_values(std::vector<std::shared_ptr<DataEntryBase<DoFHandlerType> > > &dof_data,
                                 const typename dealii::Triangulation<dim,spacedim>::cell_iterator &cell,
                                 const unsigned int face = numbers::invalid_unsigned_int);
 
@@ -350,11 +350,11 @@ namespace internal
       std::vector<std::vector<dealii::Vector<double> > > postprocessed_values;
 
       const dealii::hp::MappingCollection<dim,spacedim> mapping_collection;
-      const std::vector<std_cxx11::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > finite_elements;
+      const std::vector<std::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > finite_elements;
       const UpdateFlags update_flags;
 
-      std::vector<std_cxx11::shared_ptr<dealii::hp::FEValues<dim,spacedim> > > x_fe_values;
-      std::vector<std_cxx11::shared_ptr<dealii::hp::FEFaceValues<dim,spacedim> > > x_fe_face_values;
+      std::vector<std::shared_ptr<dealii::hp::FEValues<dim,spacedim> > > x_fe_values;
+      std::vector<std::shared_ptr<dealii::hp::FEFaceValues<dim,spacedim> > > x_fe_face_values;
     };
   }
 }
@@ -826,12 +826,12 @@ protected:
   /**
    * List of data elements with vectors of values for each degree of freedom.
    */
-  std::vector<std_cxx11::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> > >  dof_data;
+  std::vector<std::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> > >  dof_data;
 
   /**
    * List of data elements with vectors of values for each cell.
    */
-  std::vector<std_cxx11::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> > >  cell_data;
+  std::vector<std::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> > >  cell_data;
 
   /**
    * This is a list of patches that is created each time build_patches() is
@@ -858,7 +858,7 @@ protected:
    * Extracts the finite elements stored in the dof_data object, including a
    * dummy object of FE_DGQ<dim>(0) in case only the triangulation is used.
    */
-  std::vector<std_cxx11::shared_ptr<dealii::hp::FECollection<DoFHandlerType::dimension,DoFHandlerType::space_dimension> > >
+  std::vector<std::shared_ptr<dealii::hp::FECollection<DoFHandlerType::dimension,DoFHandlerType::space_dimension> > >
   get_finite_elements() const;
 
   /**
@@ -866,7 +866,7 @@ protected:
    * function. See there for a more extensive documentation.
    */
   virtual
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> >
   get_vector_data_ranges () const;
 
   /**
@@ -921,16 +921,16 @@ merge_patches (const DataOut_DoFData<DoFHandlerType2,patch_dim,patch_space_dim>
                       "as vectors."));
   for (unsigned int i=0; i<get_vector_data_ranges().size(); ++i)
     {
-      Assert (std_cxx11::get<0>(get_vector_data_ranges()[i]) ==
-              std_cxx11::get<0>(source.get_vector_data_ranges()[i]),
+      Assert (std::get<0>(get_vector_data_ranges()[i]) ==
+              std::get<0>(source.get_vector_data_ranges()[i]),
               ExcMessage ("Both sources need to declare the same components "
                           "as vectors."));
-      Assert (std_cxx11::get<1>(get_vector_data_ranges()[i]) ==
-              std_cxx11::get<1>(source.get_vector_data_ranges()[i]),
+      Assert (std::get<1>(get_vector_data_ranges()[i]) ==
+              std::get<1>(source.get_vector_data_ranges()[i]),
               ExcMessage ("Both sources need to declare the same components "
                           "as vectors."));
-      Assert (std_cxx11::get<2>(get_vector_data_ranges()[i]) ==
-              std_cxx11::get<2>(source.get_vector_data_ranges()[i]),
+      Assert (std::get<2>(get_vector_data_ranges()[i]) ==
+              std::get<2>(source.get_vector_data_ranges()[i]),
               ExcMessage ("Both sources need to declare the same components "
                           "as vectors."));
     }
index b89611b6aef48a1a9ba7d467e3665c86a2584cdb..aa9d376674de80307198324d868ea1f65fd2106a 100644 (file)
@@ -42,7 +42,7 @@ namespace internal
                     const unsigned int n_subdivisions,
                     const std::vector<unsigned int> &n_postprocessor_outputs,
                     const Mapping<dim,spacedim> &mapping,
-                    const std::vector<std_cxx11::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
+                    const std::vector<std::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
                     const UpdateFlags update_flags);
 
       std::vector<Point<spacedim> > patch_evaluation_points;
index af59da996644c40b14dbe6712c290b7a16158bbf..b66ae105140d2c9db253f81732f382b7937079cf 100644 (file)
@@ -43,7 +43,7 @@ namespace internal
                     const unsigned int n_patches_per_circle,
                     const std::vector<unsigned int> &n_postprocessor_outputs,
                     const Mapping<dim,spacedim> &mapping,
-                    const std::vector<std_cxx11::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
+                    const std::vector<std::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
                     const UpdateFlags update_flags);
 
       const unsigned int n_patches_per_circle;
index d07b8b8b028b7addc55274826a2e096b693f1e70..cfb392a51fbc99794c33bff4acf4ef4b4b1a9482 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <deal.II/base/config.h>
 #include <deal.II/base/exceptions.h>
-#include <deal.II/base/std_cxx11/tuple.h>
 #include <deal.II/base/synchronous_iterator.h>
 #include <deal.II/fe/fe_update_flags.h>
 #include <deal.II/fe/mapping.h>
index cbc9717e2615e67ecbb62f4c40bba3bdbc262808..2634d2210f9f4495b1e3f8bd40a5cc7ebc90e6a1 100644 (file)
 #include <deal.II/numerics/error_estimator.h>
 #include <deal.II/distributed/tria.h>
 
-#include <deal.II/base/std_cxx11/bind.h>
 
 #include <numeric>
 #include <algorithm>
 #include <cmath>
 #include <vector>
+#include <functional>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -1162,10 +1162,10 @@ estimate (const Mapping<dim, spacedim>               &mapping,
   // now let's work on all those cells:
   WorkStream::run (dof_handler.begin_active(),
                    static_cast<typename DoFHandlerType::active_cell_iterator>(dof_handler.end()),
-                   std_cxx11::bind (&internal::estimate_one_cell<InputVector,DoFHandlerType>,
-                                    std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::ref(solutions),strategy),
-                   std_cxx11::bind (&internal::copy_local_to_global<DoFHandlerType>,
-                                    std_cxx11::_1, std_cxx11::ref(face_integrals)),
+                   std::bind (&internal::estimate_one_cell<InputVector,DoFHandlerType>,
+                              std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::ref(solutions),strategy),
+                   std::bind (&internal::copy_local_to_global<DoFHandlerType>,
+                              std::placeholders::_1, std::ref(face_integrals)),
                    parallel_data,
                    sample_local_face_integrals);
 
index 5f70ad3d7635853f5b862869762b68edb10a000e..8a6d27978932ec2ee0aea9570af5766c6dd380a3 100644 (file)
@@ -699,9 +699,9 @@ namespace MatrixCreator
     WorkStream::run (dof.begin_active(),
                      static_cast<typename DoFHandler<dim,spacedim>::active_cell_iterator>(dof.end()),
                      &MatrixCreator::internal::mass_assembler<dim, spacedim, typename DoFHandler<dim,spacedim>::active_cell_iterator,number>,
-                     std_cxx11::bind (&MatrixCreator::internal::
-                                      copy_local_to_global<number,SparseMatrix<number>, Vector<number> >,
-                                      std_cxx11::_1, &matrix, (Vector<number> *)0),
+                     std::bind (&MatrixCreator::internal::
+                                copy_local_to_global<number,SparseMatrix<number>, Vector<number> >,
+                                std::placeholders::_1, &matrix, (Vector<number> *)0),
                      assembler_data,
                      copy_data);
   }
@@ -755,9 +755,9 @@ namespace MatrixCreator
     WorkStream::run (dof.begin_active(),
                      static_cast<typename DoFHandler<dim,spacedim>::active_cell_iterator>(dof.end()),
                      &MatrixCreator::internal::mass_assembler<dim, spacedim, typename DoFHandler<dim,spacedim>::active_cell_iterator,number>,
-                     std_cxx11::bind(&MatrixCreator::internal::
-                                     copy_local_to_global<number,SparseMatrix<number>, Vector<number> >,
-                                     std_cxx11::_1, &matrix, &rhs_vector),
+                     std::bind(&MatrixCreator::internal::
+                               copy_local_to_global<number,SparseMatrix<number>, Vector<number> >,
+                               std::placeholders::_1, &matrix, &rhs_vector),
                      assembler_data,
                      copy_data);
   }
@@ -809,9 +809,9 @@ namespace MatrixCreator
     WorkStream::run (dof.begin_active(),
                      static_cast<typename hp::DoFHandler<dim,spacedim>::active_cell_iterator>(dof.end()),
                      &MatrixCreator::internal::mass_assembler<dim, spacedim, typename hp::DoFHandler<dim,spacedim>::active_cell_iterator,number>,
-                     std_cxx11::bind (&MatrixCreator::internal::
-                                      copy_local_to_global<number,SparseMatrix<number>, Vector<number> >,
-                                      std_cxx11::_1, &matrix, (Vector<number> *)0),
+                     std::bind (&MatrixCreator::internal::
+                                copy_local_to_global<number,SparseMatrix<number>, Vector<number> >,
+                                std::placeholders::_1, &matrix, (Vector<number> *)0),
                      assembler_data,
                      copy_data);
   }
@@ -862,9 +862,9 @@ namespace MatrixCreator
     WorkStream::run (dof.begin_active(),
                      static_cast<typename hp::DoFHandler<dim,spacedim>::active_cell_iterator>(dof.end()),
                      &MatrixCreator::internal::mass_assembler<dim, spacedim, typename hp::DoFHandler<dim,spacedim>::active_cell_iterator,number>,
-                     std_cxx11::bind (&MatrixCreator::internal::
-                                      copy_local_to_global<number,SparseMatrix<number>, Vector<number> >,
-                                      std_cxx11::_1, &matrix, &rhs_vector),
+                     std::bind (&MatrixCreator::internal::
+                                copy_local_to_global<number,SparseMatrix<number>, Vector<number> >,
+                                std::placeholders::_1, &matrix, &rhs_vector),
                      assembler_data,
                      copy_data);
   }
@@ -1237,22 +1237,22 @@ namespace MatrixCreator
     MatrixCreator::internal::AssemblerBoundary::CopyData<DoFHandler<dim,spacedim>,number > copy_data;
 
     WorkStream::run(dof.begin_active(),dof.end(),
-                    static_cast<std_cxx11::function<void (typename DoFHandler<dim,spacedim>::active_cell_iterator
-                                                          const &,MatrixCreator::internal::AssemblerBoundary::Scratch const &,
-                                                          MatrixCreator::internal::AssemblerBoundary::CopyData<DoFHandler<dim,spacedim>,number > &)> >
-                    (std_cxx11::bind(&internal::create_boundary_mass_matrix_1<dim,spacedim,number>,std_cxx11::_1,std_cxx11::_2,
-                                     std_cxx11::_3,
-                                     std_cxx11::cref(mapping),std_cxx11::cref(fe),std_cxx11::cref(q),
-                                     std_cxx11::cref(boundary_functions),coefficient,
-                                     std_cxx11::cref(component_mapping))),
-                    static_cast<std_cxx11::function<void (MatrixCreator::internal::AssemblerBoundary
-                                                          ::CopyData<DoFHandler<dim,spacedim>,number> const &)> > (std_cxx11::bind(
-                                                                &internal::copy_boundary_mass_matrix_1<dim,spacedim,number>,
-                                                                std_cxx11::_1,
-                                                                std_cxx11::cref(boundary_functions),
-                                                                std_cxx11::cref(dof_to_boundary_mapping),
-                                                                std_cxx11::ref(matrix),
-                                                                std_cxx11::ref(rhs_vector))),
+                    static_cast<std::function<void (typename DoFHandler<dim,spacedim>::active_cell_iterator
+                                                    const &,MatrixCreator::internal::AssemblerBoundary::Scratch const &,
+                                                    MatrixCreator::internal::AssemblerBoundary::CopyData<DoFHandler<dim,spacedim>,number > &)> >
+                    (std::bind(&internal::create_boundary_mass_matrix_1<dim,spacedim,number>,std::placeholders::_1,std::placeholders::_2,
+                               std::placeholders::_3,
+                               std::cref(mapping),std::cref(fe),std::cref(q),
+                               std::cref(boundary_functions),coefficient,
+                               std::cref(component_mapping))),
+                    static_cast<std::function<void (MatrixCreator::internal::AssemblerBoundary
+                                                    ::CopyData<DoFHandler<dim,spacedim>,number> const &)> > (std::bind(
+                                                          &internal::copy_boundary_mass_matrix_1<dim,spacedim,number>,
+                                                          std::placeholders::_1,
+                                                          std::cref(boundary_functions),
+                                                          std::cref(dof_to_boundary_mapping),
+                                                          std::ref(matrix),
+                                                          std::ref(rhs_vector))),
                     scratch,
                     copy_data);
   }
@@ -1654,22 +1654,22 @@ namespace MatrixCreator
     MatrixCreator::internal::AssemblerBoundary::CopyData<hp::DoFHandler<dim,spacedim>,number > copy_data;
 
     WorkStream::run(dof.begin_active(),dof.end(),
-                    static_cast<std_cxx11::function<void (typename hp::DoFHandler<dim,spacedim>::active_cell_iterator
-                                                          const &,MatrixCreator::internal::AssemblerBoundary::Scratch const &,
-                                                          MatrixCreator::internal::AssemblerBoundary::CopyData<hp::DoFHandler<dim,spacedim>,number > &)> >
-                    (std_cxx11::bind( &create_hp_boundary_mass_matrix_1<dim,spacedim,number>,std_cxx11::_1,std_cxx11::_2,
-                                      std_cxx11::_3,
-                                      std_cxx11::cref(mapping),std_cxx11::cref(fe_collection),std_cxx11::cref(q),
-                                      std_cxx11::cref(boundary_functions),coefficient,
-                                      std_cxx11::cref(component_mapping))),
-                    static_cast<std_cxx11::function<void (MatrixCreator::internal::AssemblerBoundary
-                                                          ::CopyData<hp::DoFHandler<dim,spacedim>,number > const &)> > (
-                      std_cxx11::bind( &copy_hp_boundary_mass_matrix_1<dim,spacedim,number>,
-                                       std_cxx11::_1,
-                                       std_cxx11::cref(boundary_functions),
-                                       std_cxx11::cref(dof_to_boundary_mapping),
-                                       std_cxx11::ref(matrix),
-                                       std_cxx11::ref(rhs_vector))),
+                    static_cast<std::function<void (typename hp::DoFHandler<dim,spacedim>::active_cell_iterator
+                                                    const &,MatrixCreator::internal::AssemblerBoundary::Scratch const &,
+                                                    MatrixCreator::internal::AssemblerBoundary::CopyData<hp::DoFHandler<dim,spacedim>,number > &)> >
+                    (std::bind( &create_hp_boundary_mass_matrix_1<dim,spacedim,number>,std::placeholders::_1,std::placeholders::_2,
+                                std::placeholders::_3,
+                                std::cref(mapping),std::cref(fe_collection),std::cref(q),
+                                std::cref(boundary_functions),coefficient,
+                                std::cref(component_mapping))),
+                    static_cast<std::function<void (MatrixCreator::internal::AssemblerBoundary
+                                                    ::CopyData<hp::DoFHandler<dim,spacedim>,number > const &)> > (
+                      std::bind( &copy_hp_boundary_mass_matrix_1<dim,spacedim,number>,
+                                 std::placeholders::_1,
+                                 std::cref(boundary_functions),
+                                 std::cref(dof_to_boundary_mapping),
+                                 std::ref(matrix),
+                                 std::ref(rhs_vector))),
                     scratch,
                     copy_data);
   }
@@ -1725,11 +1725,11 @@ namespace MatrixCreator
     WorkStream::run (dof.begin_active(),
                      static_cast<typename DoFHandler<dim,spacedim>::active_cell_iterator>(dof.end()),
                      &MatrixCreator::internal::laplace_assembler<dim, spacedim, typename DoFHandler<dim,spacedim>::active_cell_iterator>,
-                     std_cxx11::bind (&MatrixCreator::internal::
-                                      copy_local_to_global<double,SparseMatrix<double>, Vector<double> >,
-                                      std_cxx11::_1,
-                                      &matrix,
-                                      (Vector<double> *)NULL),
+                     std::bind (&MatrixCreator::internal::
+                                copy_local_to_global<double,SparseMatrix<double>, Vector<double> >,
+                                std::placeholders::_1,
+                                &matrix,
+                                (Vector<double> *)NULL),
                      assembler_data,
                      copy_data);
   }
@@ -1783,11 +1783,11 @@ namespace MatrixCreator
     WorkStream::run (dof.begin_active(),
                      static_cast<typename DoFHandler<dim,spacedim>::active_cell_iterator>(dof.end()),
                      &MatrixCreator::internal::laplace_assembler<dim, spacedim, typename DoFHandler<dim,spacedim>::active_cell_iterator>,
-                     std_cxx11::bind (&MatrixCreator::internal::
-                                      copy_local_to_global<double,SparseMatrix<double>, Vector<double> >,
-                                      std_cxx11::_1,
-                                      &matrix,
-                                      &rhs_vector),
+                     std::bind (&MatrixCreator::internal::
+                                copy_local_to_global<double,SparseMatrix<double>, Vector<double> >,
+                                std::placeholders::_1,
+                                &matrix,
+                                &rhs_vector),
                      assembler_data,
                      copy_data);
   }
@@ -1838,11 +1838,11 @@ namespace MatrixCreator
     WorkStream::run (dof.begin_active(),
                      static_cast<typename hp::DoFHandler<dim,spacedim>::active_cell_iterator>(dof.end()),
                      &MatrixCreator::internal::laplace_assembler<dim, spacedim, typename hp::DoFHandler<dim,spacedim>::active_cell_iterator>,
-                     std_cxx11::bind (&MatrixCreator::internal::
-                                      copy_local_to_global<double,SparseMatrix<double>, Vector<double> >,
-                                      std_cxx11::_1,
-                                      &matrix,
-                                      (Vector<double> *)0),
+                     std::bind (&MatrixCreator::internal::
+                                copy_local_to_global<double,SparseMatrix<double>, Vector<double> >,
+                                std::placeholders::_1,
+                                &matrix,
+                                (Vector<double> *)0),
                      assembler_data,
                      copy_data);
   }
@@ -1893,11 +1893,11 @@ namespace MatrixCreator
     WorkStream::run (dof.begin_active(),
                      static_cast<typename hp::DoFHandler<dim,spacedim>::active_cell_iterator>(dof.end()),
                      &MatrixCreator::internal::laplace_assembler<dim, spacedim, typename hp::DoFHandler<dim,spacedim>::active_cell_iterator>,
-                     std_cxx11::bind (&MatrixCreator::internal::
-                                      copy_local_to_global<double,SparseMatrix<double>, Vector<double> >,
-                                      std_cxx11::_1,
-                                      &matrix,
-                                      &rhs_vector),
+                     std::bind (&MatrixCreator::internal::
+                                copy_local_to_global<double,SparseMatrix<double>, Vector<double> >,
+                                std::placeholders::_1,
+                                &matrix,
+                                &rhs_vector),
                      assembler_data,
                      copy_data);
   }
index 65489758d92c749e2b44e74b85d4d7a7adda25ad..c9653f28d2c93bbc9b3b8bddd43e2ed9820f4cdc 100644 (file)
@@ -251,8 +251,8 @@ template <int dim, int spacedim> class Triangulation;
  *   void
  *   TimeDependent::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),
+ *     do_loop (std::bind(&TimeStepBase::init_for_primal_problem, std::placeholders::_1),
+ *              std::bind(&TimeStepBase::solve_primal_problem, std::placeholders::_1),
  *              timestepping_data_primal,
  *              forward);
  *   };
@@ -273,7 +273,7 @@ template <int dim, int spacedim> class Triangulation;
  * look-back and the last one denotes in which direction the loop is to be
  * run.
  *
- * Using function pointers through the @p std_cxx11::bind functions provided by the
+ * Using function pointers through the @p std::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:
@@ -282,11 +282,11 @@ template <int dim, int spacedim> class Triangulation;
  *   compute the thresholds for refinement
  *   ...
  *
- *   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)),
+ *   do_loop (std::bind(&TimeStepBase_Tria<dim>::init_for_refinement, std::placeholders::_1),
+ *            std::bind(&TimeStepBase_Wave<dim>::refine_grid,
+ *                      std::placeholders::_1,
+ *                      TimeStepBase_Tria<dim>::RefinementData (top_threshold,
+ *                                                              bottom_threshold)),
  *            TimeDependent::TimeSteppingData (0,1),
  *            TimeDependent::forward);
  * @endcode
@@ -519,8 +519,8 @@ public:
    *
    * To see how this function work, note that the function @p
    * solve_primal_problem only consists of a call to <tt>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,
+   * (std::bind(&TimeStepBase::init_for_primal_problem, std::placeholders::_1),
+   * std::bind(&TimeStepBase::solve_primal_problem, std::placeholders::_1), timestepping_data_primal,
    * forward);</tt>.
    *
    * Note also, that the given class from which the two functions are taken
@@ -532,7 +532,7 @@ public:
    * the TimeStepBase class.
    *
    * Instead of using the above form, you can equally well use
-   * <tt>std_cxx11::bind(&X::unary_function, std_cxx11::_1, args...)</tt> which
+   * <tt>std::bind(&X::unary_function, std::placeholders::_1, args...)</tt> which
    * lets the @p do_loop function call the given function with the specified
    * parameters.
    */
index 090d875389c382184229497e3d21439c74c178d1..80f90256bbf2544ead888f8ec31d51169aa2b5ea 100644 (file)
@@ -21,7 +21,6 @@
 #include <deal.II/base/exceptions.h>
 #include <deal.II/base/quadrature_lib.h>
 #include <deal.II/base/point.h>
-#include <deal.II/base/std_cxx11/function.h>
 #include <deal.II/dofs/function_map.h>
 #include <deal.II/dofs/dof_handler.h>
 #include <deal.II/hp/dof_handler.h>
@@ -30,6 +29,7 @@
 #include <map>
 #include <vector>
 #include <set>
+#include <functional>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -894,7 +894,7 @@ namespace VectorTools
                 const DoFHandler<dim,spacedim> &dof,
                 const ConstraintMatrix         &constraints,
                 const Quadrature<dim>          &quadrature,
-                const std_cxx11::function< typename VectorType::value_type (const typename DoFHandler<dim, spacedim>::active_cell_iterator &, const unsigned int)> func,
+                const std::function< typename VectorType::value_type (const typename DoFHandler<dim, spacedim>::active_cell_iterator &, const unsigned int)> func,
                 VectorType                     &vec_result);
 
   /**
@@ -918,19 +918,19 @@ namespace VectorTools
    * which stores quadrature point data.
    */
   template <int dim, typename VectorType>
-  void project (std_cxx11::shared_ptr<const MatrixFree<dim,typename VectorType::value_type> > data,
+  void project (std::shared_ptr<const MatrixFree<dim,typename VectorType::value_type> > data,
                 const ConstraintMatrix &constraints,
                 const unsigned int n_q_points_1d,
-                const std_cxx11::function< VectorizedArray<typename VectorType::value_type> (const unsigned int, const unsigned int)> func,
+                const std::function< VectorizedArray<typename VectorType::value_type> (const unsigned int, const unsigned int)> func,
                 VectorType &vec_result);
 
   /**
    * Same as above but for <code>n_q_points_1d = matrix_free.get_dof_handler().get_fe().degree+1</code>.
    */
   template <int dim, typename VectorType>
-  void project (std_cxx11::shared_ptr<const MatrixFree<dim,typename VectorType::value_type> > data,
+  void project (std::shared_ptr<const MatrixFree<dim,typename VectorType::value_type> > data,
                 const ConstraintMatrix &constraints,
-                const std_cxx11::function< VectorizedArray<typename VectorType::value_type> (const unsigned int, const unsigned int)> func,
+                const std::function< VectorizedArray<typename VectorType::value_type> (const unsigned int, const unsigned int)> func,
                 VectorType &vec_result);
 
   /**
index 30e751f574350042bbc9e4c8650166b2593cb812..42c8f73f6354ab69812249636c2b033f21c3b60c 100644 (file)
@@ -70,7 +70,7 @@
 #include <deal.II/numerics/vector_tools.h>
 #include <deal.II/numerics/matrix_tools.h>
 
-#include <deal.II/base/std_cxx11/array.h>
+#include <array>
 #include <numeric>
 #include <algorithm>
 #include <vector>
@@ -931,7 +931,7 @@ namespace VectorTools
       additional_data.tasks_parallel_scheme =
         MatrixFree<dim,Number>::AdditionalData::partition_color;
       additional_data.mapping_update_flags = (update_values | update_JxW_values);
-      std_cxx11::shared_ptr<MatrixFree<dim, Number> > matrix_free(
+      std::shared_ptr<MatrixFree<dim, Number> > matrix_free(
         new MatrixFree<dim, Number> ());
       matrix_free->reinit (mapping, dof, constraints,
                            QGauss<1>(dof.get_fe().degree+2), additional_data);
@@ -1146,7 +1146,7 @@ namespace VectorTools
                            const DoFHandler<dim,spacedim> &dof,
                            const ConstraintMatrix         &constraints,
                            const Quadrature<dim>          &quadrature,
-                           const std_cxx11::function< typename VectorType::value_type (const typename DoFHandler<dim, spacedim>::active_cell_iterator &, const unsigned int)> func,
+                           const std::function< typename VectorType::value_type (const typename DoFHandler<dim, spacedim>::active_cell_iterator &, const unsigned int)> func,
                            VectorType                     &vec_result)
     {
       typedef typename VectorType::value_type Number;
@@ -1164,7 +1164,7 @@ namespace VectorTools
       additional_data.tasks_parallel_scheme =
         MatrixFree<dim,Number>::AdditionalData::partition_color;
       additional_data.mapping_update_flags = (update_values | update_JxW_values);
-      std_cxx11::shared_ptr<MatrixFree<dim, Number> > matrix_free(
+      std::shared_ptr<MatrixFree<dim, Number> > matrix_free(
         new MatrixFree<dim, Number>());
       matrix_free->reinit (mapping, dof, constraints,
                            QGauss<1>(dof.get_fe().degree+2), additional_data);
@@ -1242,9 +1242,9 @@ namespace VectorTools
 
 
     template <int dim, typename VectorType, int spacedim, int fe_degree, int n_q_points_1d>
-    void project_parallel (std_cxx11::shared_ptr<const MatrixFree<dim,typename VectorType::value_type> > matrix_free,
+    void project_parallel (std::shared_ptr<const MatrixFree<dim,typename VectorType::value_type> > matrix_free,
                            const ConstraintMatrix &constraints,
-                           const std_cxx11::function< VectorizedArray<typename VectorType::value_type> (const unsigned int, const unsigned int)> func,
+                           const std::function< VectorizedArray<typename VectorType::value_type> (const unsigned int, const unsigned int)> func,
                            VectorType &vec_result)
     {
       const DoFHandler<dim,spacedim> &dof = matrix_free->get_dof_handler();
@@ -1322,7 +1322,7 @@ namespace VectorTools
                 const DoFHandler<dim,spacedim> &dof,
                 const ConstraintMatrix         &constraints,
                 const Quadrature<dim>          &quadrature,
-                const std_cxx11::function< typename VectorType::value_type (const typename DoFHandler<dim, spacedim>::active_cell_iterator &, const unsigned int)> func,
+                const std::function< typename VectorType::value_type (const typename DoFHandler<dim, spacedim>::active_cell_iterator &, const unsigned int)> func,
                 VectorType                     &vec_result)
   {
     switch (dof.get_fe().degree)
@@ -1344,10 +1344,10 @@ namespace VectorTools
 
 
   template <int dim, typename VectorType>
-  void project (std_cxx11::shared_ptr<const MatrixFree<dim,typename VectorType::value_type> > matrix_free,
+  void project (std::shared_ptr<const MatrixFree<dim,typename VectorType::value_type> > matrix_free,
                 const ConstraintMatrix &constraints,
                 const unsigned int n_q_points_1d,
-                const std_cxx11::function< VectorizedArray<typename VectorType::value_type> (const unsigned int, const unsigned int)> func,
+                const std::function< VectorizedArray<typename VectorType::value_type> (const unsigned int, const unsigned int)> func,
                 VectorType &vec_result)
   {
     (void) n_q_points_1d;
@@ -1375,9 +1375,9 @@ namespace VectorTools
 
 
   template <int dim, typename VectorType>
-  void project (std_cxx11::shared_ptr<const MatrixFree<dim,typename VectorType::value_type> > matrix_free,
+  void project (std::shared_ptr<const MatrixFree<dim,typename VectorType::value_type> > matrix_free,
                 const ConstraintMatrix &constraints,
-                const std_cxx11::function< VectorizedArray<typename VectorType::value_type> (const unsigned int, const unsigned int)> func,
+                const std::function< VectorizedArray<typename VectorType::value_type> (const unsigned int, const unsigned int)> func,
                 VectorType &vec_result)
   {
     project (matrix_free,
@@ -6447,8 +6447,8 @@ namespace VectorTools
     template <int dim>
     struct PointComparator
     {
-      bool operator ()(const std_cxx11::array<types::global_dof_index,dim> &p1,
-                       const std_cxx11::array<types::global_dof_index,dim> &p2)
+      bool operator ()(const std::array<types::global_dof_index,dim> &p1,
+                       const std::array<types::global_dof_index,dim> &p2)
       {
         for (unsigned int d=0; d<dim; ++d)
           if (p1[d] < p2[d])
@@ -6530,14 +6530,14 @@ namespace VectorTools
     // Extract a list that collects all vector components that belong to the
     // same node (scalar basis function). When creating that list, we use an
     // array of dim components that stores the global degree of freedom.
-    std::set<std_cxx11::array<types::global_dof_index,dim>, PointComparator<dim> > vector_dofs;
+    std::set<std::array<types::global_dof_index,dim>, PointComparator<dim> > vector_dofs;
     std::vector<types::global_dof_index> face_dofs;
 
-    std::map<std_cxx11::array<types::global_dof_index,dim>, Vector<double> >
+    std::map<std::array<types::global_dof_index,dim>, Vector<double> >
     dof_vector_to_b_values;
 
     std::set<types::boundary_id>::iterator b_id;
-    std::vector<std_cxx11::array<types::global_dof_index,dim> > cell_vector_dofs;
+    std::vector<std::array<types::global_dof_index,dim> > cell_vector_dofs;
     for (typename DoFHandlerType<dim,spacedim>::active_cell_iterator cell =
            dof_handler.begin_active(); cell != dof_handler.end(); ++cell)
       if (!cell->is_artificial())
@@ -6602,7 +6602,7 @@ namespace VectorTools
     // iterate over the list of all vector components we found and see if we
     // can find constrained ones
     unsigned int n_total_constraints_found = 0;
-    for (typename std::set<std_cxx11::array<types::global_dof_index,dim>,
+    for (typename std::set<std::array<types::global_dof_index,dim>,
          PointComparator<dim> >::const_iterator it=vector_dofs.begin();
          it!=vector_dofs.end(); ++it)
       {
index 77d0a83acb83cde7d9491f8907b59090597f1646..753af5347996d9dfd29239ba3cc8da8d8271c9ee 100644 (file)
@@ -374,7 +374,7 @@ namespace OpenCASCADE
      * Return a tuple representing the minimum and maximum values of u
      * and v.  Precisely, it returns (u_min, u_max, v_min, v_max)
      */
-    std_cxx11::tuple<double, double, double, double>
+    std::tuple<double, double, double, double>
     get_uv_bounds() const;
 
     /**
index 3d81aca296dc9c44dad791bf25c696aa8275e412..cb6d71e71e12594d794764f1b769ed6273a018fe 100644 (file)
@@ -102,7 +102,7 @@ namespace OpenCASCADE
    * associated with actual geometries) which are contained in the given
    * shape.
    */
-  std_cxx11::tuple<unsigned int, unsigned int, unsigned int>
+  std::tuple<unsigned int, unsigned int, unsigned int>
   count_elements(const TopoDS_Shape &shape);
 
   /**
@@ -245,7 +245,7 @@ namespace OpenCASCADE
    * the u coordinate and the v coordinate (which is different from zero only
    * if the resulting shape is a face).
    */
-  std_cxx11::tuple<Point<3>, TopoDS_Shape, double, double>
+  std::tuple<Point<3>, TopoDS_Shape, double, double>
   project_point_and_pull_back(const TopoDS_Shape &in_shape,
                               const Point<3> &origin,
                               const double tolerance=1e-7);
@@ -278,7 +278,7 @@ namespace OpenCASCADE
    * face, returns the corresponding point in real space, the normal to the
    * surface at that point and the min and max curvatures as a tuple.
    */
-  std_cxx11::tuple<Point<3>,  Tensor<1,3>, double, double>
+  std::tuple<Point<3>,  Tensor<1,3>, double, double>
   push_forward_and_differential_forms(const TopoDS_Face &face,
                                       const double u,
                                       const double v,
@@ -292,7 +292,7 @@ namespace OpenCASCADE
    * and only the closest point is returned. This function will throw an
    * exception if the @p in_shape does not contain at least one face.
    */
-  std_cxx11::tuple<Point<3>,  Tensor<1,3>, double, double>
+  std::tuple<Point<3>,  Tensor<1,3>, double, double>
   closest_point_and_differential_forms(const TopoDS_Shape &in_shape,
                                        const Point<3> &origin,
                                        const double tolerance=1e-7);
index 812f066ae379fff4e1148cc40eb24ffbd55ae0b8..94fa6b06be83a9e1e864d0ad1a4033a080fa830c 100644 (file)
@@ -36,7 +36,6 @@
 #include <deal.II/base/parameter_handler.h>
 #include <deal.II/base/thread_management.h>
 #include <deal.II/base/memory_consumption.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/base/mpi.h>
 
 #include <cstring>
@@ -47,6 +46,7 @@
 #include <set>
 #include <sstream>
 #include <fstream>
+#include <memory>
 
 // we use uint32_t and uint8_t below, which are declared here:
 #include <stdint.h>
@@ -2555,7 +2555,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_ucd (const std::vector<Patch<dim,spacedim> > &patches,
                   const std::vector<std::string>          &data_names,
-                  const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &,
+                  const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &,
                   const UcdFlags                          &flags,
                   std::ostream                            &out)
   {
@@ -2646,7 +2646,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_dx (const std::vector<Patch<dim,spacedim> > &patches,
                  const std::vector<std::string>          &data_names,
-                 const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &,
+                 const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &,
                  const DXFlags                           &flags,
                  std::ostream                            &out)
   {
@@ -2937,7 +2937,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_gnuplot (const std::vector<Patch<dim,spacedim> > &patches,
                       const std::vector<std::string>          &data_names,
-                      const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &,
+                      const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &,
                       const GnuplotFlags                      &flags,
                       std::ostream                            &out)
   {
@@ -3151,7 +3151,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_povray (const std::vector<Patch<dim,spacedim> > &patches,
                      const std::vector<std::string>          &data_names,
-                     const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &,
+                     const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &,
                      const PovrayFlags                       &flags,
                      std::ostream                            &out)
   {
@@ -3508,7 +3508,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_eps (const std::vector<Patch<dim,spacedim> > &/*patches*/,
                   const std::vector<std::string>          &/*data_names*/,
-                  const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &,
+                  const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &,
                   const EpsFlags                          &/*flags*/,
                   std::ostream                            &/*out*/)
   {
@@ -3520,7 +3520,7 @@ namespace DataOutBase
   template <int spacedim>
   void write_eps (const std::vector<Patch<2,spacedim> > &patches,
                   const std::vector<std::string>          &/*data_names*/,
-                  const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &,
+                  const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &,
                   const EpsFlags                          &flags,
                   std::ostream                            &out)
   {
@@ -3889,7 +3889,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_gmv (const std::vector<Patch<dim,spacedim> > &patches,
                   const std::vector<std::string>          &data_names,
-                  const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &,
+                  const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &,
                   const GmvFlags                          &flags,
                   std::ostream                            &out)
   {
@@ -4044,7 +4044,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_tecplot (const std::vector<Patch<dim,spacedim> > &patches,
                       const std::vector<std::string>          &data_names,
-                      const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &,
+                      const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &,
                       const TecplotFlags                      &flags,
                       std::ostream                            &out)
   {
@@ -4287,7 +4287,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_tecplot_binary (const std::vector<Patch<dim,spacedim> > &patches,
                              const std::vector<std::string>          &data_names,
-                             const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                             const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                              const TecplotFlags                      &flags,
                              std::ostream                            &out)
   {
@@ -4633,7 +4633,7 @@ namespace DataOutBase
   void
   write_vtk (const std::vector<Patch<dim,spacedim> > &patches,
              const std::vector<std::string>          &data_names,
-             const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+             const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
              const VtkFlags                          &flags,
              std::ostream                            &out)
   {
@@ -4798,21 +4798,21 @@ namespace DataOutBase
     std::vector<bool> data_set_written (n_data_sets, false);
     for (unsigned int n_th_vector=0; n_th_vector<vector_data_ranges.size(); ++n_th_vector)
       {
-        AssertThrow (std_cxx11::get<1>(vector_data_ranges[n_th_vector]) >=
-                     std_cxx11::get<0>(vector_data_ranges[n_th_vector]),
-                     ExcLowerRange (std_cxx11::get<1>(vector_data_ranges[n_th_vector]),
-                                    std_cxx11::get<0>(vector_data_ranges[n_th_vector])));
-        AssertThrow (std_cxx11::get<1>(vector_data_ranges[n_th_vector]) < n_data_sets,
-                     ExcIndexRange (std_cxx11::get<1>(vector_data_ranges[n_th_vector]),
+        AssertThrow (std::get<1>(vector_data_ranges[n_th_vector]) >=
+                     std::get<0>(vector_data_ranges[n_th_vector]),
+                     ExcLowerRange (std::get<1>(vector_data_ranges[n_th_vector]),
+                                    std::get<0>(vector_data_ranges[n_th_vector])));
+        AssertThrow (std::get<1>(vector_data_ranges[n_th_vector]) < n_data_sets,
+                     ExcIndexRange (std::get<1>(vector_data_ranges[n_th_vector]),
                                     0, n_data_sets));
-        AssertThrow (std_cxx11::get<1>(vector_data_ranges[n_th_vector]) + 1
-                     - std_cxx11::get<0>(vector_data_ranges[n_th_vector]) <= 3,
+        AssertThrow (std::get<1>(vector_data_ranges[n_th_vector]) + 1
+                     - std::get<0>(vector_data_ranges[n_th_vector]) <= 3,
                      ExcMessage ("Can't declare a vector with more than 3 components "
                                  "in VTK"));
 
         // mark these components as already written:
-        for (unsigned int i=std_cxx11::get<0>(vector_data_ranges[n_th_vector]);
-             i<=std_cxx11::get<1>(vector_data_ranges[n_th_vector]);
+        for (unsigned int i=std::get<0>(vector_data_ranges[n_th_vector]);
+             i<=std::get<1>(vector_data_ranges[n_th_vector]);
              ++i)
           data_set_written[i] = true;
 
@@ -4823,15 +4823,15 @@ namespace DataOutBase
         // name has been specified
         out << "VECTORS ";
 
-        if (std_cxx11::get<2>(vector_data_ranges[n_th_vector]) != "")
-          out << std_cxx11::get<2>(vector_data_ranges[n_th_vector]);
+        if (std::get<2>(vector_data_ranges[n_th_vector]) != "")
+          out << std::get<2>(vector_data_ranges[n_th_vector]);
         else
           {
-            for (unsigned int i=std_cxx11::get<0>(vector_data_ranges[n_th_vector]);
-                 i<std_cxx11::get<1>(vector_data_ranges[n_th_vector]);
+            for (unsigned int i=std::get<0>(vector_data_ranges[n_th_vector]);
+                 i<std::get<1>(vector_data_ranges[n_th_vector]);
                  ++i)
               out << data_names[i] << "__";
-            out << data_names[std_cxx11::get<1>(vector_data_ranges[n_th_vector])];
+            out << data_names[std::get<1>(vector_data_ranges[n_th_vector])];
           }
 
         out << " double"
@@ -4842,20 +4842,20 @@ namespace DataOutBase
         // components
         for (unsigned int n=0; n<n_nodes; ++n)
           {
-            switch (std_cxx11::get<1>(vector_data_ranges[n_th_vector]) -
-                    std_cxx11::get<0>(vector_data_ranges[n_th_vector]))
+            switch (std::get<1>(vector_data_ranges[n_th_vector]) -
+                    std::get<0>(vector_data_ranges[n_th_vector]))
               {
               case 0:
-                out << data_vectors(std_cxx11::get<0>(vector_data_ranges[n_th_vector]), n) << " 0 0"
+                out << data_vectors(std::get<0>(vector_data_ranges[n_th_vector]), n) << " 0 0"
                     << '\n';
                 break;
 
               case 1:
-                out << data_vectors(std_cxx11::get<0>(vector_data_ranges[n_th_vector]),   n) << ' '<< data_vectors(std_cxx11::get<0>(vector_data_ranges[n_th_vector])+1, n) << " 0"
+                out << data_vectors(std::get<0>(vector_data_ranges[n_th_vector]),   n) << ' '<< data_vectors(std::get<0>(vector_data_ranges[n_th_vector])+1, n) << " 0"
                     << '\n';
                 break;
               case 2:
-                out << data_vectors(std_cxx11::get<0>(vector_data_ranges[n_th_vector]),   n) << ' '<< data_vectors(std_cxx11::get<0>(vector_data_ranges[n_th_vector])+1, n) << ' '<< data_vectors(std_cxx11::get<0>(vector_data_ranges[n_th_vector])+2, n)
+                out << data_vectors(std::get<0>(vector_data_ranges[n_th_vector]),   n) << ' '<< data_vectors(std::get<0>(vector_data_ranges[n_th_vector])+1, n) << ' '<< data_vectors(std::get<0>(vector_data_ranges[n_th_vector])+2, n)
                     << '\n';
                 break;
 
@@ -4943,7 +4943,7 @@ namespace DataOutBase
   void
   write_vtu (const std::vector<Patch<dim,spacedim> > &patches,
              const std::vector<std::string>          &data_names,
-             const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+             const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
              const VtkFlags                          &flags,
              std::ostream                            &out)
   {
@@ -4958,7 +4958,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_vtu_main (const std::vector<Patch<dim,spacedim> > &patches,
                        const std::vector<std::string>          &data_names,
-                       const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                       const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                        const VtkFlags                          &flags,
                        std::ostream                            &out)
   {
@@ -4995,8 +4995,8 @@ namespace DataOutBase
           {
             // mark these components as already
             // written:
-            for (unsigned int i=std_cxx11::get<0>(vector_data_ranges[n_th_vector]);
-                 i<=std_cxx11::get<1>(vector_data_ranges[n_th_vector]);
+            for (unsigned int i=std::get<0>(vector_data_ranges[n_th_vector]);
+                 i<=std::get<1>(vector_data_ranges[n_th_vector]);
                  ++i)
               data_set_written[i] = true;
 
@@ -5007,15 +5007,15 @@ namespace DataOutBase
             // name has been specified
             out << "    <DataArray type=\"Float64\" Name=\"";
 
-            if (std_cxx11::get<2>(vector_data_ranges[n_th_vector]) != "")
-              out << std_cxx11::get<2>(vector_data_ranges[n_th_vector]);
+            if (std::get<2>(vector_data_ranges[n_th_vector]) != "")
+              out << std::get<2>(vector_data_ranges[n_th_vector]);
             else
               {
-                for (unsigned int i=std_cxx11::get<0>(vector_data_ranges[n_th_vector]);
-                     i<std_cxx11::get<1>(vector_data_ranges[n_th_vector]);
+                for (unsigned int i=std::get<0>(vector_data_ranges[n_th_vector]);
+                     i<std::get<1>(vector_data_ranges[n_th_vector]);
                      ++i)
                   out << data_names[i] << "__";
-                out << data_names[std_cxx11::get<1>(vector_data_ranges[n_th_vector])];
+                out << data_names[std::get<1>(vector_data_ranges[n_th_vector])];
               }
 
             out << "\" NumberOfComponents=\"3\"></DataArray>\n";
@@ -5212,22 +5212,22 @@ namespace DataOutBase
     std::vector<bool> data_set_written (n_data_sets, false);
     for (unsigned int n_th_vector=0; n_th_vector<vector_data_ranges.size(); ++n_th_vector)
       {
-        AssertThrow (std_cxx11::get<1>(vector_data_ranges[n_th_vector]) >=
-                     std_cxx11::get<0>(vector_data_ranges[n_th_vector]),
-                     ExcLowerRange (std_cxx11::get<1>(vector_data_ranges[n_th_vector]),
-                                    std_cxx11::get<0>(vector_data_ranges[n_th_vector])));
-        AssertThrow (std_cxx11::get<1>(vector_data_ranges[n_th_vector]) < n_data_sets,
-                     ExcIndexRange (std_cxx11::get<1>(vector_data_ranges[n_th_vector]),
+        AssertThrow (std::get<1>(vector_data_ranges[n_th_vector]) >=
+                     std::get<0>(vector_data_ranges[n_th_vector]),
+                     ExcLowerRange (std::get<1>(vector_data_ranges[n_th_vector]),
+                                    std::get<0>(vector_data_ranges[n_th_vector])));
+        AssertThrow (std::get<1>(vector_data_ranges[n_th_vector]) < n_data_sets,
+                     ExcIndexRange (std::get<1>(vector_data_ranges[n_th_vector]),
                                     0, n_data_sets));
-        AssertThrow (std_cxx11::get<1>(vector_data_ranges[n_th_vector]) + 1
-                     - std_cxx11::get<0>(vector_data_ranges[n_th_vector]) <= 3,
+        AssertThrow (std::get<1>(vector_data_ranges[n_th_vector]) + 1
+                     - std::get<0>(vector_data_ranges[n_th_vector]) <= 3,
                      ExcMessage ("Can't declare a vector with more than 3 components "
                                  "in VTK"));
 
         // mark these components as already
         // written:
-        for (unsigned int i=std_cxx11::get<0>(vector_data_ranges[n_th_vector]);
-             i<=std_cxx11::get<1>(vector_data_ranges[n_th_vector]);
+        for (unsigned int i=std::get<0>(vector_data_ranges[n_th_vector]);
+             i<=std::get<1>(vector_data_ranges[n_th_vector]);
              ++i)
           data_set_written[i] = true;
 
@@ -5238,15 +5238,15 @@ namespace DataOutBase
         // name has been specified
         out << "    <DataArray type=\"Float64\" Name=\"";
 
-        if (std_cxx11::get<2>(vector_data_ranges[n_th_vector]) != "")
-          out << std_cxx11::get<2>(vector_data_ranges[n_th_vector]);
+        if (std::get<2>(vector_data_ranges[n_th_vector]) != "")
+          out << std::get<2>(vector_data_ranges[n_th_vector]);
         else
           {
-            for (unsigned int i=std_cxx11::get<0>(vector_data_ranges[n_th_vector]);
-                 i<std_cxx11::get<1>(vector_data_ranges[n_th_vector]);
+            for (unsigned int i=std::get<0>(vector_data_ranges[n_th_vector]);
+                 i<std::get<1>(vector_data_ranges[n_th_vector]);
                  ++i)
               out << data_names[i] << "__";
-            out << data_names[std_cxx11::get<1>(vector_data_ranges[n_th_vector])];
+            out << data_names[std::get<1>(vector_data_ranges[n_th_vector])];
           }
 
         out << "\" NumberOfComponents=\"3\" format=\""
@@ -5260,24 +5260,24 @@ namespace DataOutBase
 
         for (unsigned int n=0; n<n_nodes; ++n)
           {
-            switch (std_cxx11::get<1>(vector_data_ranges[n_th_vector]) -
-                    std_cxx11::get<0>(vector_data_ranges[n_th_vector]))
+            switch (std::get<1>(vector_data_ranges[n_th_vector]) -
+                    std::get<0>(vector_data_ranges[n_th_vector]))
               {
               case 0:
-                data.push_back (data_vectors(std_cxx11::get<0>(vector_data_ranges[n_th_vector]), n));
+                data.push_back (data_vectors(std::get<0>(vector_data_ranges[n_th_vector]), n));
                 data.push_back (0);
                 data.push_back (0);
                 break;
 
               case 1:
-                data.push_back (data_vectors(std_cxx11::get<0>(vector_data_ranges[n_th_vector]),   n));
-                data.push_back (data_vectors(std_cxx11::get<0>(vector_data_ranges[n_th_vector])+1, n));
+                data.push_back (data_vectors(std::get<0>(vector_data_ranges[n_th_vector]),   n));
+                data.push_back (data_vectors(std::get<0>(vector_data_ranges[n_th_vector])+1, n));
                 data.push_back (0);
                 break;
               case 2:
-                data.push_back (data_vectors(std_cxx11::get<0>(vector_data_ranges[n_th_vector]),   n));
-                data.push_back (data_vectors(std_cxx11::get<0>(vector_data_ranges[n_th_vector])+1, n));
-                data.push_back (data_vectors(std_cxx11::get<0>(vector_data_ranges[n_th_vector])+2, n));
+                data.push_back (data_vectors(std::get<0>(vector_data_ranges[n_th_vector]),   n));
+                data.push_back (data_vectors(std::get<0>(vector_data_ranges[n_th_vector])+1, n));
+                data.push_back (data_vectors(std::get<0>(vector_data_ranges[n_th_vector])+2, n));
                 break;
 
               default:
@@ -5328,7 +5328,7 @@ namespace DataOutBase
   write_pvtu_record (std::ostream                                                                  &out,
                      const std::vector<std::string>                                                &piece_names,
                      const std::vector<std::string>                                                &data_names,
-                     const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges)
+                     const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges)
   {
     AssertThrow (out, ExcIO());
 
@@ -5351,22 +5351,22 @@ namespace DataOutBase
     std::vector<bool> data_set_written (n_data_sets, false);
     for (unsigned int n_th_vector=0; n_th_vector<vector_data_ranges.size(); ++n_th_vector)
       {
-        AssertThrow (std_cxx11::get<1>(vector_data_ranges[n_th_vector]) >=
-                     std_cxx11::get<0>(vector_data_ranges[n_th_vector]),
-                     ExcLowerRange (std_cxx11::get<1>(vector_data_ranges[n_th_vector]),
-                                    std_cxx11::get<0>(vector_data_ranges[n_th_vector])));
-        AssertThrow (std_cxx11::get<1>(vector_data_ranges[n_th_vector]) < n_data_sets,
-                     ExcIndexRange (std_cxx11::get<1>(vector_data_ranges[n_th_vector]),
+        AssertThrow (std::get<1>(vector_data_ranges[n_th_vector]) >=
+                     std::get<0>(vector_data_ranges[n_th_vector]),
+                     ExcLowerRange (std::get<1>(vector_data_ranges[n_th_vector]),
+                                    std::get<0>(vector_data_ranges[n_th_vector])));
+        AssertThrow (std::get<1>(vector_data_ranges[n_th_vector]) < n_data_sets,
+                     ExcIndexRange (std::get<1>(vector_data_ranges[n_th_vector]),
                                     0, n_data_sets));
-        AssertThrow (std_cxx11::get<1>(vector_data_ranges[n_th_vector]) + 1
-                     - std_cxx11::get<0>(vector_data_ranges[n_th_vector]) <= 3,
+        AssertThrow (std::get<1>(vector_data_ranges[n_th_vector]) + 1
+                     - std::get<0>(vector_data_ranges[n_th_vector]) <= 3,
                      ExcMessage ("Can't declare a vector with more than 3 components "
                                  "in VTK"));
 
         // mark these components as already
         // written:
-        for (unsigned int i=std_cxx11::get<0>(vector_data_ranges[n_th_vector]);
-             i<=std_cxx11::get<1>(vector_data_ranges[n_th_vector]);
+        for (unsigned int i=std::get<0>(vector_data_ranges[n_th_vector]);
+             i<=std::get<1>(vector_data_ranges[n_th_vector]);
              ++i)
           data_set_written[i] = true;
 
@@ -5377,15 +5377,15 @@ namespace DataOutBase
         // name has been specified
         out << "    <PDataArray type=\"Float64\" Name=\"";
 
-        if (std_cxx11::get<2>(vector_data_ranges[n_th_vector]) != "")
-          out << std_cxx11::get<2>(vector_data_ranges[n_th_vector]);
+        if (std::get<2>(vector_data_ranges[n_th_vector]) != "")
+          out << std::get<2>(vector_data_ranges[n_th_vector]);
         else
           {
-            for (unsigned int i=std_cxx11::get<0>(vector_data_ranges[n_th_vector]);
-                 i<std_cxx11::get<1>(vector_data_ranges[n_th_vector]);
+            for (unsigned int i=std::get<0>(vector_data_ranges[n_th_vector]);
+                 i<std::get<1>(vector_data_ranges[n_th_vector]);
                  ++i)
               out << data_names[i] << "__";
-            out << data_names[std_cxx11::get<1>(vector_data_ranges[n_th_vector])];
+            out << data_names[std::get<1>(vector_data_ranges[n_th_vector])];
           }
 
         out << "\" NumberOfComponents=\"3\" format=\"ascii\"/>\n";
@@ -5526,7 +5526,7 @@ namespace DataOutBase
   template <int dim, int spacedim>
   void write_svg (const std::vector<Patch<dim,spacedim> > &,
                   const std::vector<std::string> &,
-                  const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &,
+                  const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &,
                   const SvgFlags &,
                   std::ostream &)
   {
@@ -5536,7 +5536,7 @@ namespace DataOutBase
   template <int spacedim>
   void write_svg (const std::vector<Patch<2,spacedim> > &patches,
                   const std::vector<std::string> &/*data_names*/,
-                  const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &/*vector_data_ranges*/,
+                  const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &/*vector_data_ranges*/,
                   const SvgFlags &flags,
                   std::ostream &out)
   {
@@ -6175,7 +6175,7 @@ namespace DataOutBase
   void
   write_deal_II_intermediate (const std::vector<Patch<dim,spacedim> > &patches,
                               const std::vector<std::string>          &data_names,
-                              const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                              const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                               const Deal_II_IntermediateFlags         &/*flags*/,
                               std::ostream                            &out)
   {
@@ -6203,9 +6203,9 @@ namespace DataOutBase
 
     out << vector_data_ranges.size() << '\n';
     for (unsigned int i=0; i<vector_data_ranges.size(); ++i)
-      out << std_cxx11::get<0>(vector_data_ranges[i]) << ' '
-          << std_cxx11::get<1>(vector_data_ranges[i]) << '\n'
-          << std_cxx11::get<2>(vector_data_ranges[i]) << '\n';
+      out << std::get<0>(vector_data_ranges[i]) << ' '
+          << std::get<1>(vector_data_ranges[i]) << '\n'
+          << std::get<2>(vector_data_ranges[i]) << '\n';
 
     out << '\n';
     // make sure everything now gets to
@@ -6667,7 +6667,7 @@ write_filtered_data (DataOutBase::DataOutFilter &filtered_data) const
 template <int dim, int spacedim>
 void DataOutBase::write_filtered_data (const std::vector<Patch<dim,spacedim> > &patches,
                                        const std::vector<std::string>          &data_names,
-                                       const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                                       const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                                        DataOutBase::DataOutFilter &filtered_data)
 {
   const unsigned int n_data_sets = data_names.size();
@@ -6714,35 +6714,35 @@ void DataOutBase::write_filtered_data (const std::vector<Patch<dim,spacedim> > &
   for (n_th_vector=0,data_set=0; data_set<n_data_sets;)
     {
       // Advance n_th_vector to at least the current data set we are on
-      while (n_th_vector < vector_data_ranges.size() && std_cxx11::get<0>(vector_data_ranges[n_th_vector]) < data_set) n_th_vector++;
+      while (n_th_vector < vector_data_ranges.size() && std::get<0>(vector_data_ranges[n_th_vector]) < data_set) n_th_vector++;
 
       // Determine the dimension of this data
-      if (n_th_vector < vector_data_ranges.size() && std_cxx11::get<0>(vector_data_ranges[n_th_vector]) == data_set)
+      if (n_th_vector < vector_data_ranges.size() && std::get<0>(vector_data_ranges[n_th_vector]) == data_set)
         {
           // Multiple dimensions
-          pt_data_vector_dim = std_cxx11::get<1>(vector_data_ranges[n_th_vector]) - std_cxx11::get<0>(vector_data_ranges[n_th_vector])+1;
+          pt_data_vector_dim = std::get<1>(vector_data_ranges[n_th_vector]) - std::get<0>(vector_data_ranges[n_th_vector])+1;
 
           // Ensure the dimensionality of the data is correct
-          AssertThrow (std_cxx11::get<1>(vector_data_ranges[n_th_vector]) >= std_cxx11::get<0>(vector_data_ranges[n_th_vector]),
-                       ExcLowerRange (std_cxx11::get<1>(vector_data_ranges[n_th_vector]), std_cxx11::get<0>(vector_data_ranges[n_th_vector])));
-          AssertThrow (std_cxx11::get<1>(vector_data_ranges[n_th_vector]) < n_data_sets,
-                       ExcIndexRange (std_cxx11::get<1>(vector_data_ranges[n_th_vector]), 0, n_data_sets));
+          AssertThrow (std::get<1>(vector_data_ranges[n_th_vector]) >= std::get<0>(vector_data_ranges[n_th_vector]),
+                       ExcLowerRange (std::get<1>(vector_data_ranges[n_th_vector]), std::get<0>(vector_data_ranges[n_th_vector])));
+          AssertThrow (std::get<1>(vector_data_ranges[n_th_vector]) < n_data_sets,
+                       ExcIndexRange (std::get<1>(vector_data_ranges[n_th_vector]), 0, n_data_sets));
 
           // Determine the vector name
           // Concatenate all the
           // component names with double
           // underscores unless a vector
           // name has been specified
-          if (std_cxx11::get<2>(vector_data_ranges[n_th_vector]) != "")
+          if (std::get<2>(vector_data_ranges[n_th_vector]) != "")
             {
-              vector_name = std_cxx11::get<2>(vector_data_ranges[n_th_vector]);
+              vector_name = std::get<2>(vector_data_ranges[n_th_vector]);
             }
           else
             {
               vector_name = "";
-              for (i=std_cxx11::get<0>(vector_data_ranges[n_th_vector]); i<std_cxx11::get<1>(vector_data_ranges[n_th_vector]); ++i)
+              for (i=std::get<0>(vector_data_ranges[n_th_vector]); i<std::get<1>(vector_data_ranges[n_th_vector]); ++i)
                 vector_name += data_names[i] + "__";
-              vector_name += data_names[std_cxx11::get<1>(vector_data_ranges[n_th_vector])];
+              vector_name += data_names[std::get<1>(vector_data_ranges[n_th_vector])];
             }
         }
       else
@@ -7314,10 +7314,10 @@ DataOutInterface<dim,spacedim>::memory_consumption () const
 
 
 template <int dim, int spacedim>
-std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+std::vector<std::tuple<unsigned int, unsigned int, std::string> >
 DataOutInterface<dim,spacedim>::get_vector_data_ranges () const
 {
-  return std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >();
+  return std::vector<std::tuple<unsigned int, unsigned int, std::string> >();
 }
 
 
@@ -7332,7 +7332,7 @@ validate_dataset_names () const
     // complicated, because vector ranges might have a name or not.
     std::set<std::string> all_names;
 
-    const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+    const std::vector<std::tuple<unsigned int, unsigned int, std::string> >
     ranges = this->get_vector_data_ranges();
     const std::vector<std::string> data_names = this->get_dataset_names();
     const unsigned int n_data_sets = data_names.size();
@@ -7340,15 +7340,15 @@ validate_dataset_names () const
 
     for (unsigned int n_th_vector=0; n_th_vector<ranges.size(); ++n_th_vector)
       {
-        const std::string &name = std_cxx11::get<2>(ranges[n_th_vector]);
+        const std::string &name = std::get<2>(ranges[n_th_vector]);
         if (name != "")
           {
             Assert(all_names.find(name) == all_names.end(),
             ExcMessage("Error: names of fields in DataOut need to be unique, "
             "but '" + name +  "' is used more than once."));
             all_names.insert(name);
-            for (unsigned int i=std_cxx11::get<0>(ranges[n_th_vector]);
-            i<=std_cxx11::get<1>(ranges[n_th_vector]);
+            for (unsigned int i=std::get<0>(ranges[n_th_vector]);
+            i<=std::get<1>(ranges[n_th_vector]);
             ++i)
               data_set_written[i] = true;
           }
@@ -7388,7 +7388,7 @@ DataOutReader<dim,spacedim>::read (std::istream &in)
     tmp.swap (dataset_names);
   }
   {
-    std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > tmp;
+    std::vector<std::tuple<unsigned int, unsigned int, std::string> > tmp;
     tmp.swap (vector_data_ranges);
   }
 
@@ -7463,8 +7463,8 @@ DataOutReader<dim,spacedim>::read (std::istream &in)
   vector_data_ranges.resize (n_vector_data_ranges);
   for (unsigned int i=0; i<n_vector_data_ranges; ++i)
     {
-      in >> std_cxx11::get<0>(vector_data_ranges[i])
-         >> std_cxx11::get<1>(vector_data_ranges[i]);
+      in >> std::get<0>(vector_data_ranges[i])
+         >> std::get<1>(vector_data_ranges[i]);
 
       // read in the name of that vector
       // range. because it is on a separate
@@ -7477,7 +7477,7 @@ DataOutReader<dim,spacedim>::read (std::istream &in)
       std::string name;
       getline(in, name);
       getline(in, name);
-      std_cxx11::get<2>(vector_data_ranges[i]) = name;
+      std::get<2>(vector_data_ranges[i]) = name;
     }
 
   AssertThrow (in, ExcIO());
@@ -7509,16 +7509,16 @@ merge (const DataOutReader<dim,spacedim> &source)
                       "as vectors."));
   for (unsigned int i=0; i<get_vector_data_ranges().size(); ++i)
     {
-      Assert (std_cxx11::get<0>(get_vector_data_ranges()[i]) ==
-              std_cxx11::get<0>(source.get_vector_data_ranges()[i]),
+      Assert (std::get<0>(get_vector_data_ranges()[i]) ==
+              std::get<0>(source.get_vector_data_ranges()[i]),
               ExcMessage ("Both sources need to declare the same components "
                           "as vectors."));
-      Assert (std_cxx11::get<1>(get_vector_data_ranges()[i]) ==
-              std_cxx11::get<1>(source.get_vector_data_ranges()[i]),
+      Assert (std::get<1>(get_vector_data_ranges()[i]) ==
+              std::get<1>(source.get_vector_data_ranges()[i]),
               ExcMessage ("Both sources need to declare the same components "
                           "as vectors."));
-      Assert (std_cxx11::get<2>(get_vector_data_ranges()[i]) ==
-              std_cxx11::get<2>(source.get_vector_data_ranges()[i]),
+      Assert (std::get<2>(get_vector_data_ranges()[i]) ==
+              std::get<2>(source.get_vector_data_ranges()[i]),
               ExcMessage ("Both sources need to declare the same components "
                           "as vectors."));
     }
@@ -7572,7 +7572,7 @@ DataOutReader<dim,spacedim>::get_dataset_names () const
 
 
 template <int dim, int spacedim>
-std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+std::vector<std::tuple<unsigned int, unsigned int, std::string> >
 DataOutReader<dim,spacedim>::get_vector_data_ranges () const
 {
   return vector_data_ranges;
index 3e80f337f0b755090687e60f658da345dcb2dd2f..6bc448402a05395063ff3848495a153683654e9e 100644 (file)
@@ -38,7 +38,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     void
     write_vtk (const std::vector<Patch<deal_II_dimension,deal_II_space_dimension> > &patches,
                const std::vector<std::string>          &data_names,
-               const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+               const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                const VtkFlags                          &flags,
                std::ostream                            &out);
 
@@ -46,7 +46,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     void
     write_vtu (const std::vector<Patch<deal_II_dimension,deal_II_space_dimension> > &patches,
                const std::vector<std::string>          &data_names,
-               const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+               const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                const VtkFlags                          &flags,
                std::ostream                            &out);
 
@@ -54,7 +54,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     void
     write_ucd (const std::vector<Patch<deal_II_dimension,deal_II_space_dimension> > &patches,
                const std::vector<std::string>          &data_names,
-               const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+               const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                const UcdFlags                          &flags,
                std::ostream                            &out);
 
@@ -62,7 +62,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     void
     write_dx (const std::vector<Patch<deal_II_dimension,deal_II_space_dimension> > &patches,
               const std::vector<std::string>          &data_names,
-              const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+              const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
               const DXFlags                          &flags,
               std::ostream                            &out);
 
@@ -70,7 +70,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     void
     write_gnuplot (const std::vector<Patch<deal_II_dimension,deal_II_space_dimension> > &patches,
                    const std::vector<std::string>          &data_names,
-                   const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                   const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                    const GnuplotFlags                          &flags,
                    std::ostream                            &out);
 
@@ -78,7 +78,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     void
     write_povray (const std::vector<Patch<deal_II_dimension,deal_II_space_dimension> > &patches,
                   const std::vector<std::string>          &data_names,
-                  const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                  const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                   const PovrayFlags                          &flags,
                   std::ostream                            &out);
 
@@ -86,7 +86,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     void
     write_eps (const std::vector<Patch<deal_II_dimension,deal_II_space_dimension> > &patches,
                const std::vector<std::string>          &data_names,
-               const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+               const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                const EpsFlags                          &flags,
                std::ostream                            &out);
 
@@ -94,7 +94,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     void
     write_gmv (const std::vector<Patch<deal_II_dimension,deal_II_space_dimension> > &patches,
                const std::vector<std::string>          &data_names,
-               const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+               const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                const GmvFlags                          &flags,
                std::ostream                            &out);
 
@@ -102,7 +102,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     void
     write_tecplot (const std::vector<Patch<deal_II_dimension,deal_II_space_dimension> > &patches,
                    const std::vector<std::string>          &data_names,
-                   const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                   const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                    const TecplotFlags                          &flags,
                    std::ostream                            &out);
 
@@ -110,7 +110,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     void
     write_tecplot_binary (const std::vector<Patch<deal_II_dimension,deal_II_space_dimension> > &patches,
                           const std::vector<std::string>          &data_names,
-                          const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                          const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                           const TecplotFlags                          &flags,
                           std::ostream                            &out);
 
@@ -119,7 +119,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     void
     write_svg (const std::vector<Patch<deal_II_dimension,deal_II_space_dimension> > &patches,
                const std::vector<std::string>          &data_names,
-               const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+               const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                const SvgFlags                          &flags,
                std::ostream                            &out);
 #endif
@@ -127,7 +127,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     void
     write_deal_II_intermediate (const std::vector<Patch<deal_II_dimension,deal_II_space_dimension> > &patches,
                                 const std::vector<std::string>          &data_names,
-                                const std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
+                                const std::vector<std::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                                 const Deal_II_IntermediateFlags                          &flags,
                                 std::ostream                            &out);
     \}
index aabfd0be41115b4f53cd6930ab94b46b1e89d793..804cfbf8170683e95e6f26e7881b41c46402c29a 100644 (file)
@@ -2412,7 +2412,7 @@ namespace Functions
 
   template <int dim>
   InterpolatedTensorProductGridData<dim>::
-  InterpolatedTensorProductGridData(const std_cxx11::array<std::vector<double>,dim> &coordinate_values,
+  InterpolatedTensorProductGridData(const std::array<std::vector<double>,dim> &coordinate_values,
                                     const Table<dim,double>                         &data_values)
     :
     coordinate_values (coordinate_values),
@@ -2525,8 +2525,8 @@ namespace Functions
 
   template <int dim>
   InterpolatedUniformGridData<dim>::
-  InterpolatedUniformGridData(const std_cxx11::array<std::pair<double,double>,dim> &interval_endpoints,
-                              const std_cxx11::array<unsigned int,dim>             &n_subintervals,
+  InterpolatedUniformGridData(const std::array<std::pair<double,double>,dim> &interval_endpoints,
+                              const std::array<unsigned int,dim>             &n_subintervals,
                               const Table<dim,double>                              &data_values)
     :
     interval_endpoints (interval_endpoints),
index be08727ef22935f0310584e0835713870aa7bfbe..a5826cde3e705c256aae918ec038c7cdbe91e59a 100644 (file)
@@ -171,7 +171,7 @@ namespace Functions
                          const unsigned int component) const
   {
     const Point<dim> p = p_ - coordinate_system_offset;
-    const std_cxx11::array<double, dim> sp = GeometricUtilities::Coordinates::to_spherical(p);
+    const std::array<double, dim> sp = GeometricUtilities::Coordinates::to_spherical(p);
     return svalue(sp, component);
   }
 
@@ -183,8 +183,8 @@ namespace Functions
                             const unsigned int component) const
   {
     const Point<dim> p = p_ - coordinate_system_offset;
-    const std_cxx11::array<double, dim> sp = GeometricUtilities::Coordinates::to_spherical(p);
-    const std_cxx11::array<double, dim> sg = sgradient(sp, component);
+    const std::array<double, dim> sp = GeometricUtilities::Coordinates::to_spherical(p);
+    const std::array<double, dim> sg = sgradient(sp, component);
 
     // somewhat backwards, but we need cos/sin's for unit vectors
     const double cos_theta = std::cos(sp[1]);
@@ -229,9 +229,9 @@ namespace Functions
                            const unsigned int component) const
   {
     const Point<dim> p = p_ - coordinate_system_offset;
-    const std_cxx11::array<double, dim> sp = GeometricUtilities::Coordinates::to_spherical(p);
-    const std_cxx11::array<double, dim> sg = sgradient(sp, component);
-    const std_cxx11::array<double, 6>   sh = shessian(sp, component);
+    const std::array<double, dim> sp = GeometricUtilities::Coordinates::to_spherical(p);
+    const std::array<double, dim> sg = sgradient(sp, component);
+    const std::array<double, 6>   sh = shessian(sp, component);
 
     // somewhat backwards, but we need cos/sin's for unit vectors
     const double cos_theta = std::cos(sp[1]);
@@ -310,7 +310,7 @@ namespace Functions
 
   template <int dim>
   double
-  Spherical<dim>::svalue(const std_cxx11::array<double, dim> & /* sp */,
+  Spherical<dim>::svalue(const std::array<double, dim> & /* sp */,
                          const unsigned int /*component*/) const
   {
     AssertThrow(false,
@@ -321,25 +321,25 @@ namespace Functions
 
 
   template <int dim>
-  std_cxx11::array<double, dim>
-  Spherical<dim>::sgradient(const std_cxx11::array<double, dim> & /* sp */,
+  std::array<double, dim>
+  Spherical<dim>::sgradient(const std::array<double, dim> & /* sp */,
                             const unsigned int /*component*/) const
   {
     AssertThrow(false,
                 ExcNotImplemented());
-    return std_cxx11::array<double,dim>();
+    return std::array<double,dim>();
   }
 
 
 
   template <int dim>
-  std_cxx11::array<double, 6>
-  Spherical<dim>::shessian (const std_cxx11::array<double, dim> & /* sp */,
+  std::array<double, 6>
+  Spherical<dim>::shessian (const std::array<double, dim> & /* sp */,
                             const unsigned int /*component*/) const
   {
     AssertThrow(false,
                 ExcNotImplemented());
-    return std_cxx11::array<double, 6>();
+    return std::array<double, 6>();
   }
 
 
index 4f4e8d9dca3cfb21c164497a7992e8cae190a1f7..c90e33aa3738a8530109c469d89a4bcf57cc558b 100644 (file)
@@ -40,10 +40,10 @@ namespace GeometricUtilities
 
 
     template <int dim>
-    std_cxx11::array<double,dim>
+    std::array<double,dim>
     to_spherical(const Point<dim> &position)
     {
-      std_cxx11::array<double,dim> scoord;
+      std::array<double,dim> scoord;
 
       // radius
       scoord[0] = position.norm();
@@ -67,7 +67,7 @@ namespace GeometricUtilities
 
     template <std::size_t dim>
     Point<dim>
-    from_spherical(const std_cxx11::array<double,dim> &scoord)
+    from_spherical(const std::array<double,dim> &scoord)
     {
       Point<dim> ccoord;
 
@@ -104,10 +104,10 @@ namespace GeometricUtilities
     }
 
 
-    template Point<2> from_spherical<2>(const std_cxx11::array<double,2> &);
-    template Point<3> from_spherical<3>(const std_cxx11::array<double,3> &);
-    template std_cxx11::array<double,2> to_spherical<2>(const Point<2> &);
-    template std_cxx11::array<double,3> to_spherical<3>(const Point<3> &);
+    template Point<2> from_spherical<2>(const std::array<double,2> &);
+    template Point<3> from_spherical<3>(const std::array<double,3> &);
+    template std::array<double,2> to_spherical<2>(const Point<2> &);
+    template std::array<double,3> to_spherical<3>(const Point<3> &);
 
   }
 }
index bf4f0ed0b8a5fa3aa4e4384cd03b6696267d45dc..e1c6bfd40e217f1829cf130df8000fac9e8a5ff5 100644 (file)
@@ -713,7 +713,7 @@ namespace Patterns
         std::string str;
         std::getline(is, str, '>');
 
-        std_cxx11::shared_ptr<PatternBase> base_pattern (pattern_factory(str));
+        std::shared_ptr<PatternBase> base_pattern (pattern_factory(str));
 
         is.ignore(strlen(" of length "));
         if (!(is >> min_elements))
@@ -932,8 +932,8 @@ namespace Patterns
         std::string value = str;
         value.erase (0, value.find(":")+1);
 
-        std_cxx11::shared_ptr<PatternBase> key_pattern (pattern_factory(key));
-        std_cxx11::shared_ptr<PatternBase> value_pattern (pattern_factory(value));
+        std::shared_ptr<PatternBase> key_pattern (pattern_factory(key));
+        std::shared_ptr<PatternBase> value_pattern (pattern_factory(value));
 
         is.ignore(strlen(" of length "));
         if (!(is >> min_elements))
@@ -1832,7 +1832,7 @@ namespace
   read_xml_recursively (const boost::property_tree::ptree &source,
                         const std::string                 &current_path,
                         const char                         path_separator,
-                        const std::vector<std_cxx11::shared_ptr<const Patterns::PatternBase> > &
+                        const std::vector<std::shared_ptr<const Patterns::PatternBase> > &
                         patterns,
                         boost::property_tree::ptree       &destination)
   {
@@ -2000,7 +2000,7 @@ ParameterHandler::declare_entry (const std::string           &entry,
 
   // clone the pattern and store its
   // index in the node
-  patterns.push_back (std_cxx11::shared_ptr<const Patterns::PatternBase>
+  patterns.push_back (std::shared_ptr<const Patterns::PatternBase>
                       (pattern.clone()));
   entries->put (get_current_full_path(entry) + path_separator + "pattern",
                 static_cast<unsigned int>(patterns.size()-1));
index 546fea9d0ca7d6068acfd803ee4762256ce72da8..2ec390e1db63a8ecc3c935b282d64b1ba06c65f4 100644 (file)
@@ -370,7 +370,7 @@ namespace Polynomials
     // need to transform p into standard form as
     // well if necessary. copy the polynomial to
     // do this
-    std_cxx11::shared_ptr<Polynomial<number> > q_data;
+    std::shared_ptr<Polynomial<number> > q_data;
     const Polynomial<number> *q = 0;
     if (p.in_lagrange_product_form == true)
       {
@@ -414,7 +414,7 @@ namespace Polynomials
     // need to transform p into standard form as
     // well if necessary. copy the polynomial to
     // do this
-    std_cxx11::shared_ptr<Polynomial<number> > q_data;
+    std::shared_ptr<Polynomial<number> > q_data;
     const Polynomial<number> *q = 0;
     if (p.in_lagrange_product_form == true)
       {
@@ -450,7 +450,7 @@ namespace Polynomials
     // need to transform p into standard form as
     // well if necessary. copy the polynomial to
     // do this
-    std_cxx11::shared_ptr<Polynomial<number> > q_data;
+    std::shared_ptr<Polynomial<number> > q_data;
     const Polynomial<number> *q = 0;
     if (p.in_lagrange_product_form == true)
       {
@@ -597,7 +597,7 @@ namespace Polynomials
     if (degree() == 0)
       return Monomial<number>(0, 0.);
 
-    std_cxx11::shared_ptr<Polynomial<number> > q_data;
+    std::shared_ptr<Polynomial<number> > q_data;
     const Polynomial<number> *q = 0;
     if (in_lagrange_product_form == true)
       {
@@ -623,7 +623,7 @@ namespace Polynomials
   {
     // no simple form possible for Lagrange
     // polynomial on product form
-    std_cxx11::shared_ptr<Polynomial<number> > q_data;
+    std::shared_ptr<Polynomial<number> > q_data;
     const Polynomial<number> *q = 0;
     if (in_lagrange_product_form == true)
       {
@@ -973,7 +973,7 @@ namespace Polynomials
 
 // Reserve space for polynomials up to degree 19. Should be sufficient
 // for the start.
-  std::vector<std_cxx11::shared_ptr<const std::vector<double> > >
+  std::vector<std::shared_ptr<const std::vector<double> > >
   Hierarchical::recursive_coefficients(20);
 
 
@@ -1050,9 +1050,9 @@ namespace Polynomials
             // now make these arrays
             // const
             recursive_coefficients[0] =
-              std_cxx11::shared_ptr<const std::vector<double> >(c0);
+              std::shared_ptr<const std::vector<double> >(c0);
             recursive_coefficients[1] =
-              std_cxx11::shared_ptr<const std::vector<double> >(c1);
+              std::shared_ptr<const std::vector<double> >(c1);
           }
         else if (k==2)
           {
@@ -1069,7 +1069,7 @@ namespace Polynomials
             (*c2)[2] =   4.*a;
 
             recursive_coefficients[2] =
-              std_cxx11::shared_ptr<const std::vector<double> >(c2);
+              std::shared_ptr<const std::vector<double> >(c2);
           }
         else
           {
@@ -1113,7 +1113,7 @@ namespace Polynomials
             // const pointer in the
             // coefficients array
             recursive_coefficients[k] =
-              std_cxx11::shared_ptr<const std::vector<double> >(ck);
+              std::shared_ptr<const std::vector<double> >(ck);
           };
       };
   }
index 0a1d7c505c036db27f652e34dabf8318a4181c2e..5b4eba3886cb5aef43b88d205eb3cf0277396892 100644 (file)
 #include <deal.II/base/quadrature_lib.h>
 #include <deal.II/base/geometry_info.h>
 
-#include <deal.II/base/std_cxx11/bind.h>
-
 #include <cmath>
 #include <limits>
 #include <algorithm>
+#include <functional>
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -935,10 +934,10 @@ QSorted<dim>::QSorted(const Quadrature<dim> &quad) :
 
   std::sort(permutation.begin(),
             permutation.end(),
-            std_cxx11::bind(&QSorted<dim>::compare_weights,
-                            std_cxx11::ref(*this),
-                            std_cxx11::_1,
-                            std_cxx11::_2));
+            std::bind(&QSorted<dim>::compare_weights,
+                      std::ref(*this),
+                      std::placeholders::_1,
+                      std::placeholders::_2));
 
   for (unsigned int i=0; i<quad.size(); ++i)
     {
index af0fa4dcf3cca129fac7f08500ed3a49478aede9..00ff6cac42a10e00c0991ceed28d02d3194a3ed0 100644 (file)
@@ -17,7 +17,8 @@
 #include <deal.II/base/polynomials_piecewise.h>
 #include <deal.II/base/exceptions.h>
 #include <deal.II/base/table.h>
-#include <deal.II/base/std_cxx11/array.h>
+
+#include <array>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -334,9 +335,9 @@ compute (const Point<dim>            &p,
   // derivatives, up to the 4th derivative, for up to 20 polynomials).
   // If someone uses a larger number of
   // polynomials, we need to allocate more memory on the heap.
-  std_cxx11::array<std_cxx11::array<double,5>, dim> *v;
-  std_cxx11::array<std_cxx11::array<std_cxx11::array<double,5>, dim>, 20> small_array;
-  std::vector<std_cxx11::array<std_cxx11::array<double,5>, dim> > large_array;
+  std::array<std::array<double,5>, dim> *v;
+  std::array<std::array<std::array<double,5>, dim>, 20> small_array;
+  std::vector<std::array<std::array<double,5>, dim> > large_array;
 
   const unsigned int n_polynomials = polynomials.size();
   if (n_polynomials > 20)
index 480d50afb01f03ce6155880673b287f9072f5e25..da791ed39a1feb2a07a59c0136761d2f85bef2c6 100644 (file)
@@ -15,7 +15,6 @@
 
 
 #include <deal.II/base/utilities.h>
-#include <deal.II/base/std_cxx11/bind.h>
 #include <deal.II/lac/vector.h>
 #include <deal.II/lac/block_vector.h>
 #include <deal.II/lac/petsc_vector.h>
@@ -35,6 +34,7 @@
 #include <numeric>
 #include <algorithm>
 #include <limits>
+#include <functional>
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -298,9 +298,9 @@ namespace
           unsigned int
           my_count = std::count_if (criteria.begin(),
                                     criteria.end(),
-                                    std_cxx11::bind (std::greater<double>(),
-                                                     std_cxx11::_1,
-                                                     test_threshold));
+                                    std::bind (std::greater<double>(),
+                                               std::placeholders::_1,
+                                               test_threshold));
 
           unsigned int total_count;
           ierr = MPI_Reduce (&my_count, &total_count, 1, MPI_UNSIGNED,
index 2d27035f87ec6f01f8abddedf903bb788453c15b..50fc14f7d413aa8b01de8abbd2804a759a297f44 100644 (file)
@@ -59,7 +59,7 @@ namespace parallel
         {
           // get halo layer of (ghost) cells
           // parallel::shared::Triangulation<dim>::
-          std_cxx11::function<bool (const typename parallel::shared::Triangulation<dim,spacedim>::active_cell_iterator &)> predicate
+          std::function<bool (const typename parallel::shared::Triangulation<dim,spacedim>::active_cell_iterator &)> predicate
             = IteratorFilters::SubdomainEqualTo(this->my_subdomain);
 
           const std::vector<typename parallel::shared::Triangulation<dim,spacedim>::active_cell_iterator>
index 5c05da9303799730b989b1e6fb4cb0b1210e0132..99b9628a0f24c4453cf79a335f1b7c82ed620c9b 100644 (file)
@@ -34,7 +34,7 @@
 #include <deal.II/grid/tria_accessor.h>
 #include <deal.II/grid/tria_iterator.h>
 
-#include <deal.II/base/std_cxx11/bind.h>
+#include <functional>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -88,12 +88,12 @@ namespace parallel
 
       offset
         = tria->register_data_attach(size,
-                                     std_cxx11::bind(&SolutionTransfer<dim, VectorType,
-                                                     DoFHandlerType>::pack_callback,
-                                                     this,
-                                                     std_cxx11::_1,
-                                                     std_cxx11::_2,
-                                                     std_cxx11::_3));
+                                     std::bind(&SolutionTransfer<dim, VectorType,
+                                               DoFHandlerType>::pack_callback,
+                                               this,
+                                               std::placeholders::_1,
+                                               std::placeholders::_2,
+                                               std::placeholders::_3));
 
     }
 
@@ -168,13 +168,13 @@ namespace parallel
       Assert (tria != 0, ExcInternalError());
 
       tria->notify_ready_to_unpack(offset,
-                                   std_cxx11::bind(&SolutionTransfer<dim, VectorType,
-                                                   DoFHandlerType>::unpack_callback,
-                                                   this,
-                                                   std_cxx11::_1,
-                                                   std_cxx11::_2,
-                                                   std_cxx11::_3,
-                                                   std_cxx11::ref(all_out)));
+                                   std::bind(&SolutionTransfer<dim, VectorType,
+                                             DoFHandlerType>::unpack_callback,
+                                             this,
+                                             std::placeholders::_1,
+                                             std::placeholders::_2,
+                                             std::placeholders::_3,
+                                             std::ref(all_out)));
 
 
       for (typename std::vector<VectorType *>::iterator it=all_out.begin();
index 42dce645f64e88c65834130ad202d8186e6f54b8..ebb8cab5cb50ea6458605352c5c35a9538470773 100644 (file)
@@ -555,13 +555,13 @@ namespace
   attach_mesh_data_recursively (const typename internal::p4est::types<dim>::tree &tree,
                                 const typename Triangulation<dim,spacedim>::cell_iterator &dealii_cell,
                                 const typename internal::p4est::types<dim>::quadrant &p4est_cell,
-                                const typename std::list<std::pair<unsigned int, typename std_cxx11::function<
+                                const typename std::list<std::pair<unsigned int, typename std::function<
                                 void(typename parallel::distributed::Triangulation<dim,spacedim>::cell_iterator,
                                      typename parallel::distributed::Triangulation<dim,spacedim>::CellStatus,
                                      void *)
                                 > > > &attached_data_pack_callbacks)
   {
-    typedef std::list<std::pair<unsigned int, typename std_cxx11::function<
+    typedef std::list<std::pair<unsigned int, typename std::function<
     void(typename parallel::distributed::Triangulation<dim,spacedim>::cell_iterator,
          typename parallel::distributed::Triangulation<dim,spacedim>::CellStatus,
          void *)
@@ -796,7 +796,7 @@ namespace
                               const typename Triangulation<dim,spacedim>::cell_iterator &parent_cell,
                               const typename internal::p4est::types<dim>::quadrant &p4est_cell,
                               const unsigned int offset,
-                              const typename std_cxx11::function<
+                              const typename std::function<
                               void(typename parallel::distributed::Triangulation<dim,spacedim>::cell_iterator, typename parallel::distributed::Triangulation<dim,spacedim>::CellStatus, void *)
                               > &unpack_callback)
   {
@@ -3275,9 +3275,9 @@ namespace parallel
     unsigned int
     Triangulation<dim,spacedim>::
     register_data_attach (const std::size_t size,
-                          const std_cxx11::function<void(const cell_iterator &,
-                                                         const CellStatus,
-                                                         void *)> &pack_callback)
+                          const std::function<void(const cell_iterator &,
+                                                   const CellStatus,
+                                                   void *)> &pack_callback)
     {
       Assert(size>0, ExcMessage("register_data_attach(), size==0"));
       Assert(attached_data_pack_callbacks.size()==n_attached_datas,
@@ -3298,9 +3298,9 @@ namespace parallel
     void
     Triangulation<dim,spacedim>::
     notify_ready_to_unpack (const unsigned int offset,
-                            const std_cxx11::function<void (const cell_iterator &,
-                                                            const CellStatus,
-                                                            const void *)> &unpack_callback)
+                            const std::function<void (const cell_iterator &,
+                                                      const CellStatus,
+                                                      const void *)> &unpack_callback)
     {
       Assert (offset >= sizeof(CellStatus),
               ExcMessage ("invalid offset in notify_ready_to_unpack()"));
index 3475ddf8da36e58a62ae3e7c12c3f20c47054a7d..19314c16c14bcf35d18350d67f17be3ffb1fa8ab 100644 (file)
@@ -1270,7 +1270,7 @@ namespace DoFTools
          subdomain_id < n_subdomains; ++subdomain_id)
       {
         // Extract the layer of cells around this subdomain
-        std_cxx11::function<bool (const typename DoFHandlerType::active_cell_iterator &)> predicate
+        std::function<bool (const typename DoFHandlerType::active_cell_iterator &)> predicate
           = IteratorFilters::SubdomainEqualTo(subdomain_id);
         const std::vector<typename DoFHandlerType::active_cell_iterator>
         active_halo_layer = GridTools::compute_active_cell_halo_layer (dof_handler,
index 07c8ecbd05668f099fdd6b67b92caaa4cbe81ad9..2960525c8cca7bb6abb3940767e683790d6b3cc5 100644 (file)
@@ -13,7 +13,6 @@
 //
 // ---------------------------------------------------------------------
 
-#include <deal.II/base/std_cxx1x/array.h>
 #include <deal.II/base/thread_management.h>
 #include <deal.II/base/table.h>
 #include <deal.II/base/template_constraints.h>
@@ -39,6 +38,7 @@
 #endif
 
 #include <algorithm>
+#include <array>
 #include <numeric>
 
 DEAL_II_NAMESPACE_OPEN
@@ -308,11 +308,11 @@ namespace DoFTools
       ensure_existence_of_master_dof_mask (const FiniteElement<dim,spacedim> &fe1,
                                            const FiniteElement<dim,spacedim> &fe2,
                                            const FullMatrix<double> &face_interpolation_matrix,
-                                           std_cxx11::shared_ptr<std::vector<bool> > &master_dof_mask)
+                                           std::shared_ptr<std::vector<bool> > &master_dof_mask)
       {
-        if (master_dof_mask == std_cxx11::shared_ptr<std::vector<bool> >())
+        if (master_dof_mask == std::shared_ptr<std::vector<bool> >())
           {
-            master_dof_mask = std_cxx11::shared_ptr<std::vector<bool> >
+            master_dof_mask = std::shared_ptr<std::vector<bool> >
                               (new std::vector<bool> (fe1.dofs_per_face));
             select_master_dofs_for_face_restriction (fe1,
                                                      fe2,
@@ -333,11 +333,11 @@ namespace DoFTools
       void
       ensure_existence_of_face_matrix (const FiniteElement<dim,spacedim> &fe1,
                                        const FiniteElement<dim,spacedim> &fe2,
-                                       std_cxx11::shared_ptr<FullMatrix<double> > &matrix)
+                                       std::shared_ptr<FullMatrix<double> > &matrix)
       {
-        if (matrix == std_cxx11::shared_ptr<FullMatrix<double> >())
+        if (matrix == std::shared_ptr<FullMatrix<double> >())
           {
-            matrix = std_cxx11::shared_ptr<FullMatrix<double> >
+            matrix = std::shared_ptr<FullMatrix<double> >
                      (new FullMatrix<double> (fe2.dofs_per_face,
                                               fe1.dofs_per_face));
             fe1.get_face_interpolation_matrix (fe2,
@@ -355,11 +355,11 @@ namespace DoFTools
       ensure_existence_of_subface_matrix (const FiniteElement<dim,spacedim> &fe1,
                                           const FiniteElement<dim,spacedim> &fe2,
                                           const unsigned int        subface,
-                                          std_cxx11::shared_ptr<FullMatrix<double> > &matrix)
+                                          std::shared_ptr<FullMatrix<double> > &matrix)
       {
-        if (matrix == std_cxx11::shared_ptr<FullMatrix<double> >())
+        if (matrix == std::shared_ptr<FullMatrix<double> >())
           {
-            matrix = std_cxx11::shared_ptr<FullMatrix<double> >
+            matrix = std::shared_ptr<FullMatrix<double> >
                      (new FullMatrix<double> (fe2.dofs_per_face,
                                               fe1.dofs_per_face));
             fe1.get_subface_interpolation_matrix (fe2,
@@ -378,7 +378,7 @@ namespace DoFTools
       void
       ensure_existence_of_split_face_matrix (const FullMatrix<double> &face_interpolation_matrix,
                                              const std::vector<bool> &master_dof_mask,
-                                             std_cxx11::shared_ptr<std::pair<FullMatrix<double>,FullMatrix<double> > > &split_matrix)
+                                             std::shared_ptr<std::pair<FullMatrix<double>,FullMatrix<double> > > &split_matrix)
       {
         AssertDimension (master_dof_mask.size(), face_interpolation_matrix.m());
         Assert (std::count (master_dof_mask.begin(), master_dof_mask.end(), true) ==
@@ -386,10 +386,10 @@ namespace DoFTools
                 ExcInternalError());
 
         if (split_matrix ==
-            std_cxx11::shared_ptr<std::pair<FullMatrix<double>,FullMatrix<double> > >())
+            std::shared_ptr<std::pair<FullMatrix<double>,FullMatrix<double> > >())
           {
             split_matrix
-              = std_cxx11::shared_ptr<std::pair<FullMatrix<double>,FullMatrix<double> > >
+              = std::shared_ptr<std::pair<FullMatrix<double>,FullMatrix<double> > >
                 (new std::pair<FullMatrix<double>,FullMatrix<double> >());
 
             const unsigned int n_master_dofs = face_interpolation_matrix.n();
@@ -1075,10 +1075,10 @@ namespace DoFTools
       // different (or the same) finite elements. we compute them only
       // once, namely the first time they are needed, and then just reuse
       // them
-      Table<2,std_cxx11::shared_ptr<FullMatrix<double> > >
+      Table<2,std::shared_ptr<FullMatrix<double> > >
       face_interpolation_matrices (n_finite_elements (dof_handler),
                                    n_finite_elements (dof_handler));
-      Table<3,std_cxx11::shared_ptr<FullMatrix<double> > >
+      Table<3,std::shared_ptr<FullMatrix<double> > >
       subface_interpolation_matrices (n_finite_elements (dof_handler),
                                       n_finite_elements (dof_handler),
                                       GeometryInfo<dim>::max_children_per_face);
@@ -1087,14 +1087,14 @@ namespace DoFTools
       // master and slave parts, and for which the master part is inverted.
       // these two matrices are derived from the face interpolation matrix
       // as described in the @ref hp_paper "hp paper"
-      Table<2,std_cxx11::shared_ptr<std::pair<FullMatrix<double>,FullMatrix<double> > > >
+      Table<2,std::shared_ptr<std::pair<FullMatrix<double>,FullMatrix<double> > > >
       split_face_interpolation_matrices (n_finite_elements (dof_handler),
                                          n_finite_elements (dof_handler));
 
       // finally, for each pair of finite elements, have a mask that states
       // which of the degrees of freedom on the coarse side of a refined
       // face will act as master dofs.
-      Table<2,std_cxx11::shared_ptr<std::vector<bool> > >
+      Table<2,std::shared_ptr<std::vector<bool> > >
       master_dof_masks (n_finite_elements (dof_handler),
                         n_finite_elements (dof_handler));
 
@@ -2099,7 +2099,7 @@ namespace DoFTools
 
       // have an array that stores the location of each vector-dof tuple
       // we want to rotate.
-      typedef std_cxx1x::array<unsigned int, spacedim> DoFTuple;
+      typedef std::array<unsigned int, spacedim> DoFTuple;
 
       // start with a pristine interpolation matrix...
       FullMatrix<double> transformation = IdentityMatrix(n_dofs_per_face);
@@ -2738,21 +2738,21 @@ namespace DoFTools
 
         WorkStream::run(coarse_grid.begin_active(),
                         coarse_grid.end(),
-                        std_cxx11::bind(&compute_intergrid_weights_3<dim,spacedim>,
-                                        std_cxx11::_1,
-                                        std_cxx11::_2,
-                                        std_cxx11::_3,
-                                        coarse_component,
-                                        std_cxx11::cref(coarse_grid.get_fe()),
-                                        std_cxx11::cref(coarse_to_fine_grid_map),
-                                        std_cxx11::cref(parameter_dofs)),
-                        std_cxx11::bind(&copy_intergrid_weights_3<dim,spacedim>,
-                                        std_cxx11::_1,
-                                        coarse_component,
-                                        std_cxx11::cref(coarse_grid.get_fe()),
-                                        std_cxx11::cref(weight_mapping),
-                                        is_called_in_parallel,
-                                        std_cxx11::ref(weights)),
+                        std::bind(&compute_intergrid_weights_3<dim,spacedim>,
+                                  std::placeholders::_1,
+                                  std::placeholders::_2,
+                                  std::placeholders::_3,
+                                  coarse_component,
+                                  std::cref(coarse_grid.get_fe()),
+                                  std::cref(coarse_to_fine_grid_map),
+                                  std::cref(parameter_dofs)),
+                        std::bind(&copy_intergrid_weights_3<dim,spacedim>,
+                                  std::placeholders::_1,
+                                  coarse_component,
+                                  std::cref(coarse_grid.get_fe()),
+                                  std::cref(weight_mapping),
+                                  is_called_in_parallel,
+                                  std::ref(weights)),
                         scratch,
                         copy_data);
 
@@ -3199,7 +3199,7 @@ namespace DoFTools
     // now compute the requested representation
     const types::global_dof_index n_global_parm_dofs
       = std::count_if (weight_mapping.begin(), weight_mapping.end(),
-                       std_cxx11::bind (std::not_equal_to<types::global_dof_index>(), std_cxx11::_1, numbers::invalid_dof_index));
+                       std::bind (std::not_equal_to<types::global_dof_index>(), std::placeholders::_1, numbers::invalid_dof_index));
 
     // first construct the inverse mapping of weight_mapping
     std::vector<types::global_dof_index> inverse_weight_mapping (n_global_parm_dofs,
index 07fafdf73ac4c04274af7f997de5f2716fb5974d..6b2bdd88a5dfca3b27d0cfcb32b0ff00d61d5556 100644 (file)
@@ -88,9 +88,9 @@ FiniteElement (const FiniteElementData<dim> &fe_data,
   n_nonzero_components_table (compute_n_nonzero_components(nonzero_components)),
   cached_primitivity (std::find_if (n_nonzero_components_table.begin(),
                                     n_nonzero_components_table.end(),
-                                    std_cxx11::bind (std::not_equal_to<unsigned int>(),
-                                                     std_cxx11::_1,
-                                                     1U))
+                                    std::bind (std::not_equal_to<unsigned int>(),
+                                               std::placeholders::_1,
+                                               1U))
                       == n_nonzero_components_table.end())
 {
   Assert (restriction_is_additive_flags.size() == this->dofs_per_cell,
index 43753aaf1406086dcd5526f53f8e771915ab76f8..b2e10eab297939ea7f27ebd08ce0a241abf27790 100644 (file)
@@ -87,7 +87,7 @@ FE_P1NC::get_dpo_vector ()
 
 
 
-std_cxx11::array<std_cxx11::array<double,3>,4>
+std::array<std::array<double,3>,4>
 FE_P1NC::get_linear_shape_coefficients (const Triangulation<2,2>::cell_iterator &cell)
 {
   // edge midpoints
@@ -105,7 +105,7 @@ FE_P1NC::get_linear_shape_coefficients (const Triangulation<2,2>::cell_iterator
 
   const double det = (mpt[0](0)-mpt[1](0))*(mpt[2](1)-mpt[3](1)) - (mpt[2](0)-mpt[3](0))*(mpt[0](1)-mpt[1](1));
 
-  std_cxx11::array<std_cxx11::array<double,3>,4> coeffs;
+  std::array<std::array<double,3>,4> coeffs;
   coeffs[0][0] = ((mpt[2](1)-mpt[3](1))*(0.5) -(mpt[0](1)-mpt[1](1))*(0.5))/det;
   coeffs[1][0] = ((mpt[2](1)-mpt[3](1))*(-0.5) -(mpt[0](1)-mpt[1](1))*(0.5))/det;
   coeffs[2][0] = ((mpt[2](1)-mpt[3](1))*(0.5) -(mpt[0](1)-mpt[1](1))*(-0.5))/det;
@@ -207,7 +207,7 @@ FE_P1NC::fill_fe_values (const Triangulation<2,2>::cell_iterator           &cell
   const unsigned int n_q_points = mapping_data.quadrature_points.size();
 
   // linear shape functions
-  std_cxx11::array<std_cxx11::array<double,3>,4> coeffs = get_linear_shape_coefficients (cell);
+  std::array<std::array<double,3>,4> coeffs = get_linear_shape_coefficients (cell);
 
   // compute on the cell
   if (flags & update_values)
@@ -239,7 +239,7 @@ FE_P1NC::fill_fe_face_values (const Triangulation<2,2>::cell_iterator
   const UpdateFlags flags(fe_internal.update_each);
 
   // linear shape functions
-  const std_cxx11::array<std_cxx11::array<double,3>,4> coeffs
+  const std::array<std::array<double,3>,4> coeffs
     = get_linear_shape_coefficients (cell);
 
   // compute on the face
@@ -280,7 +280,7 @@ FE_P1NC::fill_fe_subface_values (const Triangulation<2,2>::cell_iterator
   const UpdateFlags flags(fe_internal.update_each);
 
   // linear shape functions
-  const std_cxx11::array<std_cxx11::array<double,3>,4> coeffs
+  const std::array<std::array<double,3>,4> coeffs
     = get_linear_shape_coefficients (cell);
 
   // compute on the subface
index ffd47d35b702fbb70908795269653aeb30e2e5c6..da85d736f25fb706aff7d2f3855ddfca64347e21 100644 (file)
@@ -17,7 +17,6 @@
 #include <deal.II/base/quadrature.h>
 #include <deal.II/base/qprojector.h>
 #include <deal.II/base/template_constraints.h>
-#include <deal.II/base/std_cxx11/unique_ptr.h>
 #include <deal.II/fe/fe_q_bubbles.h>
 #include <deal.II/fe/fe_nothing.h>
 #include <deal.II/fe/fe_tools.h>
@@ -33,6 +32,7 @@
 
 #include <vector>
 #include <sstream>
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -52,7 +52,7 @@ namespace FE_Q_Bubbles_Helper
       const unsigned int degree = fe.degree;
 
       // Initialize quadrature formula on fine cells
-      std_cxx11::unique_ptr<Quadrature<dim> > q_fine;
+      std::unique_ptr<Quadrature<dim> > q_fine;
       Quadrature<1> q_dummy(std::vector<Point<1> >(1), std::vector<double> (1,1.));
       switch (dim)
         {
index f88f90ffa49510c5658df4e10cd4536889783255..f0697dd4470f54c7eb5a65c52fee8e396ba213d4 100644 (file)
@@ -1481,7 +1481,7 @@ void FESystem<dim,spacedim>::initialize (const std::vector<const FiniteElement<d
       if (multiplicities[i]>0)
         {
           base_elements[ind] =
-            std::make_pair (std_cxx11::shared_ptr<const FiniteElement<dim,spacedim> >
+            std::make_pair (std::shared_ptr<const FiniteElement<dim,spacedim> >
                             (clone_base_elements[ind].return_value()),
                             multiplicities[i]);
           ++ind;
index 20e2587b041da3fb2192113510f0e091f4f47589..c9344e3fd37aea30ba6480ddef1edea587a785d7 100644 (file)
 #include <deal.II/dofs/dof_tools.h>
 #include <deal.II/hp/dof_handler.h>
 
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 
 #include <deal.II/base/index_set.h>
 
 #include <cctype>
 #include <iostream>
+#include <memory>
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -1061,9 +1061,9 @@ namespace
 
   template <int dim>
   void
-  fill_no_codim_fe_names (std::map<std::string,std_cxx11::shared_ptr<const Subscriptor> > &result)
+  fill_no_codim_fe_names (std::map<std::string,std::shared_ptr<const Subscriptor> > &result)
   {
-    typedef std_cxx11::shared_ptr<const Subscriptor> FEFactoryPointer;
+    typedef std::shared_ptr<const Subscriptor> FEFactoryPointer;
 
     result["FE_Q_Hierarchical"]
       = FEFactoryPointer(new FETools::FEFactory<FE_Q_Hierarchical<dim> >);
@@ -1124,9 +1124,9 @@ namespace
   // nonzero codimension.
   template <int dim, int spacedim>
   void
-  fill_codim_fe_names (std::map<std::string,std_cxx11::shared_ptr<const Subscriptor> > &result)
+  fill_codim_fe_names (std::map<std::string,std::shared_ptr<const Subscriptor> > &result)
   {
-    typedef std_cxx11::shared_ptr<const Subscriptor> FEFactoryPointer;
+    typedef std::shared_ptr<const Subscriptor> FEFactoryPointer;
 
     result["FE_Bernstein"]
       = FEFactoryPointer(new FETools::FEFactory<FE_Bernstein<dim,spacedim> >);
@@ -1160,12 +1160,12 @@ namespace
   // by the functions above.
   std::vector<std::vector<
   std::map<std::string,
-      std_cxx11::shared_ptr<const Subscriptor> > > >
+      std::shared_ptr<const Subscriptor> > > >
       fill_default_map()
   {
     std::vector<std::vector<
     std::map<std::string,
-        std_cxx11::shared_ptr<const Subscriptor> > > >
+        std::shared_ptr<const Subscriptor> > > >
         result(4);
 
     for (unsigned int d=0; d<4; ++d)
@@ -1217,7 +1217,7 @@ namespace
   static
   std::vector<std::vector<
   std::map<std::string,
-      std_cxx11::shared_ptr<const Subscriptor> > > >
+      std::shared_ptr<const Subscriptor> > > >
       fe_name_map = fill_default_map();
 }
 
@@ -2303,7 +2303,7 @@ namespace FETools
     // Insert the normalized name into
     // the map
     fe_name_map[dim][spacedim][name] =
-      std_cxx11::shared_ptr<const Subscriptor> (factory);
+      std::shared_ptr<const Subscriptor> (factory);
   }
 
 
@@ -2319,7 +2319,7 @@ namespace FETools
       FiniteElement<dim,spacedim> *
       get_fe_by_name_ext (std::string &name,
                           const std::map<std::string,
-                          std_cxx11::shared_ptr<const Subscriptor> >
+                          std::shared_ptr<const Subscriptor> >
                           &fe_name_map)
       {
         // Extract the name of the
index 15f3e920d345dfa179cf7077bb7bdcb1eee0ee6b..7f5f1fd6dc82402e294e0eebaef1046405e85a36 100644 (file)
 #include <deal.II/dofs/dof_tools.h>
 #include <deal.II/hp/dof_handler.h>
 
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 
 #include <deal.II/base/index_set.h>
 
 #include <iostream>
+#include <memory>
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -113,7 +113,7 @@ namespace FETools
     // that memory is released again
     std::map<const FiniteElement<dim,spacedim> *,
         std::map<const FiniteElement<dim,spacedim> *,
-        std_cxx11::shared_ptr<FullMatrix<double> > > >
+        std::shared_ptr<FullMatrix<double> > > >
         interpolation_matrices;
 
     typename DoFHandlerType1<dim,spacedim>::active_cell_iterator cell1 = dof1.begin_active(),
@@ -174,7 +174,7 @@ namespace FETools
           // there
           if (interpolation_matrices[&cell1->get_fe()][&cell2->get_fe()].get() == 0)
             {
-              std_cxx11::shared_ptr<FullMatrix<double> >
+              std::shared_ptr<FullMatrix<double> >
               interpolation_matrix (new FullMatrix<double> (dofs_per_cell2,
                                                             dofs_per_cell1));
               interpolation_matrices[&cell1->get_fe()][&cell2->get_fe()]
@@ -278,7 +278,7 @@ namespace FETools
     // dof1 to the back_interpolation
     // matrices
     std::map<const FiniteElement<dim> *,
-        std_cxx11::shared_ptr<FullMatrix<double> > > interpolation_matrices;
+        std::shared_ptr<FullMatrix<double> > > interpolation_matrices;
 
     for (; cell!=endc; ++cell)
       if ((cell->subdomain_id() == subdomain_id)
@@ -308,7 +308,7 @@ namespace FETools
           if (interpolation_matrices[&cell->get_fe()] == 0)
             {
               interpolation_matrices[&cell->get_fe()] =
-                std_cxx11::shared_ptr<FullMatrix<double> >
+                std::shared_ptr<FullMatrix<double> >
                 (new FullMatrix<double>(dofs_per_cell1, dofs_per_cell1));
               get_back_interpolation_matrix(cell->get_fe(), fe2,
                                             *interpolation_matrices[&cell->get_fe()]);
index 964b81365f947e10e42979fa6ac52c07540756ed..6255057241b3f3cc778bc44539b969754b7e5145 100644 (file)
@@ -17,7 +17,6 @@
 #include <deal.II/base/multithread_info.h>
 #include <deal.II/base/quadrature.h>
 #include <deal.II/base/signaling_nan.h>
-#include <deal.II/base/std_cxx11/unique_ptr.h>
 #include <deal.II/lac/vector.h>
 #include <deal.II/lac/block_vector.h>
 #include <deal.II/lac/la_vector.h>
@@ -36,6 +35,7 @@
 #include <deal.II/fe/fe.h>
 
 #include <iomanip>
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -3484,12 +3484,12 @@ maybe_invalidate_previous_present_cell (const typename Triangulation<dim,spacedi
           invalidate_present_cell();
           tria_listener_refinement =
             cell->get_triangulation().signals.any_change.connect
-            (std_cxx11::bind (&FEValuesBase<dim,spacedim>::invalidate_present_cell,
-                              std_cxx11::ref(static_cast<FEValuesBase<dim,spacedim>&>(*this))));
+            (std::bind (&FEValuesBase<dim,spacedim>::invalidate_present_cell,
+                        std::ref(static_cast<FEValuesBase<dim,spacedim>&>(*this))));
           tria_listener_mesh_transform =
             cell->get_triangulation().signals.mesh_movement.connect
-            (std_cxx11::bind (&FEValuesBase<dim,spacedim>::invalidate_present_cell,
-                              std_cxx11::ref(static_cast<FEValuesBase<dim,spacedim>&>(*this))));
+            (std::bind (&FEValuesBase<dim,spacedim>::invalidate_present_cell,
+                        std::ref(static_cast<FEValuesBase<dim,spacedim>&>(*this))));
         }
     }
   else
@@ -3499,12 +3499,12 @@ maybe_invalidate_previous_present_cell (const typename Triangulation<dim,spacedi
       // changes
       tria_listener_refinement =
         cell->get_triangulation().signals.post_refinement.connect
-        (std_cxx11::bind (&FEValuesBase<dim,spacedim>::invalidate_present_cell,
-                          std_cxx11::ref(static_cast<FEValuesBase<dim,spacedim>&>(*this))));
+        (std::bind (&FEValuesBase<dim,spacedim>::invalidate_present_cell,
+                    std::ref(static_cast<FEValuesBase<dim,spacedim>&>(*this))));
       tria_listener_mesh_transform =
         cell->get_triangulation().signals.mesh_movement.connect
-        (std_cxx11::bind (&FEValuesBase<dim,spacedim>::invalidate_present_cell,
-                          std_cxx11::ref(static_cast<FEValuesBase<dim,spacedim>&>(*this))));
+        (std::bind (&FEValuesBase<dim,spacedim>::invalidate_present_cell,
+                    std::ref(static_cast<FEValuesBase<dim,spacedim>&>(*this))));
     }
 }
 
@@ -3678,7 +3678,7 @@ namespace
   template <typename Type, typename Pointer, typename Iterator>
   void
   reset_pointer_in_place_if_possible
-  (std_cxx11::unique_ptr<Pointer> &present_cell,
+  (std::unique_ptr<Pointer> &present_cell,
    const Iterator         &new_cell)
   {
     // see if the existing pointer is non-null and if the type of
index c8e7d6405b13efaac23cdc68af67ed0147c8f2c3..ff16ef76b096a6be66aa50180141b6a95aeee8d7 100644 (file)
@@ -26,11 +26,11 @@ Mapping<dim, spacedim>::~Mapping ()
 
 
 template <int dim, int spacedim>
-std_cxx11::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
+std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
 Mapping<dim, spacedim>::get_vertices (
   const typename Triangulation<dim,spacedim>::cell_iterator &cell) const
 {
-  std_cxx11::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell> vertices;
+  std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell> vertices;
   for (unsigned int i = 0; i < GeometryInfo<dim>::vertices_per_cell; ++i)
     {
       vertices[i] = cell->vertex(i);
index 8950e44572c1fa7c6edfea4622d5b48dc6335da4..6c9ab388759f5bd1ed8b46119cddd66d3e760ceb 100644 (file)
@@ -20,7 +20,6 @@
 #include <deal.II/base/qprojector.h>
 #include <deal.II/base/memory_consumption.h>
 #include <deal.II/base/tensor_product_polynomials.h>
-#include <deal.II/base/std_cxx11/unique_ptr.h>
 #include <deal.II/lac/full_matrix.h>
 #include <deal.II/lac/vector.h>
 #include <deal.II/lac/block_vector.h>
@@ -48,6 +47,7 @@
 
 #include <numeric>
 #include <fstream>
+#include <memory>
 
 
 
@@ -1769,8 +1769,8 @@ transform_unit_to_real_cell (const typename Triangulation<dim,spacedim>::cell_it
 //  the right size and transformation shape values already computed at point
 //  p.
   const Quadrature<dim> point_quadrature(p);
-  std_cxx11::unique_ptr<InternalData> mdata (get_data(update_quadrature_points | update_jacobians,
-                                                      point_quadrature));
+  std::unique_ptr<InternalData> mdata (get_data(update_quadrature_points | update_jacobians,
+                                                point_quadrature));
 
   update_internal_dofs(cell, *mdata);
 
@@ -1830,7 +1830,7 @@ transform_real_to_unit_cell (const typename Triangulation<dim,spacedim>::cell_it
   UpdateFlags update_flags = update_quadrature_points | update_jacobians;
   if (spacedim>dim)
     update_flags |= update_jacobian_grads;
-  std_cxx11::unique_ptr<InternalData>
+  std::unique_ptr<InternalData>
   mdata (get_data(update_flags,point_quadrature));
 
   update_internal_dofs(cell, *mdata);
index e0b7e4e1ecb1b2a8cdabfa184fb1442db6d115d8..436562070d88c533774365776a3a1fc58128caa7 100644 (file)
@@ -20,8 +20,6 @@
 #include <deal.II/base/quadrature_lib.h>
 #include <deal.II/base/tensor_product_polynomials.h>
 #include <deal.II/base/memory_consumption.h>
-#include <deal.II/base/std_cxx11/array.h>
-#include <deal.II/base/std_cxx11/unique_ptr.h>
 #include <deal.II/lac/full_matrix.h>
 #include <deal.II/grid/tria.h>
 #include <deal.II/grid/tria_iterator.h>
@@ -37,6 +35,8 @@
 #include <cmath>
 #include <algorithm>
 #include <numeric>
+#include <array>
+#include <memory>
 
 
 DEAL_II_NAMESPACE_OPEN
index 12d4ea6e03d272481823fea99afd256685aa1780..a567704aad0112b471849badbe39d8276e631e01 100644 (file)
@@ -19,7 +19,6 @@
 #include <deal.II/base/quadrature_lib.h>
 #include <deal.II/base/memory_consumption.h>
 #include <deal.II/base/tensor_product_polynomials.h>
-#include <deal.II/base/std_cxx11/unique_ptr.h>
 #include <deal.II/lac/full_matrix.h>
 #include <deal.II/grid/tria_iterator.h>
 #include <deal.II/dofs/dof_accessor.h>
@@ -28,6 +27,7 @@
 #include <deal.II/fe/fe_values.h>
 
 #include <numeric>
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -76,7 +76,7 @@ MappingQ<dim,spacedim>::MappingQ (const unsigned int degree,
   // created via the shared_ptr objects
   qp_mapping (this->polynomial_degree>1
               ?
-              std_cxx11::shared_ptr<const MappingQGeneric<dim,spacedim> >(new MappingQGeneric<dim,spacedim>(degree))
+              std::shared_ptr<const MappingQGeneric<dim,spacedim> >(new MappingQGeneric<dim,spacedim>(degree))
               :
               q1_mapping)
 {}
@@ -95,7 +95,7 @@ MappingQ<dim,spacedim>::MappingQ (const MappingQ<dim,spacedim> &mapping)
   // created via the shared_ptr objects
   qp_mapping (this->polynomial_degree>1
               ?
-              std_cxx11::shared_ptr<const MappingQGeneric<dim,spacedim> >(dynamic_cast<MappingQGeneric<dim,spacedim>*>(mapping.qp_mapping->clone()))
+              std::shared_ptr<const MappingQGeneric<dim,spacedim> >(dynamic_cast<MappingQGeneric<dim,spacedim>*>(mapping.qp_mapping->clone()))
               :
               q1_mapping)
 {}
index fdbda6f56e7868c84316f3a4df8e61bd464fc163..b8cd975c96a375ecca059bcca186d6dddbef9243 100644 (file)
@@ -20,8 +20,6 @@
 #include <deal.II/base/quadrature_lib.h>
 #include <deal.II/base/tensor_product_polynomials.h>
 #include <deal.II/base/memory_consumption.h>
-#include <deal.II/base/std_cxx11/array.h>
-#include <deal.II/base/std_cxx11/unique_ptr.h>
 #include <deal.II/lac/full_matrix.h>
 #include <deal.II/grid/tria.h>
 #include <deal.II/grid/tria_iterator.h>
@@ -33,6 +31,8 @@
 
 #include <cmath>
 #include <algorithm>
+#include <array>
+#include <memory>
 
 
 DEAL_II_NAMESPACE_OPEN
index 939cee24fc99ac786726e36b431672938b05790a..86493258149826e5fe6947c59efc1e1c91a21943 100644 (file)
@@ -13,7 +13,6 @@
 //
 // ---------------------------------------------------------------------
 
-#include <deal.II/base/std_cxx11/array.h>
 #include <deal.II/fe/mapping_q1_eulerian.h>
 #include <deal.II/lac/vector.h>
 #include <deal.II/lac/block_vector.h>
@@ -30,6 +29,9 @@
 #include <deal.II/dofs/dof_accessor.h>
 #include <deal.II/fe/fe.h>
 
+
+#include <array>
+
 DEAL_II_NAMESPACE_OPEN
 
 
@@ -57,12 +59,12 @@ MappingQ1Eulerian (const VectorType               &euler_transform_vectors,
 
 
 template <int dim, class VectorType, int spacedim>
-std_cxx11::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
+std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
 MappingQ1Eulerian<dim, VectorType, spacedim>::
 get_vertices
 (const typename Triangulation<dim,spacedim>::cell_iterator &cell) const
 {
-  std_cxx11::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell> vertices;
+  std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell> vertices;
   // The assertions can not be in the constructor, since this would
   // require to call dof_handler.distribute_dofs(fe) *before* the mapping
   // object is constructed, which is not necessarily what we want.
@@ -110,7 +112,7 @@ std::vector<Point<spacedim> >
 MappingQ1Eulerian<dim,VectorType,spacedim>::
 compute_mapping_support_points(const typename Triangulation<dim,spacedim>::cell_iterator &cell) const
 {
-  const std_cxx11::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
+  const std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
   vertices = this->get_vertices(cell);
 
   std::vector<Point<spacedim> > a(GeometryInfo<dim>::vertices_per_cell);
index 3b014ff33686cc7907002ef41f061c24c8e2737d..5f650acf884260baed4f3a5eb845e92968d801ff 100644 (file)
@@ -143,7 +143,7 @@ SupportQuadrature (const unsigned int map_degree)
 // .... COMPUTE MAPPING SUPPORT POINTS
 
 template <int dim, class VectorType, int spacedim>
-std_cxx11::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
+std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
 MappingQEulerian<dim, VectorType, spacedim>::
 get_vertices
 (const typename Triangulation<dim,spacedim>::cell_iterator &cell) const
@@ -152,7 +152,7 @@ get_vertices
   const std::vector<Point<spacedim> > a
     = dynamic_cast<const MappingQEulerianGeneric &>(*this->qp_mapping).compute_mapping_support_points(cell);
 
-  std_cxx11::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell> vertex_locations;
+  std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell> vertex_locations;
   std::copy (a.begin(),
              a.begin()+GeometryInfo<dim>::vertices_per_cell,
              vertex_locations.begin());
@@ -163,7 +163,7 @@ get_vertices
 
 
 template <int dim, class VectorType, int spacedim>
-std_cxx11::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
+std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
 MappingQEulerian<dim, VectorType, spacedim>::MappingQEulerianGeneric::
 get_vertices
 (const typename Triangulation<dim,spacedim>::cell_iterator &cell) const
index b00343eddee6a61301e56891aa45072633870f1d..0b55214b5c50eeb01f07b264d2d5d89e53dad892 100644 (file)
@@ -20,8 +20,6 @@
 #include <deal.II/base/quadrature_lib.h>
 #include <deal.II/base/tensor_product_polynomials.h>
 #include <deal.II/base/memory_consumption.h>
-#include <deal.II/base/std_cxx11/array.h>
-#include <deal.II/base/std_cxx11/unique_ptr.h>
 #include <deal.II/lac/full_matrix.h>
 #include <deal.II/grid/tria.h>
 #include <deal.II/grid/tria_iterator.h>
@@ -36,6 +34,8 @@
 #include <cmath>
 #include <algorithm>
 #include <numeric>
+#include <array>
+#include <memory>
 
 
 DEAL_II_NAMESPACE_OPEN
@@ -69,7 +69,7 @@ namespace internal
       template<int spacedim>
       Point<1>
       transform_real_to_unit_cell
-      (const std_cxx11::array<Point<spacedim>, GeometryInfo<1>::vertices_per_cell> &vertices,
+      (const std::array<Point<spacedim>, GeometryInfo<1>::vertices_per_cell> &vertices,
        const Point<spacedim> &p)
       {
         Assert(spacedim == 1, ExcInternalError());
@@ -81,7 +81,7 @@ namespace internal
       template<int spacedim>
       Point<2>
       transform_real_to_unit_cell
-      (const std_cxx11::array<Point<spacedim>, GeometryInfo<2>::vertices_per_cell> &vertices,
+      (const std::array<Point<spacedim>, GeometryInfo<2>::vertices_per_cell> &vertices,
        const Point<spacedim> &p)
       {
         Assert(spacedim == 2, ExcInternalError());
@@ -180,7 +180,7 @@ namespace internal
       template<int spacedim>
       Point<3>
       transform_real_to_unit_cell
-      (const std_cxx11::array<Point<spacedim>, GeometryInfo<3>::vertices_per_cell> &/*vertices*/,
+      (const std::array<Point<spacedim>, GeometryInfo<3>::vertices_per_cell> &/*vertices*/,
        const Point<spacedim> &/*p*/)
       {
         // It should not be possible to get here
@@ -1691,8 +1691,8 @@ transform_real_to_unit_cell_internal
   UpdateFlags update_flags = update_quadrature_points | update_jacobians;
   if (spacedim>dim)
     update_flags |= update_jacobian_grads;
-  std_cxx11::unique_ptr<InternalData> mdata (get_data(update_flags,
-                                                      point_quadrature));
+  std::unique_ptr<InternalData> mdata (get_data(update_flags,
+                                                point_quadrature));
 
   mdata->mapping_support_points = this->compute_mapping_support_points (cell);
 
@@ -1717,8 +1717,8 @@ transform_real_to_unit_cell_internal
   UpdateFlags update_flags = update_quadrature_points | update_jacobians;
   if (spacedim>dim)
     update_flags |= update_jacobian_grads;
-  std_cxx11::unique_ptr<InternalData> mdata (get_data(update_flags,
-                                                      point_quadrature));
+  std::unique_ptr<InternalData> mdata (get_data(update_flags,
+                                                point_quadrature));
 
   mdata->mapping_support_points = this->compute_mapping_support_points (cell);
 
@@ -1743,8 +1743,8 @@ transform_real_to_unit_cell_internal
   UpdateFlags update_flags = update_quadrature_points | update_jacobians;
   if (spacedim>dim)
     update_flags |= update_jacobian_grads;
-  std_cxx11::unique_ptr<InternalData> mdata (get_data(update_flags,
-                                                      point_quadrature));
+  std::unique_ptr<InternalData> mdata (get_data(update_flags,
+                                                point_quadrature));
 
   mdata->mapping_support_points = this->compute_mapping_support_points (cell);
 
@@ -1769,8 +1769,8 @@ transform_real_to_unit_cell_internal
   UpdateFlags update_flags = update_quadrature_points | update_jacobians;
   if (spacedim>dim)
     update_flags |= update_jacobian_grads;
-  std_cxx11::unique_ptr<InternalData> mdata (get_data(update_flags,
-                                                      point_quadrature));
+  std::unique_ptr<InternalData> mdata (get_data(update_flags,
+                                                point_quadrature));
 
   mdata->mapping_support_points = this->compute_mapping_support_points (cell);
 
@@ -1795,8 +1795,8 @@ transform_real_to_unit_cell_internal
   UpdateFlags update_flags = update_quadrature_points | update_jacobians;
   if (spacedim>dim)
     update_flags |= update_jacobian_grads;
-  std_cxx11::unique_ptr<InternalData> mdata (get_data(update_flags,
-                                                      point_quadrature));
+  std::unique_ptr<InternalData> mdata (get_data(update_flags,
+                                                point_quadrature));
 
   mdata->mapping_support_points = this->compute_mapping_support_points (cell);
 
@@ -1853,7 +1853,7 @@ transform_real_to_unit_cell (const typename Triangulation<dim,spacedim>::cell_it
       //   cell and that value is returned.
       // * In 3D there is no (known to the authors) exact formula, so the Newton
       //   algorithm is used.
-      const std_cxx11::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
+      const std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
       vertices = this->get_vertices(cell);
       try
         {
index 18bf421b301ae67c5783a27002533628491e3131..7edb5fb1c06e2029b03d9edc758859c991a0ff4e 100644 (file)
@@ -802,7 +802,7 @@ namespace GridGenerator
                  const bool         colorize)
   {
     Point<2> origin;
-    std_cxx11::array<Tensor<1,2>,2> edges;
+    std::array<Tensor<1,2>,2> edges;
     edges[0] = corners[0];
     edges[1] = corners[1];
     std::vector<unsigned int> subdivisions;
@@ -859,7 +859,7 @@ namespace GridGenerator
   {
     Point<dim> origin;
     std::vector<unsigned int> subdivisions;
-    std_cxx11::array<Tensor<1,dim>,dim> edges;
+    std::array<Tensor<1,dim>,dim> edges;
     for (unsigned int i=0; i<dim; ++i)
       {
         subdivisions.push_back(n_subdivisions[i]);
@@ -881,7 +881,7 @@ namespace GridGenerator
   void
   subdivided_parallelepiped (Triangulation<dim, spacedim>  &tria,
                              const Point<spacedim> &origin,
-                             const std_cxx11::array<Tensor<1,spacedim>,dim> &edges,
+                             const std::array<Tensor<1,spacedim>,dim> &edges,
                              const std::vector<unsigned int> &subdivisions,
                              const bool colorize)
   {
index f2af7dd898b71a44d645a6308c4313ad0148b6e0..5a7783f5938b23a17b9916776317bcf23ab93b03 100644 (file)
@@ -47,7 +47,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     subdivided_parallelepiped<deal_II_dimension, deal_II_space_dimension>
     (Triangulation<deal_II_dimension, deal_II_space_dimension> &,
      const Point<deal_II_space_dimension> &,
-     const std_cxx11::array<Tensor<1,deal_II_space_dimension>,deal_II_dimension> &,
+     const std::array<Tensor<1,deal_II_space_dimension>,deal_II_dimension> &,
      const std::vector<unsigned int> &,
      const bool colorize);
 
index 05566995d412b3b04edf38cb53421653fdea0191..09cfe62289eae70e8f0f6ba15b703d64cee9837e 100644 (file)
@@ -2552,7 +2552,7 @@ void GridIn<dim, spacedim>::skip_empty_lines (std::istream &in)
       // if not put the whole thing
       // back and return
       if (std::find_if (line.begin(), line.end(),
-                        std_cxx11::bind (std::not_equal_to<char>(),std_cxx11::_1,' '))
+                        std::bind (std::not_equal_to<char>(),std::placeholders::_1,' '))
           != line.end())
         {
           in.putback ('\n');
index 00d3fc68ab529781b38078a9907adecf3b0ad395..e533a2145a10021463a0ba161335495361ea6db4 100644 (file)
@@ -2495,7 +2495,7 @@ void GridOut::write_vtk (const Triangulation<dim,spacedim> &tria,
   generate_triangulation_patches(patches, tria.begin_active(), tria.end());
   DataOutBase::write_vtk (patches,
                           triangulation_patch_data_names(),
-                          std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >(),
+                          std::vector<std::tuple<unsigned int, unsigned int, std::string> >(),
                           vtk_flags,
                           out);
 
@@ -2519,7 +2519,7 @@ void GridOut::write_vtu (const Triangulation<dim,spacedim> &tria,
   generate_triangulation_patches(patches, tria.begin_active(), tria.end());
   DataOutBase::write_vtu (patches,
                           triangulation_patch_data_names(),
-                          std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >(),
+                          std::vector<std::tuple<unsigned int, unsigned int, std::string> >(),
                           vtu_flags,
                           out);
 
@@ -2594,7 +2594,7 @@ void GridOut::write_mesh_per_processor_as_vtu (const Triangulation<dim,spacedim>
                                 Utilities::int_to_string (tria.locally_owned_subdomain(), 4) +
                                 ".vtu");
   std::ofstream out(new_file.c_str());
-  std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vector_data_ranges;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vector_data_ranges;
   DataOutBase::VtkFlags flags;
   DataOutBase::write_vtu (patches,
                           data_names,
index ba75f1ba9bdb808826709925e6f37f33448f55db..d489f631b669d9270dca859a7be7803a5a64298c 100644 (file)
@@ -17,7 +17,6 @@
 #include <deal.II/grid/grid_reordering.h>
 #include <deal.II/grid/grid_tools.h>
 #include <deal.II/base/utilities.h>
-#include <deal.II/base/std_cxx11/bind.h>
 #include <deal.II/base/timer.h>
 
 #include <algorithm>
index 6c0467c0c57a169819d55fd551cd93b0565d8d29..92c8a9b40d7017fb8502ed46bff8649a4d12ad52 100644 (file)
@@ -13,7 +13,6 @@
 //
 // ---------------------------------------------------------------------
 
-#include <deal.II/base/std_cxx11/array.h>
 #include <deal.II/base/quadrature_lib.h>
 #include <deal.II/base/thread_management.h>
 #include <deal.II/lac/vector.h>
@@ -49,6 +48,7 @@
 #include <boost/random/uniform_real_distribution.hpp>
 #include <boost/random/mersenne_twister.hpp>
 
+#include <array>
 #include <cmath>
 #include <numeric>
 #include <list>
@@ -1581,7 +1581,7 @@ next_cell:
   std::vector<typename MeshType::active_cell_iterator>
   compute_active_cell_halo_layer
   (const MeshType                                                                    &mesh,
-   const std_cxx11::function<bool (const typename MeshType::active_cell_iterator &)> &predicate)
+   const std::function<bool (const typename MeshType::active_cell_iterator &)> &predicate)
   {
     std::vector<typename MeshType::active_cell_iterator> active_halo_layer;
     std::vector<bool> locally_active_vertices_on_subdomain (mesh.get_triangulation().n_vertices(),
@@ -1620,7 +1620,7 @@ next_cell:
   std::vector<typename MeshType::active_cell_iterator>
   compute_ghost_cell_halo_layer (const MeshType &mesh)
   {
-    std_cxx11::function<bool (const typename MeshType::active_cell_iterator &)> predicate
+    std::function<bool (const typename MeshType::active_cell_iterator &)> predicate
       = IteratorFilters::LocallyOwnedCell();
 
     const std::vector<typename MeshType::active_cell_iterator>
@@ -1710,7 +1710,7 @@ next_cell:
     unsigned int max_cellid_size = 0;
     std::set<std::pair<types::subdomain_id,types::global_vertex_index> > vertices_added;
     std::map<types::subdomain_id,std::set<unsigned int> > vertices_to_recv;
-    std::map<types::subdomain_id,std::vector<std_cxx11::tuple<types::global_vertex_index,
+    std::map<types::subdomain_id,std::vector<std::tuple<types::global_vertex_index,
         types::global_vertex_index,std::string> > > vertices_to_send;
     active_cell_iterator cell = triangulation.begin_active(),
                          endc = triangulation.end();
@@ -1751,7 +1751,7 @@ next_cell:
                               if (vertices_added.find(tmp)==vertices_added.end())
                                 {
                                   vertices_to_send[(*adjacent_cell)->subdomain_id()].push_back(
-                                    std_cxx11::tuple<types::global_vertex_index,types::global_vertex_index,
+                                    std::tuple<types::global_vertex_index,types::global_vertex_index,
                                     std::string> (i,cell->vertex_index(i),
                                                   cell->id().to_string()));
                                   if (cell->id().to_string().size() > max_cellid_size)
@@ -1827,7 +1827,7 @@ next_cell:
       vertices_to_send.size());
     std::vector<MPI_Request> first_requests(vertices_to_send.size());
     typename std::map<types::subdomain_id,
-             std::vector<std_cxx11::tuple<types::global_vertex_index,
+             std::vector<std::tuple<types::global_vertex_index,
              types::global_vertex_index,std::string> > >::iterator
              vert_to_send_it = vertices_to_send.begin(),
              vert_to_send_end = vertices_to_send.end();
@@ -1842,9 +1842,9 @@ next_cell:
         // fill the buffer
         for (unsigned int j=0; j<n_vertices; ++j)
           {
-            vertices_send_buffers[i][2*j] = std_cxx11::get<0>(vert_to_send_it->second[j]);
+            vertices_send_buffers[i][2*j] = std::get<0>(vert_to_send_it->second[j]);
             vertices_send_buffers[i][2*j+1] =
-              local_to_global_vertex_index[std_cxx11::get<1>(vert_to_send_it->second[j])];
+              local_to_global_vertex_index[std::get<1>(vert_to_send_it->second[j])];
           }
 
         // Send the message
@@ -1889,7 +1889,7 @@ next_cell:
         unsigned int pos = 0;
         for (unsigned int j=0; j<n_vertices; ++j)
           {
-            std::string cell_id = std_cxx11::get<2>(vert_to_send_it->second[j]);
+            std::string cell_id = std::get<2>(vert_to_send_it->second[j]);
             for (unsigned int k=0; k<max_cellid_size; ++k, ++pos)
               {
                 if (k<cell_id.size())
@@ -3508,7 +3508,7 @@ next_cell:
 
   template<> struct OrientationLookupTable<1>
   {
-    typedef std_cxx11::array<unsigned int, GeometryInfo<1>::vertices_per_face> MATCH_T;
+    typedef std::array<unsigned int, GeometryInfo<1>::vertices_per_face> MATCH_T;
     static inline std::bitset<3> lookup (const MATCH_T &)
     {
       // The 1D case is trivial
@@ -3518,7 +3518,7 @@ next_cell:
 
   template<> struct OrientationLookupTable<2>
   {
-    typedef std_cxx11::array<unsigned int, GeometryInfo<2>::vertices_per_face> MATCH_T;
+    typedef std::array<unsigned int, GeometryInfo<2>::vertices_per_face> MATCH_T;
     static inline std::bitset<3> lookup (const MATCH_T &matching)
     {
       // In 2D matching faces (=lines) results in two cases: Either
@@ -3539,7 +3539,7 @@ next_cell:
 
   template<> struct OrientationLookupTable<3>
   {
-    typedef std_cxx11::array<unsigned int, GeometryInfo<3>::vertices_per_face> MATCH_T;
+    typedef std::array<unsigned int, GeometryInfo<3>::vertices_per_face> MATCH_T;
     static inline std::bitset<3> lookup (const MATCH_T &matching)
     {
       // The full fledged 3D case. *Yay*
@@ -3588,7 +3588,7 @@ next_cell:
 
     // Do a full matching of the face vertices:
 
-    std_cxx11::
+    std::
     array<unsigned int, GeometryInfo<dim>::vertices_per_face> matching;
 
     std::set<unsigned int> face2_vertices;
index b677fb12c0d328727e1db22b07da324f1fc1812b..7aa1b9eccac35adb1b52a96e846471b73edb1a6d 100644 (file)
@@ -43,7 +43,7 @@ for (X : TRIANGULATION_AND_DOFHANDLERS; deal_II_dimension : DIMENSIONS ; deal_II
     template
     std::vector<dealii::internal::ActiveCellIterator<deal_II_dimension, deal_II_space_dimension, X>::type>
     compute_active_cell_halo_layer (const X &,
-                                    const std_cxx11::function<bool (const dealii::internal::ActiveCellIterator<deal_II_dimension, deal_II_space_dimension, X>::type&)> &);
+                                    const std::function<bool (const dealii::internal::ActiveCellIterator<deal_II_dimension, deal_II_space_dimension, X>::type&)> &);
 
     template
     std::vector<dealii::internal::ActiveCellIterator<deal_II_dimension, deal_II_space_dimension, X>::type>
index be582a2cce884956265782d3e264e6ec94c0a311..ad1710fdea9c8b84da45e9c523478013e0a7a149 100644 (file)
@@ -17,7 +17,6 @@
 #include <deal.II/base/memory_consumption.h>
 #include <deal.II/base/table.h>
 #include <deal.II/base/geometry_info.h>
-#include <deal.II/base/std_cxx11/bind.h>
 
 #include <deal.II/grid/tria.h>
 #include <deal.II/grid/tria_levels.h>
@@ -38,8 +37,8 @@
 #include <list>
 #include <cmath>
 #include <functional>
+#include <array>
 
-#include <deal.II/base/std_cxx11/array.h>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -2332,7 +2331,7 @@ namespace internal
         // this file
         std::map<internal::Triangulation::TriaObject<2>,
             std::pair<typename Triangulation<dim,spacedim>::quad_iterator,
-            std_cxx11::array<bool,GeometryInfo<dim>::lines_per_face> >,
+            std::array<bool,GeometryInfo<dim>::lines_per_face> >,
             QuadComparator>
             needed_quads;
         for (unsigned int cell=0; cell<cells.size(); ++cell)
@@ -2363,7 +2362,7 @@ namespace internal
             std::pair<int,int> line_list[GeometryInfo<dim>::lines_per_cell],
                 inverse_line_list[GeometryInfo<dim>::lines_per_cell];
             unsigned int face_line_list[GeometryInfo<dim>::lines_per_face];
-            std_cxx11::array<bool,GeometryInfo<dim>::lines_per_face> orientation;
+            std::array<bool,GeometryInfo<dim>::lines_per_face> orientation;
 
             for (unsigned int line=0; line<GeometryInfo<dim>::lines_per_cell; ++line)
               {
@@ -2484,7 +2483,7 @@ namespace internal
           quad = triangulation.begin_raw_quad();
           typename std::map<internal::Triangulation::TriaObject<2>,
                    std::pair<typename Triangulation<dim,spacedim>::quad_iterator,
-                   std_cxx11::array<bool,GeometryInfo<dim>::lines_per_face> >,
+                   std::array<bool,GeometryInfo<dim>::lines_per_face> >,
                    QuadComparator>
                    ::iterator q;
           for (q = needed_quads.begin(); quad!=triangulation.end_quad(); ++quad, ++q)
@@ -4371,7 +4370,7 @@ namespace internal
             const unsigned int used_cells
               =  std::count_if (triangulation.levels[level+1]->cells.used.begin(),
                                 triangulation.levels[level+1]->cells.used.end(),
-                                std_cxx11::bind (std::equal_to<bool>(), std_cxx11::_1, true));
+                                std::bind (std::equal_to<bool>(), std::placeholders::_1, true));
 
             // reserve space for the used_cells cells already existing
             // on the next higher level as well as for the
@@ -4396,9 +4395,9 @@ namespace internal
         // vertices are already in use
         needed_vertices += std::count_if (triangulation.vertices_used.begin(),
                                           triangulation.vertices_used.end(),
-                                          std_cxx11::bind (std::equal_to<bool>(),
-                                                           std_cxx11::_1,
-                                                           true));
+                                          std::bind (std::equal_to<bool>(),
+                                                     std::placeholders::_1,
+                                                     true));
         // if we need more vertices: create them, if not: leave the
         // array as is, since shrinking is not really possible because
         // some of the vertices at the end may be in use
@@ -4694,7 +4693,7 @@ namespace internal
             const unsigned int used_cells
               = std::count_if (triangulation.levels[level+1]->cells.used.begin(),
                                triangulation.levels[level+1]->cells.used.end(),
-                               std_cxx11::bind (std::equal_to<bool>(), std_cxx11::_1, true));
+                               std::bind (std::equal_to<bool>(), std::placeholders::_1, true));
 
 
             // reserve space for the used_cells cells already existing
@@ -4730,7 +4729,7 @@ namespace internal
 
         // add to needed vertices how many vertices are already in use
         needed_vertices += std::count_if (triangulation.vertices_used.begin(), triangulation.vertices_used.end(),
-                                          std_cxx11::bind (std::equal_to<bool>(), std_cxx11::_1, true));
+                                          std::bind (std::equal_to<bool>(), std::placeholders::_1, true));
         // if we need more vertices: create them, if not: leave the
         // array as is, since shrinking is not really possible because
         // some of the vertices at the end may be in use
@@ -5100,7 +5099,7 @@ namespace internal
             const unsigned int used_cells
               = std::count_if (triangulation.levels[level+1]->cells.used.begin(),
                                triangulation.levels[level+1]->cells.used.end(),
-                               std_cxx11::bind (std::equal_to<bool>(), std_cxx11::_1, true));
+                               std::bind (std::equal_to<bool>(), std::placeholders::_1, true));
 
 
             // reserve space for the used_cells cells already existing
@@ -5175,7 +5174,7 @@ namespace internal
 
         // add to needed vertices how many vertices are already in use
         needed_vertices += std::count_if (triangulation.vertices_used.begin(), triangulation.vertices_used.end(),
-                                          std_cxx11::bind (std::equal_to<bool>(), std_cxx11::_1, true));
+                                          std::bind (std::equal_to<bool>(), std::placeholders::_1, true));
         // if we need more vertices: create them, if not: leave the
         // array as is, since shrinking is not really possible because
         // some of the vertices at the end may be in use
@@ -11772,7 +11771,7 @@ unsigned int
 Triangulation<dim, spacedim>::n_used_vertices () const
 {
   return std::count_if (vertices_used.begin(), vertices_used.end(),
-                        std_cxx11::bind (std::equal_to<bool>(), std_cxx11::_1, true));
+                        std::bind (std::equal_to<bool>(), std::placeholders::_1, true));
 }
 
 
index a55f4db9389629361ffe322165295d7cb3e96bad..a043d573f55d0c29ed6b4b2ddaa324fb5cb0d024 100644 (file)
@@ -19,7 +19,6 @@
 #include <deal.II/grid/tria_accessor.h>
 #include <deal.II/grid/tria_accessor.templates.h>
 #include <deal.II/grid/tria_iterator.templates.h>
-#include <deal.II/base/std_cxx11/array.h>
 #include <deal.II/base/geometry_info.h>
 #include <deal.II/base/quadrature.h>
 #include <deal.II/grid/grid_tools.h>
@@ -27,6 +26,7 @@
 #include <deal.II/fe/mapping_q1.h>
 #include <deal.II/fe/fe_q.h>
 
+#include <array>
 #include <cmath>
 
 DEAL_II_NAMESPACE_OPEN
@@ -1640,7 +1640,7 @@ template <int dim, int spacedim>
 CellId
 CellAccessor<dim,spacedim>::id() const
 {
-  std_cxx11::array<unsigned char,30> id;
+  std::array<unsigned char,30> id;
 
   CellAccessor<dim,spacedim> ptr = *this;
   const unsigned int n_child_indices = ptr.level();
index cb810ecaba9cce8efc1b45be9916c4cac8304133..c583bb5f06c27ea7dba171fb23db77a3ca16ded0 100644 (file)
@@ -172,7 +172,7 @@ get_line_support_points (const unsigned int n_intermediate_points) const
       // another thread might have created points in the meantime
       if (points[n_intermediate_points].get() == 0)
         {
-          std_cxx11::shared_ptr<QGaussLobatto<1> >
+          std::shared_ptr<QGaussLobatto<1> >
           quadrature (new QGaussLobatto<1>(n_intermediate_points+2));
           points[n_intermediate_points] = quadrature;
         }
index 4fdff58a31a4226e8d805e086f45798d7dca6de3..e5f768fce792da09c12b4bad432dbb8aa09bb5c7 100644 (file)
@@ -14,7 +14,6 @@
 // ---------------------------------------------------------------------
 
 #include <deal.II/base/memory_consumption.h>
-#include <deal.II/base/std_cxx11/bind.h>
 #include <deal.II/grid/tria_objects.h>
 #include <deal.II/grid/tria.h>
 #include <deal.II/grid/tria_iterator.h>
@@ -171,7 +170,7 @@ namespace internal
       const unsigned int new_size = new_hexes +
                                     std::count_if (used.begin(),
                                                    used.end(),
-                                                   std_cxx11::bind (std::equal_to<bool>(), std_cxx11::_1, true));
+                                                   std::bind (std::equal_to<bool>(), std::placeholders::_1, true));
 
       // see above...
       if (new_size>cells.size())
index 788ae35d0a7fdc4503fb3149812e9e7a8adae5c3..0f1815a2eb10a68ec709ed0afe33ca6b0db06e82 100644 (file)
@@ -16,7 +16,6 @@
 #include <deal.II/base/memory_consumption.h>
 #include <deal.II/base/geometry_info.h>
 #include <deal.II/base/thread_management.h>
-#include <deal.II/base/std_cxx11/bind.h>
 #include <deal.II/hp/dof_handler.h>
 #include <deal.II/hp/dof_level.h>
 #include <deal.II/hp/dof_faces.h>
@@ -82,7 +81,7 @@ namespace internal
     void
     ensure_existence_of_dof_identities (const FiniteElement<dim,spacedim> &fe1,
                                         const FiniteElement<dim,spacedim> &fe2,
-                                        std_cxx11::shared_ptr<DoFIdentities> &identities)
+                                        std::shared_ptr<DoFIdentities> &identities)
     {
       // see if we need to fill this
       // entry, or whether it already
@@ -94,7 +93,7 @@ namespace internal
             case 0:
             {
               identities =
-                std_cxx11::shared_ptr<DoFIdentities>
+                std::shared_ptr<DoFIdentities>
                 (new DoFIdentities(fe1.hp_vertex_dof_identities(fe2)));
               break;
             }
@@ -102,7 +101,7 @@ namespace internal
             case 1:
             {
               identities =
-                std_cxx11::shared_ptr<DoFIdentities>
+                std::shared_ptr<DoFIdentities>
                 (new DoFIdentities(fe1.hp_line_dof_identities(fe2)));
               break;
             }
@@ -110,7 +109,7 @@ namespace internal
             case 2:
             {
               identities =
-                std_cxx11::shared_ptr<DoFIdentities>
+                std::shared_ptr<DoFIdentities>
                 (new DoFIdentities(fe1.hp_quad_dof_identities(fe2)));
               break;
             }
@@ -1676,16 +1675,16 @@ namespace hp
 
     tria_listeners.push_back
     (tria.signals.pre_refinement
-     .connect (std_cxx11::bind (&DoFHandler<dim,spacedim>::pre_refinement_action,
-                                std_cxx11::ref(*this))));
+     .connect (std::bind (&DoFHandler<dim,spacedim>::pre_refinement_action,
+                          std::ref(*this))));
     tria_listeners.push_back
     (tria.signals.post_refinement
-     .connect (std_cxx11::bind (&DoFHandler<dim,spacedim>::post_refinement_action,
-                                std_cxx11::ref(*this))));
+     .connect (std::bind (&DoFHandler<dim,spacedim>::post_refinement_action,
+                          std::ref(*this))));
     tria_listeners.push_back
     (tria.signals.create
-     .connect (std_cxx11::bind (&DoFHandler<dim,spacedim>::post_refinement_action,
-                                std_cxx11::ref(*this))));
+     .connect (std::bind (&DoFHandler<dim,spacedim>::post_refinement_action,
+                          std::ref(*this))));
   }
 
 
@@ -2100,7 +2099,7 @@ namespace hp
     // vertices at all, I can't think
     // of a finite element that would
     // make that necessary...
-    Table<2,std_cxx11::shared_ptr<dealii::internal::hp::DoFIdentities> >
+    Table<2,std::shared_ptr<dealii::internal::hp::DoFIdentities> >
     vertex_dof_identities (get_fe().size(),
                            get_fe().size());
 
@@ -2245,7 +2244,7 @@ namespace hp
     // is to first treat all pairs of finite elements that have *identical* dofs,
     // and then only deal with those that are not identical of which we can
     // handle at most 2
-    Table<2,std_cxx11::shared_ptr<internal::hp::DoFIdentities> >
+    Table<2,std::shared_ptr<internal::hp::DoFIdentities> >
     line_dof_identities (finite_elements->size(),
                          finite_elements->size());
 
@@ -2455,7 +2454,7 @@ namespace hp
     // for quads only in 4d and
     // higher, so this isn't a
     // particularly frequent case
-    Table<2,std_cxx11::shared_ptr<internal::hp::DoFIdentities> >
+    Table<2,std::shared_ptr<internal::hp::DoFIdentities> >
     quad_dof_identities (finite_elements->size(),
                          finite_elements->size());
 
@@ -3210,16 +3209,16 @@ namespace hp
           std::transform (tria->levels[i]->cells.children.begin (),
                           tria->levels[i]->cells.children.end (),
                           has_children_level->begin (),
-                          std_cxx11::bind(std::not_equal_to<int>(),
-                                          std_cxx11::_1,
-                                          -1));
+                          std::bind(std::not_equal_to<int>(),
+                                    std::placeholders::_1,
+                                    -1));
         else
           std::transform (tria->levels[i]->cells.refinement_cases.begin (),
                           tria->levels[i]->cells.refinement_cases.end (),
                           has_children_level->begin (),
-                          std_cxx11::bind (std::not_equal_to<unsigned char>(),
-                                           std_cxx11::_1,
-                                           static_cast<unsigned char>(RefinementCase<dim>::no_refinement)));
+                          std::bind (std::not_equal_to<unsigned char>(),
+                                     std::placeholders::_1,
+                                     static_cast<unsigned char>(RefinementCase<dim>::no_refinement)));
 
         has_children.push_back (has_children_level);
       }
index 5d3ba28055f422ad1ab49f50c603fec42d1047f5..e7a4c3a400d531566bafd82fdf5500131931a24a 100644 (file)
@@ -200,7 +200,7 @@ namespace hp
                           "same number of vector components!"));
 
     finite_elements
-    .push_back (std_cxx11::shared_ptr<const FiniteElement<dim,spacedim> >(new_fe.clone()));
+    .push_back (std::shared_ptr<const FiniteElement<dim,spacedim> >(new_fe.clone()));
   }
 
 
index 940df00f4460856150000b9ff6b6046258bd1887..c212cccaf849cc421197d3cc7391a74c139ca7d6 100644 (file)
@@ -94,7 +94,7 @@ namespace internal
       if (fe_values_table(present_fe_values_index).get() == 0)
         fe_values_table(present_fe_values_index)
           =
-            std_cxx11::shared_ptr<FEValuesType>
+            std::shared_ptr<FEValuesType>
             (new FEValuesType ((*mapping_collection)[mapping_index],
                                (*fe_collection)[fe_index],
                                q_collection[q_index],
index b1bc5f0cd8f73d983fd10e72b31234b478972c83..4a2db5abe3112829008518b0e5310cf78fb1134d 100644 (file)
@@ -34,7 +34,7 @@ namespace hp
   MappingCollection (const Mapping<dim,spacedim> &mapping)
   {
     mappings
-    .push_back (std_cxx11::shared_ptr<const Mapping<dim,spacedim> >(mapping.clone()));
+    .push_back (std::shared_ptr<const Mapping<dim,spacedim> >(mapping.clone()));
   }
 
 
@@ -75,7 +75,7 @@ namespace hp
   MappingCollection<dim,spacedim>::push_back (const Mapping<dim,spacedim> &new_mapping)
   {
     mappings
-    .push_back (std_cxx11::shared_ptr<const Mapping<dim,spacedim> >(new_mapping.clone()));
+    .push_back (std::shared_ptr<const Mapping<dim,spacedim> >(new_mapping.clone()));
   }
 
 //---------------------------------------------------------------------------
index c0aa183792c0c7f67c53008874ed3b921bb5ad1d..64e60a6a8c5b814804bb35cf7aecba16ec3313e1 100644 (file)
@@ -567,7 +567,7 @@ namespace LinearAlgebra
     template <typename Number>
     void Vector<Number>::import(const ReadWriteVector<Number> &V,
                                 VectorOperation::values operation,
-                                std_cxx11::shared_ptr<const CommunicationPatternBase> )
+                                std::shared_ptr<const CommunicationPatternBase> )
     {
       if (operation == VectorOperation::insert)
         {
index 9b0558aee03ae3fa2cb0e3f06da819903b5d768b..32e6523f022fac1a96b336496e1bb6ee34075c9c 100644 (file)
@@ -396,7 +396,7 @@ SparsityPattern::compress ()
   const std::size_t nonzero_elements
     = std::count_if (&colnums[rowstart[0]],
                      &colnums[rowstart[rows]],
-                     std_cxx11::bind(std::not_equal_to<size_type>(), std_cxx11::_1, invalid_entry));
+                     std::bind(std::not_equal_to<size_type>(), std::placeholders::_1, invalid_entry));
   // now allocate the respective memory
   size_type *new_colnums = new size_type[nonzero_elements];
 
index 975a74d971646eea4f2c64dcc95e1ce83672d780..1c687aaf7a7e35168309ba6dabfd4009b6692853 100644 (file)
@@ -20,8 +20,8 @@
 #ifdef DEAL_II_WITH_MPI
 
 #include <deal.II/base/index_set.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include "Epetra_Map.h"
+#include <memory>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -42,7 +42,7 @@ namespace LinearAlgebra
                                       const IndexSet &read_write_vector_index_set,
                                       const MPI_Comm &communicator)
     {
-      comm = std_cxx11::make_shared<const MPI_Comm>(communicator);
+      comm = std::make_shared<const MPI_Comm>(communicator);
 
       Epetra_Map vector_space_vector_map = vector_space_vector_index_set.make_trilinos_map(*comm,
                                            false);
index dc0e70e7000dfead7273ed2c2eceb30ace8e37f4..28a331fe2121ea39ee3bf3d55fa019a540057dd4 100644 (file)
@@ -102,7 +102,7 @@ namespace LinearAlgebra
 
     void Vector::import(const ReadWriteVector<double>                  &V,
                         VectorOperation::values                         operation,
-                        std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern)
+                        std::shared_ptr<const CommunicationPatternBase> communication_pattern)
     {
       // If no communication pattern is given, create one. Otherwsie, use the
       // one given.
@@ -122,7 +122,7 @@ namespace LinearAlgebra
       else
         {
           epetra_comm_pattern =
-            std_cxx11::dynamic_pointer_cast<const CommunicationPattern> (communication_pattern);
+            std::dynamic_pointer_cast<const CommunicationPattern> (communication_pattern);
           AssertThrow(epetra_comm_pattern != NULL,
                       ExcMessage(std::string("The communication pattern is not of type ") +
                                  "LinearAlgebra::EpetraWrappers::CommunicationPattern."));
index 9d5a61823e2c66c5501c7f36417589fd81bb48c3..f87ac67aa0386585c6838b3a5ea5c832dbf1e74e 100644 (file)
@@ -371,10 +371,10 @@ namespace TrilinosWrappers
       private:
         double initial_residual;
         double current_residual;
-        std_cxx11::shared_ptr<AztecOO_StatusTestCombo>    status_test_collection;
-        std_cxx11::shared_ptr<AztecOO_StatusTestMaxIters> status_test_max_steps;
-        std_cxx11::shared_ptr<AztecOO_StatusTestResNorm>  status_test_abs_tol;
-        std_cxx11::shared_ptr<AztecOO_StatusTestResNorm>  status_test_rel_tol;
+        std::shared_ptr<AztecOO_StatusTestCombo>    status_test_collection;
+        std::shared_ptr<AztecOO_StatusTestMaxIters> status_test_max_steps;
+        std::shared_ptr<AztecOO_StatusTestResNorm>  status_test_abs_tol;
+        std::shared_ptr<AztecOO_StatusTestResNorm>  status_test_rel_tol;
       };
 
 
index d27b798aa730d5390b503aa1617c5b5e6644e01c..a6d704af78f16ddaa2d1b755e3441c7e373a345a 100644 (file)
@@ -463,10 +463,10 @@ namespace TrilinosWrappers
                    const Epetra_Map                          &input_col_map,
                    const SparsityPatternType                 &sparsity_pattern,
                    const bool                                 exchange_data,
-                   std_cxx11::shared_ptr<Epetra_Map>         &column_space_map,
-                   std_cxx11::shared_ptr<Epetra_FECrsMatrix> &matrix,
-                   std_cxx11::shared_ptr<Epetra_CrsMatrix>   &nonlocal_matrix,
-                   std_cxx11::shared_ptr<Epetra_Export>      &nonlocal_matrix_exporter)
+                   std::shared_ptr<Epetra_Map>         &column_space_map,
+                   std::shared_ptr<Epetra_FECrsMatrix> &matrix,
+                   std::shared_ptr<Epetra_CrsMatrix>   &nonlocal_matrix,
+                   std::shared_ptr<Epetra_Export>      &nonlocal_matrix_exporter)
     {
       // release memory before reallocation
       matrix.reset();
@@ -519,7 +519,7 @@ namespace TrilinosWrappers
       // col_map that tells how the domain dofs of the matrix will be
       // distributed). for only one processor, we can directly assign the
       // columns as well. Compare this with bug # 4123 in the Sandia Bugzilla.
-      std_cxx11::shared_ptr<Epetra_CrsGraph> graph;
+      std::shared_ptr<Epetra_CrsGraph> graph;
       if (input_row_map.Comm().NumProc() > 1)
         graph.reset (new Epetra_CrsGraph (Copy, input_row_map,
                                           &n_entries_per_row[0], true));
@@ -599,10 +599,10 @@ namespace TrilinosWrappers
                    const Epetra_Map                          &input_col_map,
                    const DynamicSparsityPattern              &sparsity_pattern,
                    const bool                                 exchange_data,
-                   std_cxx11::shared_ptr<Epetra_Map>         &column_space_map,
-                   std_cxx11::shared_ptr<Epetra_FECrsMatrix> &matrix,
-                   std_cxx11::shared_ptr<Epetra_CrsMatrix>   &nonlocal_matrix,
-                   std_cxx11::shared_ptr<Epetra_Export>      &nonlocal_matrix_exporter)
+                   std::shared_ptr<Epetra_Map>         &column_space_map,
+                   std::shared_ptr<Epetra_FECrsMatrix> &matrix,
+                   std::shared_ptr<Epetra_CrsMatrix>   &nonlocal_matrix,
+                   std::shared_ptr<Epetra_Export>      &nonlocal_matrix_exporter)
     {
       matrix.reset();
       nonlocal_matrix.reset();
@@ -666,8 +666,8 @@ namespace TrilinosWrappers
                                    (ghost_rows.size()>0)?(&ghost_rows[0]):NULL,
                                    0, input_row_map.Comm());
 
-      std_cxx11::shared_ptr<Epetra_CrsGraph> graph;
-      std_cxx11::shared_ptr<Epetra_CrsGraphMod> nonlocal_graph;
+      std::shared_ptr<Epetra_CrsGraph> graph;
+      std::shared_ptr<Epetra_CrsGraphMod> nonlocal_graph;
       if (input_row_map.Comm().NumProc() > 1)
         {
           graph.reset (new Epetra_CrsGraph (Copy, input_row_map,
index 329ec58f9ade206cfaff00e196e8a1a4fd264700..55fa3b192961b20fc135e843fa65514f2d8cfa01 100644 (file)
@@ -332,9 +332,9 @@ namespace TrilinosWrappers
     reinit_sp (const Epetra_Map                         &row_map,
                const Epetra_Map                         &col_map,
                const size_type                           n_entries_per_row,
-               std_cxx11::shared_ptr<Epetra_Map>        &column_space_map,
-               std_cxx11::shared_ptr<Epetra_FECrsGraph> &graph,
-               std_cxx11::shared_ptr<Epetra_CrsGraph>   &nonlocal_graph)
+               std::shared_ptr<Epetra_Map>        &column_space_map,
+               std::shared_ptr<Epetra_FECrsGraph> &graph,
+               std::shared_ptr<Epetra_CrsGraph>   &nonlocal_graph)
     {
       Assert(row_map.IsOneToOne(),
              ExcMessage("Row map must be 1-to-1, i.e., no overlap between "
@@ -377,9 +377,9 @@ namespace TrilinosWrappers
     reinit_sp (const Epetra_Map                         &row_map,
                const Epetra_Map                         &col_map,
                const std::vector<size_type>             &n_entries_per_row,
-               std_cxx11::shared_ptr<Epetra_Map>        &column_space_map,
-               std_cxx11::shared_ptr<Epetra_FECrsGraph> &graph,
-               std_cxx11::shared_ptr<Epetra_CrsGraph>   &nonlocal_graph)
+               std::shared_ptr<Epetra_Map>        &column_space_map,
+               std::shared_ptr<Epetra_FECrsGraph> &graph,
+               std::shared_ptr<Epetra_CrsGraph>   &nonlocal_graph)
     {
       Assert(row_map.IsOneToOne(),
              ExcMessage("Row map must be 1-to-1, i.e., no overlap between "
@@ -426,9 +426,9 @@ namespace TrilinosWrappers
                const Epetra_Map                         &col_map,
                const SparsityPatternType                &sp,
                const bool                                exchange_data,
-               std_cxx11::shared_ptr<Epetra_Map>        &column_space_map,
-               std_cxx11::shared_ptr<Epetra_FECrsGraph> &graph,
-               std_cxx11::shared_ptr<Epetra_CrsGraph>   &nonlocal_graph)
+               std::shared_ptr<Epetra_Map>        &column_space_map,
+               std::shared_ptr<Epetra_FECrsGraph> &graph,
+               std::shared_ptr<Epetra_CrsGraph>   &nonlocal_graph)
     {
       nonlocal_graph.reset ();
       graph.reset ();
index d1e878266ba4a5f81f391e6e0bd9c920a9ed7bd2..9fb3d4ef91b28d6f7ef548ca0414867a7f3f178f 100644 (file)
@@ -406,7 +406,7 @@ namespace TrilinosWrappers
       Epetra_Map new_map (v.size(), n_elements, &global_ids[0], 0,
                           v.block(0).vector_partitioner().Comm());
 
-      std_cxx11::shared_ptr<Epetra_FEVector> actual_vec;
+      std::shared_ptr<Epetra_FEVector> actual_vec;
       if ( import_data == true )
         actual_vec.reset (new Epetra_FEVector (new_map));
       else
index cb77ccfeb0185c8687198c0b2fcdf07f62fe4bd7..21fcd462afa3d0d2ddc1ae21e14a534d51ffe818 100644 (file)
@@ -277,9 +277,9 @@ void MGTransferBlockBase::build_matrices (
   for (unsigned int i=0; i<n_levels-1; ++i)
     {
       prolongation_sparsities
-      .push_back (std_cxx11::shared_ptr<BlockSparsityPattern> (new BlockSparsityPattern));
+      .push_back (std::shared_ptr<BlockSparsityPattern> (new BlockSparsityPattern));
       prolongation_matrices
-      .push_back (std_cxx11::shared_ptr<BlockSparseMatrix<double> > (new BlockSparseMatrix<double>));
+      .push_back (std::shared_ptr<BlockSparseMatrix<double> > (new BlockSparseMatrix<double>));
     }
 
   // two fields which will store the
@@ -515,9 +515,9 @@ void MGTransferBlockSelect<number>::build_matrices (
       // copy_indices.
       const types::global_dof_index n_active_dofs =
         std::count_if (temp_copy_indices.begin(), temp_copy_indices.end(),
-                       std_cxx11::bind (std::not_equal_to<types::global_dof_index>(),
-                                        std_cxx11::_1,
-                                        numbers::invalid_dof_index));
+                       std::bind (std::not_equal_to<types::global_dof_index>(),
+                                  std::placeholders::_1,
+                                  numbers::invalid_dof_index));
       copy_indices[selected_block][level].resize (n_active_dofs);
       types::global_dof_index counter = 0;
       for (types::global_dof_index i=0; i<temp_copy_indices.size(); ++i)
@@ -596,9 +596,9 @@ void MGTransferBlock<number>::build_matrices (
             const types::global_dof_index n_active_dofs =
               std::count_if (temp_copy_indices[block].begin(),
                              temp_copy_indices[block].end(),
-                             std_cxx11::bind (std::not_equal_to<types::global_dof_index>(),
-                                              std_cxx11::_1,
-                                              numbers::invalid_dof_index));
+                             std::bind (std::not_equal_to<types::global_dof_index>(),
+                                        std::placeholders::_1,
+                                        numbers::invalid_dof_index));
             copy_indices[block][level].resize (n_active_dofs);
             types::global_dof_index counter = 0;
             for (types::global_dof_index i=0; i<temp_copy_indices[block].size(); ++i)
index 3db3a04712ca5a299625f151104c012015293c6d..c3b9e38dcc7d5e78231942434ee142148143cc7c 100644 (file)
@@ -376,9 +376,9 @@ void MGTransferComponentBase::build_matrices (
   for (unsigned int i=0; i<n_levels-1; ++i)
     {
       prolongation_sparsities
-      .push_back (std_cxx11::shared_ptr<BlockSparsityPattern> (new BlockSparsityPattern));
+      .push_back (std::shared_ptr<BlockSparsityPattern> (new BlockSparsityPattern));
       prolongation_matrices
-      .push_back (std_cxx11::shared_ptr<BlockSparseMatrix<double> > (new BlockSparseMatrix<double>));
+      .push_back (std::shared_ptr<BlockSparseMatrix<double> > (new BlockSparseMatrix<double>));
     }
 
   // two fields which will store the
@@ -659,9 +659,9 @@ void MGTransferSelect<number>::build_matrices (
       // global to level dofs
       const types::global_dof_index n_active_dofs =
         std::count_if (temp_copy_indices.begin(), temp_copy_indices.end(),
-                       std_cxx11::bind (std::not_equal_to<types::global_dof_index>(),
-                                        std_cxx11::_1,
-                                        numbers::invalid_dof_index));
+                       std::bind (std::not_equal_to<types::global_dof_index>(),
+                                  std::placeholders::_1,
+                                  numbers::invalid_dof_index));
       copy_to_and_from_indices[level].resize (n_active_dofs);
       types::global_dof_index counter = 0;
       for (types::global_dof_index i=0; i<temp_copy_indices.size(); ++i)
index 31f24228b5cac45beb0fe70bf095bb633369ec8f..f2913b8a7c874049cb38c3d81b1de1a03a618517 100644 (file)
@@ -300,7 +300,7 @@ namespace internal
         {
           // shift the local number of the copy indices according to the new
           // partitioner that we are going to use for the vector
-          const std_cxx11::shared_ptr<const Utilities::MPI::Partitioner> part
+          const std::shared_ptr<const Utilities::MPI::Partitioner> part
             = ghosted_level_vector.get_partitioner();
           ghosted_dofs.add_indices(part->ghost_indices());
           for (unsigned int i=0; i<copy_indices_global_mine.size(); ++i)
@@ -479,7 +479,7 @@ namespace internal
                 ExcInternalError());
         fe_name[template_starts+1] = '1';
       }
-      std_cxx11::shared_ptr<FiniteElement<1> > fe_1d
+      std::shared_ptr<FiniteElement<1> > fe_1d
       (FETools::get_fe_by_name<1,1>(fe_name));
       const FiniteElement<1> &fe = *fe_1d;
 
index 377bfa6b7c360cc3a1574db256cbf551844ed3d9..a35c37353cd0968386b2ebdbbc1427ba3670c016 100644 (file)
@@ -153,9 +153,9 @@ void MGTransferPrebuilt<VectorType>::build_matrices
   for (unsigned int i=0; i<n_levels-1; ++i)
     {
       prolongation_sparsities.push_back
-      (std_cxx11::shared_ptr<typename internal::MatrixSelector<VectorType>::Sparsity> (new typename internal::MatrixSelector<VectorType>::Sparsity));
+      (std::shared_ptr<typename internal::MatrixSelector<VectorType>::Sparsity> (new typename internal::MatrixSelector<VectorType>::Sparsity));
       prolongation_matrices.push_back
-      (std_cxx11::shared_ptr<typename internal::MatrixSelector<VectorType>::Matrix> (new typename internal::MatrixSelector<VectorType>::Matrix));
+      (std::shared_ptr<typename internal::MatrixSelector<VectorType>::Matrix> (new typename internal::MatrixSelector<VectorType>::Matrix));
     }
 
   // two fields which will store the
index 6977459c17ec60981255999023001c59948191ed..4fa6429a8f549c5d897cdbc876744661f93ae86d 100644 (file)
@@ -41,7 +41,7 @@ namespace internal
                   const unsigned int n_subdivisions,
                   const std::vector<unsigned int> &n_postprocessor_outputs,
                   const Mapping<dim,spacedim> &mapping,
-                  const std::vector<std_cxx11::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
+                  const std::vector<std::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
                   const UpdateFlags update_flags,
                   const std::vector<std::vector<unsigned int> > &cell_to_patch_index_map)
       :
@@ -453,17 +453,17 @@ void DataOut<dim,DoFHandlerType>::build_patches
   if (all_cells.size() > 0)
     WorkStream::run (&all_cells[0],
                      &all_cells[0]+all_cells.size(),
-                     std_cxx11::bind(&DataOut<dim,DoFHandlerType>::build_one_patch,
-                                     this,
-                                     std_cxx11::_1,
-                                     std_cxx11::_2,
-                                     /* no std_cxx11::_3, since this function doesn't actually need a
-                                        copy data object -- it just writes everything right into the
-                                        output array */
-                                     n_subdivisions,
-                                     curved_cell_region),
+                     std::bind(&DataOut<dim,DoFHandlerType>::build_one_patch,
+                               this,
+                               std::placeholders::_1,
+                               std::placeholders::_2,
+                               /* no std::placeholders::_3, since this function doesn't actually need a
+                                  copy data object -- it just writes everything right into the
+                                  output array */
+                               n_subdivisions,
+                               curved_cell_region),
                      // no copy-local-to-global function needed here
-                     std_cxx11::function<void (const int &)>(),
+                     std::function<void (const int &)>(),
                      thread_data,
                      /* dummy CopyData object = */ 0,
                      // experimenting shows that we can make things run a bit
index 8883fc604406661c35408f33dd300ebfed6ffa05..d8a7f6472fb51fecb54208a1f8bec71207b9d19a 100644 (file)
@@ -53,7 +53,7 @@ namespace internal
                       const unsigned int n_subdivisions,
                       const std::vector<unsigned int> &n_postprocessor_outputs,
                       const Mapping<dim,spacedim> &mapping,
-                      const std::vector<std_cxx11::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
+                      const std::vector<std::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
                       const UpdateFlags update_flags,
                       const bool        use_face_values)
       :
@@ -206,7 +206,7 @@ namespace internal
     template <typename DoFHandlerType>
     void
     ParallelDataBase<dim,spacedim>::
-    reinit_all_fe_values(std::vector<std_cxx11::shared_ptr<DataEntryBase<DoFHandlerType> > > &dof_data,
+    reinit_all_fe_values(std::vector<std::shared_ptr<DataEntryBase<DoFHandlerType> > > &dof_data,
                          const typename dealii::Triangulation<dim,spacedim>::cell_iterator   &cell,
                          const unsigned int                                                   face)
     {
@@ -990,9 +990,9 @@ add_data_vector (const VectorType                         &vec,
     = new internal::DataOut::DataEntry<DoFHandlerType,VectorType>(dofs, &vec, names,
         data_component_interpretation);
   if (actual_type == type_dof_data)
-    dof_data.push_back (std_cxx11::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> >(new_entry));
+    dof_data.push_back (std::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> >(new_entry));
   else
-    cell_data.push_back (std_cxx11::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> >(new_entry));
+    cell_data.push_back (std::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> >(new_entry));
 }
 
 
@@ -1020,7 +1020,7 @@ add_data_vector (const VectorType                       &vec,
 
   internal::DataOut::DataEntryBase<DoFHandlerType> *new_entry
     = new internal::DataOut::DataEntry<DoFHandlerType,VectorType>(dofs, &vec, &data_postprocessor);
-  dof_data.push_back (std_cxx11::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> >(new_entry));
+  dof_data.push_back (std::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> >(new_entry));
 }
 
 
@@ -1043,7 +1043,7 @@ add_data_vector (const DoFHandlerType                   &dof_handler,
 
   internal::DataOut::DataEntryBase<DoFHandlerType> *new_entry
     = new internal::DataOut::DataEntry<DoFHandlerType,VectorType>(&dof_handler, &vec, &data_postprocessor);
-  dof_data.push_back (std_cxx11::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> >(new_entry));
+  dof_data.push_back (std::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> >(new_entry));
 }
 
 
@@ -1121,7 +1121,7 @@ add_data_vector
   internal::DataOut::DataEntryBase<DoFHandlerType> *new_entry
     = new internal::DataOut::DataEntry<DoFHandlerType,VectorType>(&dof_handler, &data, names,
         data_component_interpretation);
-  dof_data.push_back (std_cxx11::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> >(new_entry));
+  dof_data.push_back (std::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> >(new_entry));
 }
 
 
@@ -1186,7 +1186,7 @@ get_dataset_names () const
   // collect the names of dof
   // and cell data
   typedef
-  typename std::vector<std_cxx11::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> > >::const_iterator
+  typename std::vector<std::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> > >::const_iterator
   data_iterator;
 
   for (data_iterator  d=dof_data.begin();
@@ -1206,16 +1206,16 @@ get_dataset_names () const
 
 template <typename DoFHandlerType,
           int patch_dim, int patch_space_dim>
-std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+std::vector<std::tuple<unsigned int, unsigned int, std::string> >
 DataOut_DoFData<DoFHandlerType,patch_dim,patch_space_dim>::get_vector_data_ranges () const
 {
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> >
   ranges;
 
   // collect the ranges of dof
   // and cell data
   typedef
-  typename std::vector<std_cxx11::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> > >::const_iterator
+  typename std::vector<std::shared_ptr<internal::DataOut::DataEntryBase<DoFHandlerType> > >::const_iterator
   data_iterator;
 
   unsigned int output_component = 0;
@@ -1261,7 +1261,7 @@ DataOut_DoFData<DoFHandlerType,patch_dim,patch_space_dim>::get_vector_data_range
 
           // finally add a corresponding
           // range
-          std_cxx11::tuple<unsigned int, unsigned int, std::string>
+          std::tuple<unsigned int, unsigned int, std::string>
           range (output_component,
                  output_component+patch_space_dim-1,
                  name);
@@ -1310,13 +1310,13 @@ DataOut_DoFData<DoFHandlerType,patch_dim,patch_space_dim>::get_patches () const
 
 template <typename DoFHandlerType,
           int patch_dim, int patch_space_dim>
-std::vector<std_cxx11::shared_ptr<dealii::hp::FECollection<DoFHandlerType::dimension,
+std::vector<std::shared_ptr<dealii::hp::FECollection<DoFHandlerType::dimension,
     DoFHandlerType::space_dimension> > >
     DataOut_DoFData<DoFHandlerType,patch_dim,patch_space_dim>::get_finite_elements() const
 {
   const unsigned int dhdim = DoFHandlerType::dimension;
   const unsigned int dhspacedim = DoFHandlerType::space_dimension;
-  std::vector<std_cxx11::shared_ptr<dealii::hp::FECollection<dhdim,dhspacedim> > >
+  std::vector<std::shared_ptr<dealii::hp::FECollection<dhdim,dhspacedim> > >
   finite_elements(this->dof_data.size());
   for (unsigned int i=0; i<this->dof_data.size(); ++i)
     {
index 8b77b2fb4b62ef4c45251c081ea577535e8fe9e0..123cf995d38b7effd6d7360f697542cb43a0e7d9 100644 (file)
@@ -421,7 +421,7 @@ for (DH : DOFHANDLER_TEMPLATES; deal_II_dimension : DIMENSIONS; deal_II_space_di
     void
     ParallelDataBase<deal_II_dimension,deal_II_space_dimension>::
     reinit_all_fe_values<dealii::DH<deal_II_dimension,deal_II_space_dimension> >
-    (std::vector<std_cxx11::shared_ptr<DataEntryBase<dealii::DH<deal_II_dimension,deal_II_space_dimension> > > > &dof_data,
+    (std::vector<std::shared_ptr<DataEntryBase<dealii::DH<deal_II_dimension,deal_II_space_dimension> > > > &dof_data,
      const dealii::Triangulation<deal_II_dimension,deal_II_space_dimension>::cell_iterator &cell,
      const unsigned int face);
 #endif
index a81fd310bc04d1ec00217c9bbbb67c82914f6db1..a8ecfcc96d480c6aec3b3936ed5cc6132e017d75 100644 (file)
@@ -40,7 +40,7 @@ namespace internal
                   const unsigned int n_subdivisions,
                   const std::vector<unsigned int> &n_postprocessor_outputs,
                   const Mapping<dim,spacedim> &mapping,
-                  const std::vector<std_cxx11::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
+                  const std::vector<std::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
                   const UpdateFlags update_flags)
       :
       internal::DataOut::
@@ -345,11 +345,11 @@ void DataOutFaces<dim,DoFHandlerType>::build_patches (const Mapping<dimension> &
   // now build the patches in parallel
   WorkStream::run (&all_faces[0],
                    &all_faces[0]+all_faces.size(),
-                   std_cxx11::bind(&DataOutFaces<dim,DoFHandlerType>::build_one_patch,
-                                   this, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3),
-                   std_cxx11::bind(&internal::DataOutFaces::
-                                   append_patch_to_list<dim,space_dimension>,
-                                   std_cxx11::_1, std_cxx11::ref(this->patches)),
+                   std::bind(&DataOutFaces<dim,DoFHandlerType>::build_one_patch,
+                             this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3),
+                   std::bind(&internal::DataOutFaces::
+                             append_patch_to_list<dim,space_dimension>,
+                             std::placeholders::_1, std::ref(this->patches)),
                    thread_data,
                    sample_patch);
 }
index 403cabaa2d918330f8438cc3c3b395226f1a6d34..664ec0e9cd299007c9a5372e21bfb84e1d20fda8 100644 (file)
@@ -54,7 +54,7 @@ namespace internal
                   const unsigned int n_patches_per_circle,
                   const std::vector<unsigned int> &n_postprocessor_outputs,
                   const Mapping<dim,spacedim> &mapping,
-                  const std::vector<std_cxx11::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
+                  const std::vector<std::shared_ptr<dealii::hp::FECollection<dim,spacedim> > > &finite_elements,
                   const UpdateFlags update_flags)
       :
       internal::DataOut::
@@ -476,11 +476,11 @@ void DataOutRotation<dim,DoFHandlerType>::build_patches (const unsigned int n_pa
   // now build the patches in parallel
   WorkStream::run (&all_cells[0],
                    &all_cells[0]+all_cells.size(),
-                   std_cxx11::bind(&DataOutRotation<dim,DoFHandlerType>::build_one_patch,
-                                   this, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3),
-                   std_cxx11::bind(&internal::DataOutRotation
-                                   ::append_patch_to_list<dim,space_dimension>,
-                                   std_cxx11::_1, std_cxx11::ref(this->patches)),
+                   std::bind(&DataOutRotation<dim,DoFHandlerType>::build_one_patch,
+                             this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3),
+                   std::bind(&internal::DataOutRotation
+                             ::append_patch_to_list<dim,space_dimension>,
+                             std::placeholders::_1, std::ref(this->patches)),
                    thread_data,
                    new_patches);
 }
index 857b67f8a4c2cb0c4ea721721b59aaae291424ba..f760e06ab699664cf4b5e0923eae340da4ba0dbd 100644 (file)
@@ -931,26 +931,26 @@ namespace DerivativeApproximation
               template <int, int> class DoFHandlerType, class InputVector, int spacedim>
     void
     approximate
-    (SynchronousIterators<std_cxx11::tuple<TriaActiveIterator < dealii::DoFCellAccessor < DoFHandlerType < dim, spacedim >, false > >, Vector<float>::iterator> > const &cell,
+    (SynchronousIterators<std::tuple<TriaActiveIterator < dealii::DoFCellAccessor < DoFHandlerType < dim, spacedim >, false > >, Vector<float>::iterator> > const &cell,
      const Mapping<dim,spacedim>        &mapping,
      const DoFHandlerType<dim,spacedim> &dof_handler,
      const InputVector                  &solution,
      const unsigned int                  component)
     {
       // if the cell is not locally owned, then there is nothing to do
-      if (std_cxx11::get<0>(*cell)->is_locally_owned() == false)
-        *std_cxx11::get<1>(*cell) = 0;
+      if (std::get<0>(*cell)->is_locally_owned() == false)
+        *std::get<1>(*cell) = 0;
       else
         {
           typename DerivativeDescription::Derivative derivative;
           // call the function doing the actual
           // work on this cell
           approximate_cell<DerivativeDescription,dim,DoFHandlerType,InputVector, spacedim>
-          (mapping,dof_handler,solution,component,std_cxx11::get<0>(*cell),derivative);
+          (mapping,dof_handler,solution,component,std::get<0>(*cell),derivative);
 
           // evaluate the norm and fill the vector
           //*derivative_norm_on_this_cell
-          *std_cxx11::get<1>(*cell) = DerivativeDescription::derivative_norm (derivative);
+          *std::get<1>(*cell) = DerivativeDescription::derivative_norm (derivative);
         }
     }
 
@@ -980,7 +980,7 @@ namespace DerivativeApproximation
       Assert (component < dof_handler.get_fe().n_components(),
               ExcIndexRange (component, 0, dof_handler.get_fe().n_components()));
 
-      typedef std_cxx11::tuple<TriaActiveIterator<dealii::DoFCellAccessor
+      typedef std::tuple<TriaActiveIterator<dealii::DoFCellAccessor
       <DoFHandlerType<dim, spacedim>, false> >,
       Vector<float>::iterator> Iterators;
       SynchronousIterators<Iterators> begin(Iterators(dof_handler.begin_active(),
@@ -992,15 +992,15 @@ namespace DerivativeApproximation
       // to write in derivative_norm. Scratch and CopyData are also useless.
       WorkStream::run(begin,
                       end,
-                      static_cast<std_cxx11::function<void (SynchronousIterators<Iterators> const &,
-                                                            Assembler::Scratch const &, Assembler::CopyData &)> >
-                      (std_cxx11::bind(&approximate<DerivativeDescription,dim,DoFHandlerType,
-                                       InputVector,spacedim>,
-                                       std_cxx11::_1,
-                                       std_cxx11::cref(mapping),
-                                       std_cxx11::cref(dof_handler),
-                                       std_cxx11::cref(solution),component)),
-                      std_cxx11::function<void (internal::Assembler::CopyData const &)> (),
+                      static_cast<std::function<void (SynchronousIterators<Iterators> const &,
+                                                      Assembler::Scratch const &, Assembler::CopyData &)> >
+                      (std::bind(&approximate<DerivativeDescription,dim,DoFHandlerType,
+                                 InputVector,spacedim>,
+                                 std::placeholders::_1,
+                                 std::cref(mapping),
+                                 std::cref(dof_handler),
+                                 std::cref(solution),component)),
+                      std::function<void (internal::Assembler::CopyData const &)> (),
                       internal::Assembler::Scratch (),internal::Assembler::CopyData ());
     }
 
index 033573ce552784e64e5b381d53297f864d22ddaa..b38c6be421f761ce62955a0990d950ad62cf2255 100644 (file)
 #include <deal.II/numerics/error_estimator.h>
 #include <deal.II/distributed/tria.h>
 
-#include <deal.II/base/std_cxx11/bind.h>
 
 #include <numeric>
 #include <algorithm>
 #include <cmath>
 #include <vector>
+#include <functional>
 
 DEAL_II_NAMESPACE_OPEN
 
index fbd5d18d1e1f84065491376310850e11068b435d..eb94b7b67069440088a39e794eada75ccf61d755 100644 (file)
@@ -94,8 +94,8 @@ PointValueHistory<dim>::PointValueHistory (const DoFHandler<dim> &dof_handler,
     = std::vector<std::vector <double> > (n_indep, std::vector <double> (0));
   indep_names = std::vector <std::string> ();
 
-  tria_listener = dof_handler.get_triangulation().signals.any_change.connect (std_cxx11::bind (&PointValueHistory<dim>::tria_change_listener,
-                  std_cxx11::ref(*this)));
+  tria_listener = dof_handler.get_triangulation().signals.any_change.connect (std::bind (&PointValueHistory<dim>::tria_change_listener,
+                  std::ref(*this)));
 }
 
 
@@ -124,8 +124,8 @@ PointValueHistory<dim>::PointValueHistory (const PointValueHistory &point_value_
   // Presume subscribe new instance?
   if (have_dof_handler)
     {
-      tria_listener = dof_handler->get_triangulation().signals.any_change.connect (std_cxx11::bind     (&PointValueHistory<dim>::tria_change_listener,
-                      std_cxx11::ref(*this)));
+      tria_listener = dof_handler->get_triangulation().signals.any_change.connect (std::bind     (&PointValueHistory<dim>::tria_change_listener,
+                      std::ref(*this)));
     }
 }
 
@@ -156,8 +156,8 @@ PointValueHistory<dim>::operator= (const PointValueHistory &point_value_history)
   // Presume subscribe new instance?
   if (have_dof_handler)
     {
-      tria_listener = dof_handler->get_triangulation().signals.any_change.connect (std_cxx11::bind     (&PointValueHistory<dim>::tria_change_listener,
-                      std_cxx11::ref(*this)));
+      tria_listener = dof_handler->get_triangulation().signals.any_change.connect (std::bind     (&PointValueHistory<dim>::tria_change_listener,
+                      std::ref(*this)));
     }
 
   return * this;
index ed10906b97dffb5922e2359e3ae313a85207e82b..1cf56e6b0c2d04ebfc9d682d4608f7a14010df0d 100644 (file)
@@ -18,7 +18,6 @@
 #include <deal.II/base/thread_management.h>
 #include <deal.II/base/utilities.h>
 #include <deal.II/base/parallel.h>
-#include <deal.II/base/std_cxx11/bind.h>
 #include <deal.II/grid/tria.h>
 #include <deal.II/grid/tria_accessor.h>
 #include <deal.II/grid/tria_iterator.h>
@@ -160,8 +159,8 @@ void TimeDependent::delete_timestep (const unsigned int position)
 void
 TimeDependent::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),
+  do_loop (std::bind(&TimeStepBase::init_for_primal_problem, std::placeholders::_1),
+           std::bind(&TimeStepBase::solve_primal_problem, std::placeholders::_1),
            timestepping_data_primal,
            forward);
 }
@@ -170,8 +169,8 @@ TimeDependent::solve_primal_problem ()
 void
 TimeDependent::solve_dual_problem ()
 {
-  do_loop (std_cxx11::bind(&TimeStepBase::init_for_dual_problem, std_cxx11::_1),
-           std_cxx11::bind(&TimeStepBase::solve_dual_problem, std_cxx11::_1),
+  do_loop (std::bind(&TimeStepBase::init_for_dual_problem, std::placeholders::_1),
+           std::bind(&TimeStepBase::solve_dual_problem, std::placeholders::_1),
            timestepping_data_dual,
            backward);
 }
@@ -180,8 +179,8 @@ TimeDependent::solve_dual_problem ()
 void
 TimeDependent::postprocess ()
 {
-  do_loop (std_cxx11::bind(&TimeStepBase::init_for_postprocessing, std_cxx11::_1),
-           std_cxx11::bind(&TimeStepBase::postprocess_timestep, std_cxx11::_1),
+  do_loop (std::bind(&TimeStepBase::init_for_postprocessing, std::placeholders::_1),
+           std::bind(&TimeStepBase::postprocess_timestep, std::placeholders::_1),
            timestepping_data_postprocess,
            forward);
 }
@@ -216,7 +215,7 @@ void TimeDependent::end_sweep ()
   void (TimeDependent::*p) (const unsigned int, const unsigned int)
     = &TimeDependent::end_sweep;
   parallel::apply_to_subranges (0U, timesteps.size(),
-                                std_cxx11::bind (p, this, std_cxx11::_1, std_cxx11::_2),
+                                std::bind (p, this, std::placeholders::_1, std::placeholders::_2),
                                 1);
 }
 
index 4d76bdd37bee7f62248f26db2ce65750b571579f..966e05d837ecbe60c78809e9dc1c2e21a2951359 100644 (file)
@@ -23,7 +23,7 @@ for (VEC: REAL_NONBLOCK_VECTORS; deal_II_dimension : DIMENSIONS)
         const DoFHandler<deal_II_dimension,deal_II_dimension> &,
         const ConstraintMatrix &,
         const Quadrature<deal_II_dimension> &,
-        const std_cxx11::function<VEC::value_type (const DoFHandler<deal_II_dimension, deal_II_dimension>::active_cell_iterator &, const unsigned int)>,
+        const std::function<VEC::value_type (const DoFHandler<deal_II_dimension, deal_II_dimension>::active_cell_iterator &, const unsigned int)>,
         VEC &);
 
     \}
index 101e933cd06fae912929e9fa91ba5a1d4927f1f8..234a485a7d018c696c8b835d0500325251eb7473 100644 (file)
@@ -21,17 +21,17 @@ for (VEC: REAL_NONBLOCK_VECTORS; deal_II_dimension : DIMENSIONS)
 
     template
     void project<deal_II_dimension, VEC>(
-        std_cxx11::shared_ptr<const MatrixFree<deal_II_dimension,VEC::value_type> > matrix_free,
+        std::shared_ptr<const MatrixFree<deal_II_dimension,VEC::value_type> > matrix_free,
         const ConstraintMatrix &constraints,
-        const std_cxx11::function< VectorizedArray<VEC::value_type> (const unsigned int, const unsigned int)>,
+        const std::function< VectorizedArray<VEC::value_type> (const unsigned int, const unsigned int)>,
         VEC &);
 
     template
     void project<deal_II_dimension, VEC>(
-        std_cxx11::shared_ptr<const MatrixFree<deal_II_dimension,VEC::value_type> > matrix_free,
+        std::shared_ptr<const MatrixFree<deal_II_dimension,VEC::value_type> > matrix_free,
         const ConstraintMatrix &constraints,
         const unsigned int,
-        const std_cxx11::function< VectorizedArray<VEC::value_type> (const unsigned int, const unsigned int)>,
+        const std::function< VectorizedArray<VEC::value_type> (const unsigned int, const unsigned int)>,
         VEC &);
 
     \}
index b38fc1d66816f92b25d3fcf379b54e3e9bb0348e..2dac7d1716bda44ab86402da797b32f93e08e724 100644 (file)
@@ -144,7 +144,7 @@ namespace OpenCASCADE
     tolerance(tolerance)
   {
     Assert(spacedim == 3, ExcNotImplemented());
-    Assert(std_cxx11::get<0>(count_elements(sh)) > 0,
+    Assert(std::get<0>(count_elements(sh)) > 0,
            ExcMessage("NormalToMeshProjectionBoundary needs a shape containing faces to operate."));
   }
 
@@ -172,12 +172,12 @@ namespace OpenCASCADE
       {
         for (unsigned int i=0; i<surrounding_points.size(); ++i)
           {
-            std_cxx11::tuple<Point<3>,  Tensor<1,3>, double, double>
+            std::tuple<Point<3>,  Tensor<1,3>, double, double>
             p_and_diff_forms =
               closest_point_and_differential_forms(sh,
                                                    surrounding_points[i],
                                                    tolerance);
-            average_normal += std_cxx11::get<1>(p_and_diff_forms);
+            average_normal += std::get<1>(p_and_diff_forms);
           }
 
         average_normal/=2.0;
@@ -333,13 +333,13 @@ namespace OpenCASCADE
   }
 
   template<>
-  std_cxx11::tuple<double, double, double, double>
+  std::tuple<double, double, double, double>
   NURBSPatchManifold<2, 3>::
   get_uv_bounds() const
   {
     Standard_Real umin, umax, vmin, vmax;
     BRepTools::UVBounds(face, umin, umax, vmin, vmax);
-    return std_cxx11::make_tuple(umin, umax, vmin, vmax);
+    return std::make_tuple(umin, umax, vmin, vmax);
   }
 
 // Explicit instantiations
index 0e97c3fc1211639f3837b1d14baabbfdb5f7a6a8..a5cc591db735bf5e96d3679d2572a7fb37d7512a 100644 (file)
@@ -89,7 +89,7 @@ DEAL_II_NAMESPACE_OPEN
 
 namespace OpenCASCADE
 {
-  std_cxx11::tuple<unsigned int, unsigned int, unsigned int>
+  std::tuple<unsigned int, unsigned int, unsigned int>
   count_elements(const TopoDS_Shape &shape)
   {
     TopExp_Explorer exp;
@@ -103,7 +103,7 @@ namespace OpenCASCADE
     for (exp.Init(shape, TopAbs_VERTEX);
          exp.More(); exp.Next(), ++n_vertices)
       {}
-    return std_cxx11::tuple<unsigned int, unsigned int, unsigned int>(n_faces, n_edges, n_vertices);
+    return std::tuple<unsigned int, unsigned int, unsigned int>(n_faces, n_edges, n_vertices);
   }
 
   void extract_geometrical_shapes(const TopoDS_Shape &shape,
@@ -460,7 +460,7 @@ namespace OpenCASCADE
     return out_shape;
   }
 
-  std_cxx11::tuple<Point<3>, TopoDS_Shape, double, double>
+  std::tuple<Point<3>, TopoDS_Shape, double, double>
   project_point_and_pull_back(const TopoDS_Shape &in_shape,
                               const Point<3> &origin,
                               const double tolerance)
@@ -536,7 +536,7 @@ namespace OpenCASCADE
         }
 
     Assert(counter > 0, ExcMessage("Could not find projection points."));
-    return std_cxx11::tuple<Point<3>, TopoDS_Shape, double, double>
+    return std::tuple<Point<3>, TopoDS_Shape, double, double>
            (point(Pproj),out_shape, u, v);
   }
 
@@ -545,35 +545,35 @@ namespace OpenCASCADE
                          const Point<3> &origin,
                          const double tolerance)
   {
-    std_cxx11::tuple<Point<3>, TopoDS_Shape, double, double>
+    std::tuple<Point<3>, TopoDS_Shape, double, double>
     ref = project_point_and_pull_back(in_shape, origin, tolerance);
-    return std_cxx11::get<0>(ref);
+    return std::get<0>(ref);
   }
 
-  std_cxx11::tuple<Point<3>,  Tensor<1,3>, double, double>
+  std::tuple<Point<3>,  Tensor<1,3>, double, double>
   closest_point_and_differential_forms(const TopoDS_Shape &in_shape,
                                        const Point<3> &origin,
                                        const double tolerance)
 
   {
-    std_cxx11::tuple<Point<3>, TopoDS_Shape, double, double>
+    std::tuple<Point<3>, TopoDS_Shape, double, double>
     shape_and_params = project_point_and_pull_back(in_shape,
                                                    origin,
                                                    tolerance);
 
-    TopoDS_Shape &out_shape = std_cxx11::get<1>(shape_and_params);
-    double &u = std_cxx11::get<2>(shape_and_params);
-    double &v = std_cxx11::get<3>(shape_and_params);
+    TopoDS_Shape &out_shape = std::get<1>(shape_and_params);
+    double &u = std::get<2>(shape_and_params);
+    double &v = std::get<3>(shape_and_params);
 
     // just a check here: the number of faces in out_shape must be 1, otherwise
     // something is wrong
-    std_cxx11::tuple<unsigned int, unsigned int, unsigned int> numbers =
+    std::tuple<unsigned int, unsigned int, unsigned int> numbers =
       count_elements(out_shape);
     (void)numbers;
 
-    Assert(std_cxx11::get<0>(numbers) > 0,
+    Assert(std::get<0>(numbers) > 0,
            ExcMessage("Could not find normal: the shape containing the closest point has 0 faces."));
-    Assert(std_cxx11::get<0>(numbers) < 2,
+    Assert(std::get<0>(numbers) < 2,
            ExcMessage("Could not find normal: the shape containing the closest point has more than 1 face."));
 
 
@@ -605,7 +605,7 @@ namespace OpenCASCADE
     return Point<3>();
   }
 
-  std_cxx11::tuple<Point<3>,  Tensor<1,3>, double, double>
+  std::tuple<Point<3>,  Tensor<1,3>, double, double>
   push_forward_and_differential_forms(const TopoDS_Face &face,
                                       const double u,
                                       const double v,
@@ -632,7 +632,7 @@ namespace OpenCASCADE
         Max_Curvature *= -1;
       }
 
-    return std_cxx11::tuple<Point<3>, Tensor<1,3>, double, double>(point(Value), normal, Min_Curvature, Max_Curvature);
+    return std::tuple<Point<3>, Tensor<1,3>, double, double>(point(Value), normal, Min_Curvature, Max_Curvature);
   }
 
 
index d882f4239fdba29167dc7a4feef7947bb6933d3f..3405ee3e8b0bfc60b08c06ae4ab92f7aa5ca0034 100644 (file)
@@ -91,7 +91,7 @@ void test ()
                                             constraints);
   constraints.close ();
 
-  std_cxx11::shared_ptr<MatrixFree<dim,double> > mf_data(new MatrixFree<dim,double> ());
+  std::shared_ptr<MatrixFree<dim,double> > mf_data(new MatrixFree<dim,double> ());
   {
     const QGauss<1> quad (fe_degree+1);
     typename MatrixFree<dim,double>::AdditionalData data;
index fc814283cd8aed539b644b01e512519d0df3a5f7..fe4e03fe4d44dc573971f498443b48422582c18c 100644 (file)
@@ -47,7 +47,7 @@ write_patches(const std::vector<DataOutBase::Patch<dim,spacedim> > &patches,
   DataOutBase::VtkFlags vtkflags;
   DataOutBase::Deal_II_IntermediateFlags deal_II_intermediateflags;
 
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
 
   WRITE(dx);
   if (dim==2)
index 4cff6eac0815d90e82c890212728318361153d3d..d5b7aee545250b7e5337c62c2322cca340faee60 100644 (file)
@@ -50,7 +50,7 @@ void check(DataOutBase::DXFlags flags,
   names[3] = "x4";
   names[4] = "i";
 
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
 
   DataOutBase::write_dx(patches, names, vectors, flags, out);
 }
@@ -68,7 +68,7 @@ void check_cont(unsigned int ncells,
 
   std::vector<std::string> names(1);
   names[0] = "CutOff";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_dx(patches, names, vectors, flags, out);
 }
 
index e82c4dc859588d34e040bdd2608400494b1ba17b..7ead9c17f22218b4ec435d7acf088041d0e4a10b 100644 (file)
@@ -49,7 +49,7 @@ void check(DataOutBase::EpsFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_eps(patches, names, vectors, flags, out);
 }
 
@@ -66,7 +66,7 @@ void check_cont(unsigned int ncells,
 
   std::vector<std::string> names(1);
   names[0] = "CutOff";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_eps(patches, names, vectors, flags, out);
 }
 
index 42d1f8d0bea1a93a44ae1c2e81a5198a9a4ae345..9479f0cf6674e0f5578c1368e7694dfe3974de97 100644 (file)
@@ -48,7 +48,7 @@ void check(DataOutBase::GmvFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_gmv(patches, names, vectors, flags, out);
 }
 
index 4f38fc902e2b5f342faf9adff8a2e46898c0b52d..88bb86d16e3c30271ea43ad1d1d33efa749d9f04 100644 (file)
@@ -47,7 +47,7 @@ void check(DataOutBase::GnuplotFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_gnuplot(patches, names, vectors, flags, out);
 }
 
index 7e135f020a2bd7a3a5ea2d34c9d298812a6be723..f82745fc3aea782144c45a8924af97e4724d8dab 100644 (file)
@@ -52,7 +52,7 @@ void check(DataOutBase::GnuplotFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_gnuplot(patches, names, vectors, flags, out);
 }
 
index c585afaa0f6d325939bfa71af31eecd6761a737e..b357b234cdbfa3e119fd7a4bb3247183da5c0e6c 100644 (file)
@@ -49,7 +49,7 @@ void check(DataOutBase::PovrayFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_povray(patches, names, vectors, flags, out);
 }
 
@@ -66,7 +66,7 @@ void check_cont(unsigned int ncells,
 
   std::vector<std::string> names(1);
   names[0] = "CutOff";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_povray(patches, names, vectors, flags, out);
 }
 
index 299b6ab1c367133eca2dc909b40d80f226acc11a..9cf01272c83b04141321f618a104b876b862db3f 100644 (file)
@@ -48,7 +48,7 @@ void check(DataOutBase::TecplotFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_tecplot(patches, names, vectors, flags, out);
 }
 
index 4ea58ce949d730a160cc329a76b1d886f8a26275..24156a65be3813f5af2e6a391099f2635a4095b0 100644 (file)
@@ -45,7 +45,7 @@ void check(DataOutBase::TecplotFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_tecplot_binary(patches, names, vectors, flags, out);
 }
 
index da67a3e3df32277d5df9e499fc64d3bd75c68307..75b89040456348b1d8dcd6ee9f5b29516aced6f6 100644 (file)
@@ -48,7 +48,7 @@ void check(DataOutBase::VtkFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_vtk(patches, names, vectors, flags, out);
 }
 
index 58d796d4058eefab03ad77da152305972fdd64e8..25bb64cf378818a2579e09f0602be492ecef608a 100644 (file)
@@ -51,7 +51,7 @@ void check(DataOutBase::VtkFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_vtk(patches, names, vectors, flags, out);
 }
 
index 3119266a9b1130f9210df7cd24d80a2d7324a966..a2989f7b29cc3bb6890ff7d821c4e87c8a3b399d 100644 (file)
@@ -51,7 +51,7 @@ void check(DataOutBase::VtkFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_vtk(patches, names, vectors, flags, out);
 }
 
index 2009377ede51b107757b4672b28c08bb134495eb..99bd333bd0c1a7a659a2adfe0dd45e76e20a8193 100644 (file)
@@ -51,7 +51,7 @@ void check(DataOutBase::VtkFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_vtk(patches, names, vectors, flags, out);
 }
 
index 703861aeb71798c672117b475ed4457f91e77f1d..52f4e64aa83dd8c083486ae1a0051b0fd411128e 100644 (file)
@@ -48,7 +48,7 @@ void check(DataOutBase::VtkFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_vtu(patches, names, vectors, flags, out);
 }
 
index 1cb302beb5e9421a1504af4a3a44d51af173249c..c2cd7a9546645297bc591b21bd54f423e82e2a26 100644 (file)
@@ -42,7 +42,7 @@ void check(DataOutBase::VtkFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_vtu(patches, names, vectors, flags, out);
 }
 
index 1720d66a575208ba18ebc13aae9cf9945fd0e9b6..d0ff491e863799fba863cf8adf7416451566ae25 100644 (file)
@@ -50,7 +50,7 @@ void check(DataOutBase::VtkFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_vtu(patches, names, vectors, flags, out);
 }
 
index e292cb13ed046907d1441166e97f9415ba6b52a4..f46e7232f357c58692d2044552caad5512449635 100644 (file)
@@ -50,7 +50,7 @@ void check(DataOutBase::VtkFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_vtu(patches, names, vectors, flags, out);
 }
 
index ab2bd5fd878521d5d9fffc3b96cbee39bff70cf2..b481874a904c8b453cc3b7e661a16e3a03944f82 100644 (file)
@@ -51,7 +51,7 @@ void check(DataOutBase::VtkFlags flags,
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   DataOutBase::write_vtu(patches, names, vectors, flags, out);
 }
 
index 886bf208a593c3e4b1aed906208d825b6f4544fd..838df2411c86909e77bd346a5b07d5860f69d96e 100644 (file)
@@ -42,7 +42,7 @@ void check()
   names[2] = "x3";
   names[3] = "x4";
   names[4] = "i";
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
 
   std::ostringstream old_data;
   DataOutBase::write_deal_II_intermediate(patches, names, vectors,
index d103cda19e95e9d788f8d1860a4150d23df07ec2..b79460fabb7ec5c265998a87e9d27922f729be9f 100644 (file)
@@ -77,9 +77,9 @@ void test2()
   WorkStream::run(v.begin(),
                   v.end(),
                   &assemble,
-                  std_cxx11::bind(&copy,
-                                  std_cxx11::ref(result),
-                                  std_cxx11::_1),
+                  std::bind(&copy,
+                            std::ref(result),
+                            std::placeholders::_1),
                   scratch_data(), copy_data());
   std::cout << "result: " << result << std::endl;
 
index 8260be9a382f2a63e28ce7ef8fcd689f9ef361da..c93d0a1ac1c267d2dba53273d9abeaf3445a0582 100644 (file)
@@ -184,7 +184,7 @@ check_function(const Functions::FlowFunction<dim> &f,
 
   DataOutBase::DXFlags dxflags;
   DataOutBase::GnuplotFlags gflags;
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   if (dim==2)
     DataOutBase::write_gnuplot(patches, names, vectors, gflags, out);
   else
index 3102ab827b0a4769c5e0cdbc4481b4a289a30e53..86b9329101774a456be168b9f3858f9eab92f1a7 100644 (file)
@@ -48,9 +48,9 @@ void check2 ()
     q[d] = d;
 
   ScalarFunctionFromFunctionObject<dim>
-  object (std_cxx11::bind (&Point<dim>::distance,
-                           q,
-                           std_cxx11::_1));
+  object (std::bind (&Point<dim>::distance,
+                     q,
+                     std::placeholders::_1));
 
   for (unsigned int i=0; i<10; ++i)
     {
index d2693a3fd62aefc2f4f351a176035200291be230..d5d9fc67ceebd997783837022420a4732c293ffc 100644 (file)
@@ -58,9 +58,9 @@ void check2 ()
     q[d] = d;
 
   ScalarFunctionFromFunctionObject<dim>
-  object (std_cxx11::bind (&Point<dim>::distance,
-                           q,
-                           std_cxx11::_1));
+  object (std::bind (&Point<dim>::distance,
+                     q,
+                     std::placeholders::_1));
 
   for (unsigned int i=0; i<10; ++i)
     {
index 0044c29faa5440f35854cb2d7700561c3c47211d..1d1d6c5d325df1dafaabff0fde1d9a3557811ae1 100644 (file)
@@ -22,7 +22,7 @@
 // now interpolate the function x*y*z onto points. note that this function is
 // (bi/tri)linear and so we can later know what the correct value is that the
 // function should provide
-Table<1,double> fill (const std_cxx11::array<std::vector<double>,1> &coordinates)
+Table<1,double> fill (const std::array<std::vector<double>,1> &coordinates)
 {
   Table<1,double> data(coordinates[0].size());
   for (unsigned int i=0; i<coordinates[0].size(); ++i)
@@ -30,7 +30,7 @@ Table<1,double> fill (const std_cxx11::array<std::vector<double>,1> &coordinates
   return data;
 }
 
-Table<2,double> fill (const std_cxx11::array<std::vector<double>,2> &coordinates)
+Table<2,double> fill (const std::array<std::vector<double>,2> &coordinates)
 {
   Table<2,double> data(coordinates[0].size(),
                        coordinates[1].size());
@@ -40,7 +40,7 @@ Table<2,double> fill (const std_cxx11::array<std::vector<double>,2> &coordinates
   return data;
 }
 
-Table<3,double> fill (const std_cxx11::array<std::vector<double>,3> &coordinates)
+Table<3,double> fill (const std::array<std::vector<double>,3> &coordinates)
 {
   Table<3,double> data(coordinates[0].size(),
                        coordinates[1].size(),
@@ -60,7 +60,7 @@ void check ()
 {
   // have coordinate arrays that span an interval starting at d+1
   // d+5 nonuniform intervals
-  std_cxx11::array<std::vector<double>,dim> coordinates;
+  std::array<std::vector<double>,dim> coordinates;
   for (unsigned int d=0; d<dim; ++d)
     for (unsigned int i=0; i<d+5; ++i)
       coordinates[d].push_back (d+1 + 1.*i*i);
index 5afc8231188ce32650d20b1307d98e3f15988217..3a58664b44a1cd2a2dc4ea10607b4e92cefc72e3 100644 (file)
@@ -22,7 +22,7 @@
 // now interpolate the function x*y*z onto points. note that this function is
 // (bi/tri)linear and so we can later know what the correct value is that the
 // function should provide
-Table<1,double> fill (const std_cxx11::array<std::vector<double>,1> &coordinates)
+Table<1,double> fill (const std::array<std::vector<double>,1> &coordinates)
 {
   Table<1,double> data(coordinates[0].size());
   for (unsigned int i=0; i<coordinates[0].size(); ++i)
@@ -30,7 +30,7 @@ Table<1,double> fill (const std_cxx11::array<std::vector<double>,1> &coordinates
   return data;
 }
 
-Table<2,double> fill (const std_cxx11::array<std::vector<double>,2> &coordinates)
+Table<2,double> fill (const std::array<std::vector<double>,2> &coordinates)
 {
   Table<2,double> data(coordinates[0].size(),
                        coordinates[1].size());
@@ -40,7 +40,7 @@ Table<2,double> fill (const std_cxx11::array<std::vector<double>,2> &coordinates
   return data;
 }
 
-Table<3,double> fill (const std_cxx11::array<std::vector<double>,3> &coordinates)
+Table<3,double> fill (const std::array<std::vector<double>,3> &coordinates)
 {
   Table<3,double> data(coordinates[0].size(),
                        coordinates[1].size(),
@@ -60,15 +60,15 @@ void check ()
 {
   // have coordinate arrays that span an interval starting at d+1
   // d+5 nonuniform intervals
-  std_cxx11::array<std::pair<double,double>,dim> intervals;
-  std_cxx11::array<unsigned int,dim> n_subintervals;
+  std::array<std::pair<double,double>,dim> intervals;
+  std::array<unsigned int,dim> n_subintervals;
   for (unsigned int d=0; d<dim; ++d)
     {
       intervals[d] = std::make_pair(d+2., 2*d+5.);
       n_subintervals[d] = d+1 + d*d;
     }
 
-  std_cxx11::array<std::vector<double>,dim> coordinates;
+  std::array<std::vector<double>,dim> coordinates;
   for (unsigned int d=0; d<dim; ++d)
     {
       const double x = intervals[d].first;
index 1e49acbdb56d2d136d0514c5f2ca6d28ed7ce470..ac0def3811f452a70352be0f8eb9e284caca45a8 100644 (file)
@@ -19,7 +19,7 @@
 #include "../tests.h"
 #include <deal.II/base/function.h>
 #include <deal.II/lac/vector.h>
-#include <deal.II/base/std_cxx11/array.h>
+#include <array>
 #include <vector>
 
 #define MAX_DIM 3
index 045c344f26c50edb2b73aeeaf3ad45249c18fab5..bc0cc8698a1b4cee0b99b68ecbc5adbafffca6c5 100644 (file)
@@ -224,7 +224,7 @@ check_function_derivative(const Functions::FlowFunction<dim> &f,
 
   DataOutBase::DXFlags dxflags;
   DataOutBase::GnuplotFlags gflags;
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> > vectors;
   if (dim==2)
     DataOutBase::write_gnuplot(patches, names, vectors, gflags, out);
   else
index 8e4cf8768cc63fee43be8e8406cb772ddccb7714..a258d02270c20a1668ffb6ff3b3ddda5fc0e925e 100644 (file)
@@ -86,26 +86,26 @@ public:
   {}
 
 private:
-  virtual double svalue(const std_cxx11::array<double, dim> &sp,
+  virtual double svalue(const std::array<double, dim> &sp,
                         const unsigned int) const
   {
     return std::exp(-Z*sp[0]);
   }
 
-  virtual std_cxx11::array<double, dim> sgradient(const std_cxx11::array<double, dim> &sp,
-                                                  const unsigned int) const
+  virtual std::array<double, dim> sgradient(const std::array<double, dim> &sp,
+                                            const unsigned int) const
   {
-    std_cxx11::array<double, dim> res;
+    std::array<double, dim> res;
     res[0] = -Z*std::exp(-Z*sp[0]);
     for (unsigned int i=1; i < dim; i++)
       res[i] = 0.;
     return res;
   }
 
-  virtual std_cxx11::array<double, 6> shessian (const std_cxx11::array<double, dim> &sp,
-                                                const unsigned int) const
+  virtual std::array<double, 6> shessian (const std::array<double, dim> &sp,
+                                          const unsigned int) const
   {
-    std_cxx11::array<double, 6> res;
+    std::array<double, 6> res;
     res[0] = Z*Z*std::exp(-Z*sp[0]);
     for (unsigned int i=1; i < 6; i++)
       res[i] = 0.;
@@ -131,7 +131,7 @@ void check()
     for (double theta = 0; theta < 2*numbers::PI; theta+= numbers::PI/3.)
       for (double phi = 0.01; phi <= numbers::PI; phi+= numbers::PI/4.)
         {
-          std_cxx11::array<double, dim> sp;
+          std::array<double, dim> sp;
           sp[0] = r;
           sp[1] = theta;
           sp[2] = phi;
index b5f01ba1c8e526931033af943160f61724226811..e4f43e30271b208165490229e62b895a3d13775b 100644 (file)
@@ -128,16 +128,16 @@ public:
   {}
 
 private:
-  virtual double svalue(const std_cxx11::array<double, dim> &sp,
+  virtual double svalue(const std::array<double, dim> &sp,
                         const unsigned int) const
   {
     return sp[0]*sp[0]*std::cos(sp[1])*std::sin(sp[2]);
   }
 
-  virtual std_cxx11::array<double, dim> sgradient(const std_cxx11::array<double, dim> &sp,
-                                                  const unsigned int) const
+  virtual std::array<double, dim> sgradient(const std::array<double, dim> &sp,
+                                            const unsigned int) const
   {
-    std_cxx11::array<double, dim> res;
+    std::array<double, dim> res;
     const double r     = sp[0];
     const double theta = sp[1];
     const double phi   = sp[2];
@@ -147,10 +147,10 @@ private:
     return res;
   }
 
-  virtual std_cxx11::array<double, 6> shessian (const std_cxx11::array<double, dim> &sp,
-                                                const unsigned int) const
+  virtual std::array<double, 6> shessian (const std::array<double, dim> &sp,
+                                          const unsigned int) const
   {
-    std_cxx11::array<double, 6> res;
+    std::array<double, 6> res;
     const double r = sp[0];
     const double theta = sp[1];
     const double phi = sp[2];
@@ -180,7 +180,7 @@ void check()
     for (double theta = 0; theta < 2*numbers::PI; theta+= numbers::PI/3.)
       for (double phi = 0.01; phi <= numbers::PI; phi+= numbers::PI/4.)
         {
-          std_cxx11::array<double, dim> sp;
+          std::array<double, dim> sp;
           sp[0] = r;
           sp[1] = theta;
           sp[2] = phi;
index abdbd90375412429e199dff2f9612115121375ec..d53035e79cadc88f013c64390bcfe502db7a107e 100644 (file)
@@ -49,7 +49,7 @@ void test ()
 
   const Point<dim> origin;
 
-  std_cxx1x::array<double,dim> sorigin;
+  std::array<double,dim> sorigin;
   for (unsigned int d= 0; d < dim; d++)
     sorigin[d] = 0.;
 
@@ -57,7 +57,7 @@ void test ()
   for (unsigned int d=0; d< dim; d++)
     one[d] = 1.;
 
-  std_cxx1x::array<double,dim> sone;
+  std::array<double,dim> sone;
   sone[0] = std::sqrt(1.*dim);
   sone[1] = numbers::PI/4;
   if (dim==3)
@@ -76,15 +76,15 @@ void test3d()
   const dealii::Point<3> y(0,1,0);
   const dealii::Point<3> z(0,0,1);
 
-  std_cxx1x::array<double,3> sx;
+  std::array<double,3> sx;
   sx[0] = 1.;
   sx[1] = 0;
   sx[2] = numbers::PI/2;
-  std_cxx1x::array<double,3> sy;
+  std::array<double,3> sy;
   sy[0] = 1;
   sy[1] = numbers::PI/2;
   sy[2] = numbers::PI/2;
-  std_cxx1x::array<double,3> sz;
+  std::array<double,3> sz;
   sz[0] = 1.;
   sz[1] = 0.;
   sz[2] = 0.;
@@ -98,7 +98,7 @@ void test3d()
   print<3>(to_spherical(z),sz);
 
   const Point<3> dateline(0,-1,0);
-  std_cxx1x::array<double,3> sdateline;
+  std::array<double,3> sdateline;
   sdateline[0] = 1.;
   sdateline[1] = 3*numbers::PI/2;
   sdateline[2] = numbers::PI/2;
index da552fbf2ab0b75df6ede7745229f30c0c93719d..3b4fe5fcb3cf49d180092ac4c4a597ec86657a23 100644 (file)
@@ -42,12 +42,12 @@ void test ()
       // have one-to-one correspondence
       for (double phi = 0.01; phi <= numbers::PI; phi+= numbers::PI/4.)
         {
-          std_cxx11::array<double, dim> sp;
+          std::array<double, dim> sp;
           sp[0] = r;
           sp[1] = theta;
           sp[2] = phi;
           Point<dim> p = GeometricUtilities::Coordinates::from_spherical(sp);
-          const std_cxx11::array<double, dim> sp2 = GeometricUtilities::Coordinates::to_spherical(p);
+          const std::array<double, dim> sp2 = GeometricUtilities::Coordinates::to_spherical(p);
           for (unsigned int i = 0; i <dim; i++)
             AssertThrow (std::fabs(sp[i]-sp2[i]) <= std::fabs(sp[i])*1e-10,
                          DifferentComponent(i,sp[i],sp2[i]));
index 5b4eaff673621e0c71f76686c38b2dbead99671b..0baa724d2201b6bf69a094e57dcc244e3dd77869 100644 (file)
@@ -57,7 +57,7 @@ void check()
   typename DoFHandler<dim>::active_cell_iterator cell(dof_handler.begin_active());
   std::vector<std::vector<typename DoFHandler<dim>::active_cell_iterator> > coloring(
     GraphColoring::make_graph_coloring(cell,dof_handler.end(),
-                                       std_cxx11::function<std::vector<types::global_dof_index> (typename
+                                       std::function<std::vector<types::global_dof_index> (typename
                                            DoFHandler<dim>::active_cell_iterator const &)> (&get_conflict_indices_cfem<dim>)));
 
   // Output the coloring
index 83e1529f325f3883923253de38dcd31cee78c66f..2f3a4b5c4939339a35298b7ffbf5d009649fa7c0 100644 (file)
@@ -67,7 +67,7 @@ void check()
   // Create the coloring
   std::vector<std::vector<typename DoFHandler<dim>::active_cell_iterator> > coloring(
     GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
-                                       std_cxx11::function<std::vector<types::global_dof_index> (typename
+                                       std::function<std::vector<types::global_dof_index> (typename
                                            DoFHandler<dim>::active_cell_iterator const &)> (&get_conflict_indices_cfem<dim>)));
 
   // Output the coloring
index 3ab61300073947bcd06508ec77f8d6644326c7ad..e471dbe9b785d179dacca31816a4f113b2e4639e 100644 (file)
@@ -71,7 +71,7 @@ void check()
   // Create the coloring
   std::vector<std::vector<typename DoFHandler<dim>::active_cell_iterator> > coloring(
     GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
-                                       std_cxx11::function<std::vector<types::global_dof_index> (typename
+                                       std::function<std::vector<types::global_dof_index> (typename
                                            DoFHandler<dim>::active_cell_iterator const &)> (&get_conflict_indices_cfem<dim>)));
 
   // verify that within each color, there is no conflict
index 50d643cea20207bdf5cedbe0b7e3f22350989eee..7c57008b4bd5779295f38c470741ed4be7da5db5 100644 (file)
@@ -69,7 +69,7 @@ void check()
   // Create the coloring
   std::vector<std::vector<typename hp::DoFHandler<dim>::active_cell_iterator> > coloring(
     GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
-                                       std_cxx11::function<std::vector<types::global_dof_index> (typename
+                                       std::function<std::vector<types::global_dof_index> (typename
                                            hp::DoFHandler<dim>::active_cell_iterator const &)> (&get_conflict_indices_cfem<dim>)));
 
   // Output the coloring
index 11b381a3217c9c728dec76f4095ee5391796fa11..6b4d4dc067d233b17b017a82c215fcbe1ee42ca8 100644 (file)
@@ -81,7 +81,7 @@ void check ()
   std::vector<std::vector<typename DoFHandler<dim>::active_cell_iterator> > coloring
     = GraphColoring::make_graph_coloring(stokes_dof_handler.begin_active(),
                                          stokes_dof_handler.end(),
-                                         std_cxx11::function<std::vector<types::global_dof_index> (
+                                         std::function<std::vector<types::global_dof_index> (
                                            const typename DoFHandler<dim>::active_cell_iterator &)>(&get_conflict_indices<dim>));
 
   for (unsigned int c=0; c<coloring.size(); ++c)
index 2a2e91ac987d94844069a08d18ccef158e4cd7cb..346229417fe515b4239f869ebc456413eb263ca9 100644 (file)
@@ -68,7 +68,7 @@ void check()
   // Create the coloring
   std::vector<std::vector<typename DoFHandler<dim>::active_cell_iterator> > coloring(
     GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
-                                       std_cxx11::function<std::vector<types::global_dof_index> (typename
+                                       std::function<std::vector<types::global_dof_index> (typename
                                            DoFHandler<dim>::active_cell_iterator const &)> (&get_conflict_indices_cfem<dim>)));
 
   // Check that a color does not contain a conflict index twice
index 80ad06e0511fff98369c88c4c39f5610fe67035d..211aa84c6f5cbdacc09a33a3c6348b5f447af136 100644 (file)
@@ -75,7 +75,7 @@ void check()
   coloring
     = GraphColoring::make_graph_coloring(dof_handler.begin_active(),
                                          dof_handler.end(),
-                                         std_cxx11::function<std::vector<types::global_dof_index>
+                                         std::function<std::vector<types::global_dof_index>
                                          (typename DoFHandler<dim>::active_cell_iterator const &)>
                                          (&get_conflict_indices_cfem<dim>));
 
index 1965b748183e37f448fa5c1dc44cbd874963e320..eb8a5a3a7ad10d71ae5f5417121fa694a2582344 100644 (file)
@@ -15,7 +15,7 @@
 
 
 
-// test memory_consumption() on std_cxx11::array
+// test memory_consumption() on std::array
 
 #include "../tests.h"
 
@@ -29,7 +29,7 @@ int main()
   std::ofstream logfile("output");
   deallog.attach(logfile);
 
-  typedef std_cxx11::array<std_cxx11::array<int, 3>, 3> IntArray;
+  typedef std::array<std::array<int, 3>, 3> IntArray;
   deallog << dealii::MemoryConsumption::memory_consumption(IntArray()) << std::endl;
   deallog << sizeof(IntArray) << std::endl;
 }
index e36f4dc62edede1df22a16944f7d1b9a7c6a27ac..85ee21317d42b864cfc0844c8bda71884b68ad20 100644 (file)
@@ -115,9 +115,9 @@ double my5(double const t)
 }
 
 void test(TimeStepping::RungeKutta<Vector<double> > &solver,
-          std_cxx11::function<Vector<double> (double const, Vector<double> const &)> f,
-          std_cxx11::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
-          std_cxx11::function<double (double const)> my)
+          std::function<Vector<double> (double const, Vector<double> const &)> f,
+          std::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
+          std::function<double (double const)> my)
 {
   unsigned int n_time_steps = 1;
   unsigned int size = 1;
@@ -142,9 +142,9 @@ void test(TimeStepping::RungeKutta<Vector<double> > &solver,
 }
 
 void test2(TimeStepping::EmbeddedExplicitRungeKutta<Vector<double> > &solver,
-           std_cxx11::function<Vector<double> (double const, Vector<double> const &)> f,
-           std_cxx11::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
-           std_cxx11::function<double (double const)> my)
+           std::function<Vector<double> (double const, Vector<double> const &)> f,
+           std::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
+           std::function<double (double const)> my)
 {
   double initial_time = 0.0, final_time = 1.0;
   double time_step = 1.0;
index 500fe0d6efdbf40f24098e792824ac9ea862b92d..7c577f500dfa89281383315f9aeab5b581ff2ddf 100644 (file)
@@ -36,8 +36,8 @@ double my(double const t)
 }
 
 void test(TimeStepping::EmbeddedExplicitRungeKutta<Vector<double> > &solver,
-          std_cxx11::function<Vector<double> (double const, Vector<double> const &)> f,
-          std_cxx11::function<double (double const)> my)
+          std::function<Vector<double> (double const, Vector<double> const &)> f,
+          std::function<double (double const)> my)
 {
   double initial_time = 0.0, final_time = 1.0;
   double time_step = 0.1;
index 06f9b6d745ccc2fe182c59fc8bd20c4e05e9cf15..af5ed55fdb3bf55ae09116cd21ab6192a36896c8 100644 (file)
@@ -16,7 +16,7 @@
 
 
 #include "../tests.h"
-#include <deal.II/base/std_cxx11/unique_ptr.h>
+#include <memory>
 #include <fstream>
 #include <iomanip>
 
@@ -64,7 +64,7 @@ int main ()
   {
     AssertThrow (counter == 0, ExcInternalError());
     {
-      std_cxx11::unique_ptr<X> p (new X);
+      std::unique_ptr<X> p (new X);
       AssertThrow (counter == 1, ExcInternalError());
     }
     AssertThrow (counter == 0, ExcInternalError());
@@ -76,10 +76,10 @@ int main ()
   {
     AssertThrow (counter == 0, ExcInternalError());
     {
-      std_cxx11::unique_ptr<X> p (new X);
+      std::unique_ptr<X> p (new X);
       AssertThrow (counter == 1, ExcInternalError());
 
-      std_cxx11::unique_ptr<X> q = std::move(p);
+      std::unique_ptr<X> q = std::move(p);
       AssertThrow (counter == 1, ExcInternalError());
     }
     AssertThrow (counter == 0, ExcInternalError());
index cb58698c503ea263778906bf5b79c4ce6ff08e13..300511b0ddb2206678b236f919b5e976477a1e04 100644 (file)
@@ -112,8 +112,8 @@ mass_assembler(const typename Triangulation<dim>::active_cell_iterator &cell,
   // this appears to be the key: the following two ways both overwrite some
   // of the memory in which we store the quadrature point location.
   parallel::apply_to_subranges(0U, copy_data.cell_rhs.size(),
-                               std_cxx11::bind(&zero_subrange, std_cxx11::_1, std_cxx11::_2,
-                                               std_cxx11::ref(copy_data.cell_rhs)), 1);
+                               std::bind(&zero_subrange, std::placeholders::_1, std::placeholders::_2,
+                                         std::ref(copy_data.cell_rhs)), 1);
 
   AssertThrow(q == data.x_fe_values.quadrature_point(0),
               ExcInternalError());
@@ -151,7 +151,7 @@ do_project()
       copy_data.cell_rhs.resize(8);
       WorkStream::run(triangulation.begin_active(), triangulation.end(),
                       &mass_assembler<dim>,
-                      std_cxx11::bind(&copy_local_to_global, std_cxx11::_1, &sum),
+                      std::bind(&copy_local_to_global, std::placeholders::_1, &sum),
                       assembler_data, copy_data, 8, 1);
 
       Assert (std::fabs(sum-288.) < 1e-12, ExcInternalError());
index ccc4e63368b19fb09145d064197a8daa9cbf0878..399c83300cbc96d029c057894c7e2502747da9cb 100644 (file)
@@ -109,8 +109,8 @@ mass_assembler(const typename Triangulation<dim>::active_cell_iterator &cell,
   // this appears to be the key: the following two ways both overwrite some
   // of the memory in which we store the quadrature point location.
   parallel::apply_to_subranges(0U, copy_data.cell_rhs.size(),
-                               std_cxx11::bind(&zero_subrange, std_cxx11::_1, std_cxx11::_2,
-                                               std_cxx11::ref(copy_data.cell_rhs)), 1);
+                               std::bind(&zero_subrange, std::placeholders::_1, std::placeholders::_2,
+                                         std::ref(copy_data.cell_rhs)), 1);
 
   AssertThrow(q == data.x_fe_values.quadrature_point(0),
               ExcInternalError());
@@ -158,11 +158,11 @@ do_project()
       copy_data.cell_rhs.resize(8);
       WorkStream::run(GraphColoring::make_graph_coloring (triangulation.begin_active(),
                                                           triangulation.end(),
-                                                          std_cxx11::function<std::vector<types::global_dof_index>
+                                                          std::function<std::vector<types::global_dof_index>
                                                           (const Triangulation<dim>::active_cell_iterator &)>
                                                           (&conflictor<dim>)),
                       &mass_assembler<dim>,
-                      std_cxx11::bind(&copy_local_to_global, std_cxx11::_1, &sum),
+                      std::bind(&copy_local_to_global, std::placeholders::_1, &sum),
                       assembler_data, copy_data, 8, 1);
 
       Assert (std::fabs(sum-288.) < 1e-12, ExcInternalError());
index 5274ba241d604a3a0ee06e94155fe17f3fd34aaf..71f520f5755db5df87f8f7f1f0883743f9933780 100644 (file)
@@ -48,14 +48,14 @@ void test ()
   // first run with only a worker
   WorkStream::run (v.begin(), v.end(),
                    &foo,
-                   std_cxx11::function<void(const unsigned int &)>(),
+                   std::function<void(const unsigned int &)>(),
                    ScratchData(),
                    0U);
 
   // next run with only a copier
   WorkStream::run (v.begin(), v.end(),
-                   std_cxx11::function<void(const std::vector<unsigned int>::iterator,
-                                            ScratchData &,unsigned int &)>(),
+                   std::function<void(const std::vector<unsigned int>::iterator,
+                                      ScratchData &,unsigned int &)>(),
                    &bar,
                    ScratchData(),
                    0U);
index 47b0e06e3579a76b672856388dfa5269a5b13596..7bf54ba68b765f3b95a50a6c8b725572648f1a5d 100644 (file)
@@ -75,7 +75,7 @@ void test ()
     v.push_back (i);
 
   WorkStream::run (GraphColoring::make_graph_coloring (v.begin(), v.end(),
-                                                       std_cxx11::function<std::vector<types::global_dof_index>
+                                                       std::function<std::vector<types::global_dof_index>
                                                        (const std::vector<unsigned int>::iterator &)>
                                                        (&conflictor)),
                    &worker, &copier,
index 15510d07c69cc5150454aa05b4dea6dc48098f32..aebbe760f2918f67dfcdd06f4f540247208c345e 100644 (file)
@@ -44,9 +44,9 @@ check_this (const FiniteElement<dim> &fe1,
   if (!fe2.constraints_are_implemented())
     return;
 
-  std_cxx11::unique_ptr<Triangulation<dim> > tria(make_tria<dim>());
-  std_cxx11::unique_ptr<DoFHandler<dim> >    dof1(make_dof_handler (*tria, fe1));
-  std_cxx11::unique_ptr<DoFHandler<dim> >    dof2(make_dof_handler (*tria, fe2));
+  std::unique_ptr<Triangulation<dim> > tria(make_tria<dim>());
+  std::unique_ptr<DoFHandler<dim> >    dof1(make_dof_handler (*tria, fe1));
+  std::unique_ptr<DoFHandler<dim> >    dof2(make_dof_handler (*tria, fe2));
   ConstraintMatrix cm;
   DoFTools::make_hanging_node_constraints (*dof2, cm);
   cm.close ();
index 4b5e26abaed011134881ae22fd94729b517e1d21..b26e1e8cd34070c9a007b6597fc679974b98717e 100644 (file)
@@ -46,9 +46,9 @@ check_this (const FiniteElement<dim> &fe1,
       !fe2.constraints_are_implemented())
     return;
 
-  std_cxx11::unique_ptr<Triangulation<dim> > tria(make_tria<dim>());
-  std_cxx11::unique_ptr<DoFHandler<dim> >    dof1(make_dof_handler (*tria, fe1));
-  std_cxx11::unique_ptr<DoFHandler<dim> >    dof2(make_dof_handler (*tria, fe2));
+  std::unique_ptr<Triangulation<dim> > tria(make_tria<dim>());
+  std::unique_ptr<DoFHandler<dim> >    dof1(make_dof_handler (*tria, fe1));
+  std::unique_ptr<DoFHandler<dim> >    dof2(make_dof_handler (*tria, fe2));
   ConstraintMatrix cm1, cm2;
   DoFTools::make_hanging_node_constraints (*dof1, cm1);
   DoFTools::make_hanging_node_constraints (*dof2, cm2);
index 58e443a1a48b9e61a9bccaf40b40e62c8cb86c52..acd7a1bdeccf31da03b55eaaa293fe2e6e51184d 100644 (file)
@@ -47,9 +47,9 @@ check_this (const FiniteElement<dim> &fe1,
       !fe2.constraints_are_implemented())
     return;
 
-  std_cxx11::unique_ptr<Triangulation<dim> > tria(make_tria<dim>());
-  std_cxx11::unique_ptr<DoFHandler<dim> >    dof1(make_dof_handler (*tria, fe1));
-  std_cxx11::unique_ptr<DoFHandler<dim> >    dof2(make_dof_handler (*tria, fe2));
+  std::unique_ptr<Triangulation<dim> > tria(make_tria<dim>());
+  std::unique_ptr<DoFHandler<dim> >    dof1(make_dof_handler (*tria, fe1));
+  std::unique_ptr<DoFHandler<dim> >    dof2(make_dof_handler (*tria, fe2));
   ConstraintMatrix cm1, cm2;
   DoFTools::make_hanging_node_constraints (*dof1, cm1);
   DoFTools::make_hanging_node_constraints (*dof2, cm2);
index 46ab7d402f321494899b1c16528297671dec48ad..1d9d47cd247b2997575b8af2520157502b56b9cd 100644 (file)
@@ -49,7 +49,7 @@ check_this (const FiniteElement<dim> &fe1,
   GridGenerator::hyper_cube(tria, 0., 1.);
   tria.refine_global (2);
 
-  std_cxx11::unique_ptr<DoFHandler<dim> > dof1(make_dof_handler (tria, fe1));
+  std::unique_ptr<DoFHandler<dim> > dof1(make_dof_handler (tria, fe1));
 
   Vector<double> in (dof1->n_dofs());
   for (unsigned int i=0; i<in.size(); ++i)
index e04bd764494e715d2d4e70ca1087d1eb8c15b8de..e5df93aed075281e4f1a467b4ee2876d643e131d 100644 (file)
@@ -50,7 +50,7 @@ check_this (const FiniteElement<dim> &fe1,
   tria.refine_global (2);
 
   hp::FECollection<dim> hp_fe1(fe1);
-  std_cxx11::unique_ptr<hp::DoFHandler<dim> > hp_dof1(make_hp_dof_handler (tria, hp_fe1));
+  std::unique_ptr<hp::DoFHandler<dim> > hp_dof1(make_hp_dof_handler (tria, hp_fe1));
 
   Vector<double> in (hp_dof1->n_dofs());
   for (unsigned int i=0; i<in.size(); ++i)
index 420b20090078161783c5465786574a80d757eb26..527bf0f289ad1bd3fe6a5126bc0619b6cf651de9 100644 (file)
@@ -45,9 +45,9 @@ check_this (const FiniteElement<dim> &fe1,
       !fe2.constraints_are_implemented())
     return;
 
-  std_cxx11::unique_ptr<Triangulation<dim> > tria(make_tria<dim>());
-  std_cxx11::unique_ptr<DoFHandler<dim> >    dof1(make_dof_handler (*tria, fe1));
-  std_cxx11::unique_ptr<DoFHandler<dim> >    dof2(make_dof_handler (*tria, fe2));
+  std::unique_ptr<Triangulation<dim> > tria(make_tria<dim>());
+  std::unique_ptr<DoFHandler<dim> >    dof1(make_dof_handler (*tria, fe1));
+  std::unique_ptr<DoFHandler<dim> >    dof2(make_dof_handler (*tria, fe2));
   ConstraintMatrix cm1, cm2;
   DoFTools::make_hanging_node_constraints (*dof1, cm1);
   DoFTools::make_hanging_node_constraints (*dof2, cm2);
index 442ff0809e5061d6e9cda224285817042e670327..63e935c970d7392f95196a55bd9051603e075819 100644 (file)
@@ -50,9 +50,9 @@ check_this (const FiniteElement<dim> &fe1,
   if (!fe2.isotropic_restriction_is_implemented())
     return;
 
-  std_cxx11::unique_ptr<Triangulation<dim> > tria(make_tria<dim>());
-  std_cxx11::unique_ptr<DoFHandler<dim> >    dof1(make_dof_handler (*tria, fe1));
-  std_cxx11::unique_ptr<DoFHandler<dim> >    dof2(make_dof_handler (*tria, fe2));
+  std::unique_ptr<Triangulation<dim> > tria(make_tria<dim>());
+  std::unique_ptr<DoFHandler<dim> >    dof1(make_dof_handler (*tria, fe1));
+  std::unique_ptr<DoFHandler<dim> >    dof2(make_dof_handler (*tria, fe2));
   ConstraintMatrix cm;
   DoFTools::make_hanging_node_constraints (*dof2, cm);
   cm.close ();
index 8fc07039045ab79bd8a723bebc5c851451e4690d..fe54f858c06c1fb347062baa74f482febe8f92a8 100644 (file)
@@ -18,7 +18,6 @@
 
 #include "../tests.h"
 #include <deal.II/base/logstream.h>
-#include <deal.II/base/std_cxx11/unique_ptr.h>
 #include <deal.II/grid/tria.h>
 #include <deal.II/grid/tria_iterator.h>
 #include <deal.II/grid/grid_generator.h>
@@ -37,6 +36,7 @@
 #include <fstream>
 #include <iomanip>
 #include <iomanip>
+#include <memory>
 #include <string>
 
 
index 323d1686cecf3300e468c68e90dd90046caba62b..434d5e578ed7fc54ce788cdfe3e83d358856c4a9 100644 (file)
@@ -795,10 +795,10 @@ namespace Step51
 
       WorkStream::run(dof_handler_u_post.begin_active(),
                       dof_handler_u_post.end(),
-                      std_cxx11::bind (&HDG<dim>::postprocess_one_cell,
-                                       std_cxx11::ref(*this),
-                                       std_cxx11::_1, std_cxx11::_2, std_cxx11::_3),
-                      std_cxx11::function<void(const unsigned int &)>(),
+                      std::bind (&HDG<dim>::postprocess_one_cell,
+                                 std::ref(*this),
+                                 std::placeholders::_1, std::placeholders::_2, std::placeholders::_3),
+                      std::function<void(const unsigned int &)>(),
                       scratch,
                       0U);
     }
index cb8ebc97bca3887e37fa2e99a87178eeb962d22d..f25ac40f7ed005d33340d5224ff11633386472c5 100644 (file)
@@ -793,10 +793,10 @@ namespace Step51
 
       WorkStream::run(dof_handler_u_post.begin_active(),
                       dof_handler_u_post.end(),
-                      std_cxx11::bind (&HDG<dim>::postprocess_one_cell,
-                                       std_cxx11::ref(*this),
-                                       std_cxx11::_1, std_cxx11::_2, std_cxx11::_3),
-                      std_cxx11::function<void(const unsigned int &)>(),
+                      std::bind (&HDG<dim>::postprocess_one_cell,
+                                 std::ref(*this),
+                                 std::placeholders::_1, std::placeholders::_2, std::placeholders::_3),
+                      std::function<void(const unsigned int &)>(),
                       scratch,
                       0U);
     }
index 49d923c7949a3818622465b15e5ab3d98de37ec0..8fa2008be51fa27eced0e2ec96899feb45c70278 100644 (file)
@@ -43,12 +43,12 @@ print_dofs (const DoFHandler<dim> &dof)
 {
   const FiniteElement<dim> &fe = dof.get_fe();
   std::vector<types::global_dof_index> v (fe.dofs_per_cell);
-  std_cxx11::shared_ptr<FEValues<dim> > fevalues;
+  std::shared_ptr<FEValues<dim> > fevalues;
 
   if (fe.has_support_points())
     {
       Quadrature<dim> quad(fe.get_unit_support_points());
-      fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
+      fevalues = std::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
     }
 
   for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
@@ -76,12 +76,12 @@ print_dofs (const DoFHandler<dim> &dof, unsigned int level)
 {
   const FiniteElement<dim> &fe = dof.get_fe();
   std::vector<types::global_dof_index> v (fe.dofs_per_cell);
-  std_cxx11::shared_ptr<FEValues<dim> > fevalues;
+  std::shared_ptr<FEValues<dim> > fevalues;
 
   if (fe.has_support_points())
     {
       Quadrature<dim> quad(fe.get_unit_support_points());
-      fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
+      fevalues = std::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
     }
 
   for (typename DoFHandler<dim>::cell_iterator cell=dof.begin(level);
index ba8956d165e0dc7e4ca3c748c8d70ae0f110a0e2..225fd4e5ca55994421d3cb7105cdc5fb66c03df8 100644 (file)
@@ -43,12 +43,12 @@ print_dofs (const DoFHandler<dim> &dof)
 {
   const FiniteElement<dim> &fe = dof.get_fe();
   std::vector<types::global_dof_index> v (fe.dofs_per_cell);
-  std_cxx11::shared_ptr<FEValues<dim> > fevalues;
+  std::shared_ptr<FEValues<dim> > fevalues;
 
   if (fe.has_support_points())
     {
       Quadrature<dim> quad(fe.get_unit_support_points());
-      fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
+      fevalues = std::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
     }
 
   for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
index ef9e9c5f9de8a4cb5df1a6968e91aa867829449e..51c71c20a21ffe2a4b1ec51e16df70c39918bb18 100644 (file)
@@ -43,12 +43,12 @@ print_dofs (const DoFHandler<dim> &dof)
 {
   const FiniteElement<dim> &fe = dof.get_fe();
   std::vector<types::global_dof_index> v (fe.dofs_per_cell);
-  std_cxx11::shared_ptr<FEValues<dim> > fevalues;
+  std::shared_ptr<FEValues<dim> > fevalues;
 
   if (fe.has_support_points())
     {
       Quadrature<dim> quad(fe.get_unit_support_points());
-      fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
+      fevalues = std::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
     }
 
   for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
index 579d4ac1c24e3593a5154be931b5611626def2dc..447272021d1a3adf4d5ce0978659fda42ea684df 100644 (file)
@@ -43,12 +43,12 @@ print_dofs (const DoFHandler<dim> &dof)
 {
   const FiniteElement<dim> &fe = dof.get_fe();
   std::vector<types::global_dof_index> v (fe.dofs_per_cell);
-  std_cxx11::shared_ptr<FEValues<dim> > fevalues;
+  std::shared_ptr<FEValues<dim> > fevalues;
 
   if (fe.has_support_points())
     {
       Quadrature<dim> quad(fe.get_unit_support_points());
-      fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
+      fevalues = std::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
     }
 
   for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
index fd056f2ea1723dc9e633e7174704d13eb224a635..d555e1562f950b03a3b2a01f47131fe9e98ee982 100644 (file)
@@ -43,12 +43,12 @@ print_dofs (const DoFHandler<dim> &dof)
 {
   const FiniteElement<dim> &fe = dof.get_fe();
   std::vector<types::global_dof_index> v (fe.dofs_per_cell);
-  std_cxx11::shared_ptr<FEValues<dim> > fevalues;
+  std::shared_ptr<FEValues<dim> > fevalues;
 
   if (fe.has_support_points())
     {
       Quadrature<dim> quad(fe.get_unit_support_points());
-      fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
+      fevalues = std::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
     }
 
   for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
index 280c88a5e8dc70e0627cd02c57463028108d5094..971ecf33ab15126aed1565a4c2918f2a659fa17d 100644 (file)
@@ -43,12 +43,12 @@ print_dofs (const DoFHandler<dim> &dof)
 {
   const FiniteElement<dim> &fe = dof.get_fe();
   std::vector<types::global_dof_index> v (fe.dofs_per_cell);
-  std_cxx11::shared_ptr<FEValues<dim> > fevalues;
+  std::shared_ptr<FEValues<dim> > fevalues;
 
   if (fe.has_support_points())
     {
       Quadrature<dim> quad(fe.get_unit_support_points());
-      fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
+      fevalues = std::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
     }
 
   for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
index 95b2194920a8ec0b8dff37ed851c7cb184f6a54c..d475801fc940c3b32ba779f062f5761b283694b9 100644 (file)
@@ -43,12 +43,12 @@ print_dofs (const DoFHandler<dim> &dof)
 {
   const FiniteElement<dim> &fe = dof.get_fe();
   std::vector<types::global_dof_index> v (fe.dofs_per_cell);
-  std_cxx11::shared_ptr<FEValues<dim> > fevalues;
+  std::shared_ptr<FEValues<dim> > fevalues;
 
   if (fe.has_support_points())
     {
       Quadrature<dim> quad(fe.get_unit_support_points());
-      fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
+      fevalues = std::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
     }
 
   for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
index 5d1c47d54c2b2444f12b4c0e2d080c2d87d247b1..a0028d7e43aeb763007e8a502f9190827c2688e4 100644 (file)
@@ -42,12 +42,12 @@ print_dofs (const DoFHandler<dim> &dof, stream &out)
 {
   const FiniteElement<dim> &fe = dof.get_fe();
   std::vector<types::global_dof_index> v (fe.dofs_per_cell);
-  std_cxx11::shared_ptr<FEValues<dim> > fevalues;
+  std::shared_ptr<FEValues<dim> > fevalues;
 
   if (fe.has_support_points())
     {
       Quadrature<dim> quad(fe.get_unit_support_points());
-      fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
+      fevalues = std::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
     }
 
   for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
index 99ed8c3707762f44a961d07e602befa039ec3070..af9ce0c49069263ee94e31d4c547c4844379daf4 100644 (file)
@@ -45,12 +45,12 @@ print_dofs (const DoFHandler<dim> &dof, stream &out)
   out << std::fixed;
   const FiniteElement<dim> &fe = dof.get_fe();
   std::vector<types::global_dof_index> v (fe.dofs_per_cell);
-  std_cxx11::shared_ptr<FEValues<dim> > fevalues;
+  std::shared_ptr<FEValues<dim> > fevalues;
 
   if (fe.has_support_points())
     {
       Quadrature<dim> quad(fe.get_unit_support_points());
-      fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
+      fevalues = std::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_quadrature_points));
     }
 
   for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
index de61a5d2fe5bc2d9e453b7c9e7916c44adcc0e58..610a42fd66c41301bd7ef28d41a867e209487be0 100644 (file)
@@ -110,7 +110,7 @@ namespace Step22
     BlockVector<double> solution;
     BlockVector<double> system_rhs;
 
-    std_cxx11::shared_ptr<typename InnerPreconditioner<dim>::type>
+    std::shared_ptr<typename InnerPreconditioner<dim>::type>
     A_preconditioner;
 
     ConvergenceTable convergence_table;
@@ -626,7 +626,7 @@ namespace Step22
       }
 
     A_preconditioner
-      = std_cxx11::shared_ptr<typename InnerPreconditioner<dim>::type>(new
+      = std::shared_ptr<typename InnerPreconditioner<dim>::type>(new
           typename InnerPreconditioner<dim>::type());
     A_preconditioner->initialize (system_matrix.block(0,0),
                                   typename
index f277963813fba2daa20957e1c07dd9e6345cb72e..f14d18d66e0ebee278293f5b38368ed157be7dd3 100644 (file)
@@ -3,7 +3,6 @@
 #include <deal.II/base/mpi.h>
 #include <deal.II/base/multithread_info.h>
 #include <deal.II/base/quadrature_lib.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/base/utilities.h>
 
 #include <deal.II/dofs/dof_tools.h>
@@ -33,6 +32,7 @@
 #include <cmath>
 #include <fstream>
 #include <iostream>
+#include <memory>
 #include <string>
 #include <vector>
 
@@ -173,10 +173,10 @@ public:
 };
 
 template <int dim>
-std_cxx11::shared_ptr<Manifold<dim> >
+std::shared_ptr<Manifold<dim> >
 cubic_roof(Triangulation<dim> &triangulation)
 {
-  std_cxx11::shared_ptr<Manifold<dim> > boundary(new CubicRoofManifold<dim>());
+  std::shared_ptr<Manifold<dim> > boundary(new CubicRoofManifold<dim>());
   GridGenerator::hyper_cube(triangulation);
 
   triangulation.set_all_manifold_ids(cubic_manifold_id);
@@ -196,10 +196,10 @@ public:
   double run();
 
 protected:
-  std_cxx11::shared_ptr<Function<dim> > manufactured_solution;
-  std_cxx11::shared_ptr<Function<dim> > manufactured_forcing;
+  std::shared_ptr<Function<dim> > manufactured_solution;
+  std::shared_ptr<Function<dim> > manufactured_forcing;
 
-  std_cxx11::shared_ptr<Manifold<dim> > boundary_manifold;
+  std::shared_ptr<Manifold<dim> > boundary_manifold;
   Triangulation<dim> triangulation;
   FE_Q<dim> finite_element;
   DoFHandler<dim> dof_handler;
index c40f7b6fe7e47f3e194c79e6a94621b054be365c..466514094fdb9bfd61ad6946efe520cd7f2a0264 100644 (file)
@@ -140,9 +140,9 @@ void test ()
       bool (*predicate) (const active_cell_iterator, const unsigned int)
         = &level_equal_to<active_cell_iterator>;
       FilteredIterator<active_cell_iterator>
-      begin (std_cxx11::bind (predicate, std_cxx11::_1, 3),
+      begin (std::bind (predicate, std::placeholders::_1, 3),
              tria.begin_active (3)),
-                               end   (std_cxx11::bind (predicate, std_cxx11::_1, 3),
+                               end   (std::bind (predicate, std::placeholders::_1, 3),
                                       tria.end());
 
       Assert (std::distance (begin, end) ==
@@ -164,15 +164,15 @@ void test ()
 
       bool (*predicate) (const active_cell_iterator, const unsigned int)
         = &level_equal_to<active_cell_iterator>;
-      Assert (std::distance (FI(std_cxx11::bind (predicate, std_cxx11::_1, 3))
+      Assert (std::distance (FI(std::bind (predicate, std::placeholders::_1, 3))
                              .set_to_next_positive(tria.begin_active()),
-                             FI(std_cxx11::bind (predicate, std_cxx11::_1, 3), tria.end())) ==
+                             FI(std::bind (predicate, std::placeholders::_1, 3), tria.end())) ==
               static_cast<signed int>(tria.n_active_cells (3)),
               ExcInternalError());
       logfile << "Check 4: "
-              << (std::distance (FI(std_cxx11::bind (predicate, std_cxx11::_1, 3))
+              << (std::distance (FI(std::bind (predicate, std::placeholders::_1, 3))
                                  .set_to_next_positive(tria.begin_active()),
-                                 FI(std_cxx11::bind (predicate, std_cxx11::_1, 3), tria.end())) ==
+                                 FI(std::bind (predicate, std::placeholders::_1, 3), tria.end())) ==
                   static_cast<signed int>(tria.n_active_cells (3))
                   ?
                   "OK" : "Failed")
index c3b854ff23381ef201276a131e7f79017f0d95c4..4fdad800e3cef6dd414ef9be8edacfed2afb86c3 100644 (file)
@@ -139,9 +139,9 @@ void test ()
       bool (*predicate) (const active_cell_iterator, const unsigned int)
         = &level_equal_to<active_cell_iterator>;
       FilteredIterator<active_cell_iterator>
-      begin (std_cxx11::bind (predicate, std_cxx11::_1, 3),
+      begin (std::bind (predicate, std::placeholders::_1, 3),
              tria.begin_active (3)),
-                               end  (std_cxx11::bind(predicate, std_cxx11::_1, 3),
+                               end  (std::bind(predicate, std::placeholders::_1, 3),
                                      tria.end());
 
       Assert (std::distance (begin, end) ==
@@ -163,15 +163,15 @@ void test ()
 
       bool (*predicate) (const active_cell_iterator, const unsigned int)
         = &level_equal_to<active_cell_iterator>;
-      Assert (std::distance (FI(std_cxx11::bind (predicate, std_cxx11::_1, 3))
+      Assert (std::distance (FI(std::bind (predicate, std::placeholders::_1, 3))
                              .set_to_next_positive(tria.begin_active()),
-                             FI(std_cxx11::bind (predicate, std_cxx11::_1, 3), tria.end())) ==
+                             FI(std::bind (predicate, std::placeholders::_1, 3), tria.end())) ==
               static_cast<signed int>(tria.n_active_cells (3)),
               ExcInternalError());
       logfile << "Check 4: "
-              << (std::distance (FI(std_cxx11::bind (predicate, std_cxx11::_1, 3))
+              << (std::distance (FI(std::bind (predicate, std::placeholders::_1, 3))
                                  .set_to_next_positive(tria.begin_active()),
-                                 FI(std_cxx11::bind (predicate, std_cxx11::_1, 3), tria.end())) ==
+                                 FI(std::bind (predicate, std::placeholders::_1, 3), tria.end())) ==
                   static_cast<signed int>(tria.n_active_cells (3))
                   ?
                   "OK" : "Failed")
index c070110d223b356ea7196c5776c283de96ce4d96..e0c7151d1810d6d85b1f2f117fd56a3a89861b3e 100644 (file)
@@ -54,7 +54,7 @@ void check (bool subdivide)
   for (unsigned int d=0; d<spacedim; ++d)
     origin[d] = 0.1+d*1.0;
 
-  std_cxx11::array<Tensor<1,spacedim>,dim> edges;
+  std::array<Tensor<1,spacedim>,dim> edges;
   switch (dim)
     {
     case 1:
index 961b005f1ab84ab53f69a962ec1868732b0f0c8b..8fb54f81874807706b4099b8a9c16db674b156e4 100644 (file)
@@ -88,7 +88,7 @@ void test ()
     GridOut().write_vtk (tria, f);
   }
 
-  std_cxx11::function<bool (const cell_iterator &)> predicate = pred_mat_id<dim>;
+  std::function<bool (const cell_iterator &)> predicate = pred_mat_id<dim>;
 
   // Compute a halo layer around material id 2 and set it to material id 3
   const std::vector<cell_iterator> active_halo_layer
index a054e6663fd6f5579c0fede387c276619b995bab..a90ef2f45adf84fd97f68e45637dbb4c29c83478 100644 (file)
@@ -83,7 +83,7 @@ void test ()
   }
 
   // Compute a halo layer around material id 2 and set it to material id 3
-  std_cxx11::function<bool (const cell_iterator &)> predicate
+  std::function<bool (const cell_iterator &)> predicate
     = IteratorFilters::MaterialIdEqualTo(2, true);
   const std::vector<cell_iterator> active_halo_layer
     = GridTools::compute_active_cell_halo_layer(tria, predicate);
index bd7da219e9b4bdcda8c1013bd1a532b99bbd43dc..b11bcf7a5d48878c723efc50afb60b7d437c3aa7 100644 (file)
@@ -91,7 +91,7 @@ void test ()
   std::set<types::material_id> material_ids;
   material_ids.insert(2);
   material_ids.insert(3);
-  std_cxx11::function<bool (const cell_iterator &)> predicate
+  std::function<bool (const cell_iterator &)> predicate
     = IteratorFilters::MaterialIdEqualTo(material_ids, true);
   const std::vector<cell_iterator> active_halo_layer
     = GridTools::compute_active_cell_halo_layer(tria, predicate);
index 7fdd45ab9fae274b630cdf26a65ffd01b2b5cc38..4c7931890c314726f250f9b1d6ab2624b6bab4d4 100644 (file)
@@ -114,7 +114,7 @@ void test ()
   }
 
   // Compute a halo layer around active fe index 2 and set it to active fe index 3
-  std_cxx11::function<bool (const cell_iterator &)> predicate
+  std::function<bool (const cell_iterator &)> predicate
     = IteratorFilters::ActiveFEIndexEqualTo(2, true);
   std::vector<cell_iterator> active_halo_layer
     = GridTools::compute_active_cell_halo_layer(dof_handler, predicate);
index 2f24712ee7d5d442bfc2a2786f4e4a5c882dbbe3..5a90b7121c9d5f10315e7f99798739148d60632b 100644 (file)
@@ -123,7 +123,7 @@ void test ()
   std::set<unsigned int> index_set;
   index_set.insert(2);
   index_set.insert(3);
-  std_cxx11::function<bool (const cell_iterator &)> predicate
+  std::function<bool (const cell_iterator &)> predicate
     = IteratorFilters::ActiveFEIndexEqualTo(index_set, true);
   std::vector<cell_iterator> active_halo_layer
     = GridTools::compute_active_cell_halo_layer(dof_handler, predicate);
index 5ceaa11c343dc6bc6de0d4a563948fffb768638d..0bc206ad66d4e159b85ca3bc898952160878e0f0 100644 (file)
@@ -82,41 +82,41 @@ void test ()
 
   boost::signals2::connection connections_1[4]
     = {tria_1.signals.pre_refinement
-       .connect (std_cxx11::bind (&pre_refinement_notification<dim,dim>,
-                                  "tria_1",
-                                  std_cxx11::cref(tria_1))),
+       .connect (std::bind (&pre_refinement_notification<dim,dim>,
+                            "tria_1",
+                            std::cref(tria_1))),
        tria_1.signals.post_refinement
-       .connect (std_cxx11::bind (&post_refinement_notification<dim,dim>,
-                                  "tria_1",
-                                  std_cxx11::cref(tria_1))),
+       .connect (std::bind (&post_refinement_notification<dim,dim>,
+                            "tria_1",
+                            std::cref(tria_1))),
        tria_1.signals.create
-       .connect (std_cxx11::bind (&create_notification<dim,dim>,
-                                  "tria_1",
-                                  std_cxx11::cref(tria_1))),
+       .connect (std::bind (&create_notification<dim,dim>,
+                            "tria_1",
+                            std::cref(tria_1))),
        tria_1.signals.copy
-       .connect (std_cxx11::bind (&copy_notification<dim,dim>,
-                                  "tria_1",
-                                  std_cxx11::_1,
-                                  std_cxx11::cref(tria_1)))
+       .connect (std::bind (&copy_notification<dim,dim>,
+                            "tria_1",
+                            std::placeholders::_1,
+                            std::cref(tria_1)))
       };
   boost::signals2::connection connections_2[4]
     = {tria_2.signals.pre_refinement
-       .connect (std_cxx11::bind (&pre_refinement_notification<dim,dim>,
-                                  "tria_2",
-                                  std_cxx11::cref(tria_2))),
+       .connect (std::bind (&pre_refinement_notification<dim,dim>,
+                            "tria_2",
+                            std::cref(tria_2))),
        tria_2.signals.post_refinement
-       .connect (std_cxx11::bind (&post_refinement_notification<dim,dim>,
-                                  "tria_2",
-                                  std_cxx11::cref(tria_2))),
+       .connect (std::bind (&post_refinement_notification<dim,dim>,
+                            "tria_2",
+                            std::cref(tria_2))),
        tria_2.signals.create
-       .connect (std_cxx11::bind (&create_notification<dim,dim>,
-                                  "tria_2",
-                                  std_cxx11::cref(tria_2))),
+       .connect (std::bind (&create_notification<dim,dim>,
+                            "tria_2",
+                            std::cref(tria_2))),
        tria_2.signals.copy
-       .connect (std_cxx11::bind (&copy_notification<dim,dim>,
-                                  "tria_2",
-                                  std_cxx11::_1,
-                                  std_cxx11::cref(tria_2)))
+       .connect (std::bind (&copy_notification<dim,dim>,
+                            "tria_2",
+                            std::placeholders::_1,
+                            std::cref(tria_2)))
       };
 
 
index 3180f2a4f28e34f9a0a5cf5a82afda9a123e5001..2f2b9076bcd374565f8067c4ea020290c61722cf 100644 (file)
@@ -91,49 +91,49 @@ void test ()
 
   boost::signals2::connection connections_1[5]
     = {tria_1.signals.pre_refinement
-       .connect (std_cxx11::bind (&pre_refinement_notification<dim,dim>,
-                                  "tria_1",
-                                  std_cxx11::cref(tria_1))),
+       .connect (std::bind (&pre_refinement_notification<dim,dim>,
+                            "tria_1",
+                            std::cref(tria_1))),
        tria_1.signals.post_refinement
-       .connect (std_cxx11::bind (&post_refinement_notification<dim,dim>,
-                                  "tria_1",
-                                  std_cxx11::cref(tria_1))),
+       .connect (std::bind (&post_refinement_notification<dim,dim>,
+                            "tria_1",
+                            std::cref(tria_1))),
        tria_1.signals.create
-       .connect (std_cxx11::bind (&create_notification<dim,dim>,
-                                  "tria_1",
-                                  std_cxx11::cref(tria_1))),
+       .connect (std::bind (&create_notification<dim,dim>,
+                            "tria_1",
+                            std::cref(tria_1))),
        tria_1.signals.copy
-       .connect (std_cxx11::bind (&copy_notification<dim,dim>,
-                                  "tria_1",
-                                  std_cxx11::_1,
-                                  std_cxx11::cref(tria_1))),
+       .connect (std::bind (&copy_notification<dim,dim>,
+                            "tria_1",
+                            std::placeholders::_1,
+                            std::cref(tria_1))),
        tria_1.signals.any_change
-       .connect (std_cxx11::bind (&any_change_notification<dim,dim>,
-                                  "tria_1",
-                                  std_cxx11::cref(tria_1)))
+       .connect (std::bind (&any_change_notification<dim,dim>,
+                            "tria_1",
+                            std::cref(tria_1)))
       };
   boost::signals2::connection connections_2[5]
     = {tria_2.signals.pre_refinement
-       .connect (std_cxx11::bind (&pre_refinement_notification<dim,dim>,
-                                  "tria_2",
-                                  std_cxx11::cref(tria_2))),
+       .connect (std::bind (&pre_refinement_notification<dim,dim>,
+                            "tria_2",
+                            std::cref(tria_2))),
        tria_2.signals.post_refinement
-       .connect (std_cxx11::bind (&post_refinement_notification<dim,dim>,
-                                  "tria_2",
-                                  std_cxx11::cref(tria_2))),
+       .connect (std::bind (&post_refinement_notification<dim,dim>,
+                            "tria_2",
+                            std::cref(tria_2))),
        tria_2.signals.create
-       .connect (std_cxx11::bind (&create_notification<dim,dim>,
-                                  "tria_2",
-                                  std_cxx11::cref(tria_2))),
+       .connect (std::bind (&create_notification<dim,dim>,
+                            "tria_2",
+                            std::cref(tria_2))),
        tria_2.signals.copy
-       .connect (std_cxx11::bind (&copy_notification<dim,dim>,
-                                  "tria_2",
-                                  std_cxx11::_1,
-                                  std_cxx11::cref(tria_2))),
+       .connect (std::bind (&copy_notification<dim,dim>,
+                            "tria_2",
+                            std::placeholders::_1,
+                            std::cref(tria_2))),
        tria_2.signals.any_change
-       .connect (std_cxx11::bind (&any_change_notification<dim,dim>,
-                                  "tria_2",
-                                  std_cxx11::cref(tria_2)))
+       .connect (std::bind (&any_change_notification<dim,dim>,
+                            "tria_2",
+                            std::cref(tria_2)))
       };
 
 
index 533726c4e2a2d22351ad34a4048570796441ad70..1b2f4e3a287deeb825ce926799fafc6aa5edda41 100644 (file)
@@ -36,7 +36,7 @@ void test<2,2> ()
   const int spacedim = 2;
   Triangulation<dim, spacedim> tria;
   Point<spacedim> origin;
-  std_cxx11::array<Tensor<1,spacedim>,dim> edges;
+  std::array<Tensor<1,spacedim>,dim> edges;
   edges[0] = Point<spacedim>(2.0, 0.0)-Point<spacedim>();
   edges[1] = Point<spacedim>(0.2, 0.8)-Point<spacedim>();
   GridGenerator::subdivided_parallelepiped<dim, spacedim> (tria,
@@ -54,7 +54,7 @@ void test ()
 {
   Triangulation<dim, spacedim> tria;
   Point<spacedim> origin(0.1, 0.2, 0.3);
-  std_cxx11::array<Tensor<1,spacedim>,dim> edges;
+  std::array<Tensor<1,spacedim>,dim> edges;
   edges[0] = Point<spacedim>(2.0, 0.0, 0.1)-Point<spacedim>();
   if (dim>=2)
     edges[1] = Point<spacedim>(0.2, 0.8, 0.15)-Point<spacedim>();
index a6ca2280f44d2ec8f672efcd9906f256b7ceeba2..d0bf2b4e07d521a02ad8333af5ee2c669639e360 100644 (file)
@@ -21,9 +21,9 @@
 #include <deal.II/grid/grid_out.h>
 #include <deal.II/base/exceptions.h>
 #include <deal.II/base/point.h>
-#include <deal.II/base/std_cxx11/array.h>
 #include <deal.II/base/tensor.h>
 
+#include <array>
 #include <fstream>
 
 /*
@@ -36,7 +36,7 @@ void check_parallelepiped (std::ofstream &logfile)
 {
   // Data structure defining dim coordinates that make up a
   // parallelepiped.
-  std_cxx11::array<Tensor<1, dim>, dim> edges;
+  std::array<Tensor<1, dim>, dim> edges;
 
   switch (dim)
     {
index c8a37f09c09fea0d7600d95bb76250d5c608fb15..2f3ce273d3ada73c349b49ef6c15862cbfc0b60f 100644 (file)
@@ -21,9 +21,9 @@
 #include <deal.II/grid/grid_out.h>
 #include <deal.II/base/exceptions.h>
 #include <deal.II/base/point.h>
-#include <deal.II/base/std_cxx11/array.h>
 #include <deal.II/base/tensor.h>
 
+#include <array>
 #include <fstream>
 
 /*
@@ -36,7 +36,7 @@ void check_parallelepiped (std::ofstream &logfile)
 {
   // Data structure defining dim coordinates that make up a
   // parallelepiped.
-  std_cxx11::array<Tensor<1, dim>, dim> edges;
+  std::array<Tensor<1, dim>, dim> edges;
 
   switch (dim)
     {
index 05ce1d1b3d9f3805300589e7c220c423bb96b4de..e6dd90f9fd5ed298c7c67096b5957c4f227c6011 100644 (file)
@@ -40,8 +40,8 @@
 #include <deal.II/lac/full_matrix.h>
 #include <deal.II/lac/householder.h>
 
-#include <deal.II/base/std_cxx11/array.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
+#include <array>
+#include <memory>
 
 #include <iostream>
 
@@ -57,18 +57,18 @@ static const types::manifold_id straight_manifold_id = 3;
  * grid: see step-6.
  */
 template <int dim>
-std_cxx11::shared_ptr<dealii::Manifold<dim> >
+std::shared_ptr<dealii::Manifold<dim> >
 ladutenko_circle(dealii::Triangulation<dim> &triangulation,
                  const dealii::Point<dim>    center = dealii::Point<dim>(),
                  const double                radius = 1.0);
 
 template <int dim>
-std_cxx11::shared_ptr<Manifold<dim > >
+std::shared_ptr<Manifold<dim > >
 ladutenko_circle(Triangulation<dim> &triangulation,
                  const Point<dim>    center,
                  const double        radius)
 {
-  std_cxx11::shared_ptr<Manifold<dim> > boundary(new SphericalManifold<dim>(center));
+  std::shared_ptr<Manifold<dim> > boundary(new SphericalManifold<dim>(center));
   GridGenerator::hyper_ball (triangulation, center, radius);
   triangulation.set_all_manifold_ids(circular_manifold_id);
   triangulation.set_manifold (circular_manifold_id, *boundary);
@@ -136,7 +136,7 @@ public:
 
   const unsigned int n_global_refines;
 
-  std_cxx11::shared_ptr<Manifold<dim> > boundary_manifold;
+  std::shared_ptr<Manifold<dim> > boundary_manifold;
   Triangulation<dim> triangulation;
   hp::FECollection<dim> finite_elements;
   hp::DoFHandler<dim> dof_handler;
index 7e5a07b69c845ef5da7694f17d0adf190754202e..3a701c9866f57b52cb5ae40c8d46afb9416ad806 100644 (file)
@@ -85,7 +85,7 @@ namespace Step27
     hp::QCollection<dim-1>   face_quadrature_collection;
 
     hp::QCollection<dim> fourier_q_collection;
-    std_cxx11::shared_ptr<FESeries::Fourier<dim> > fourier;
+    std::shared_ptr<FESeries::Fourier<dim> > fourier;
     std::vector<double> ln_k;
     Table<dim,std::complex<double> > fourier_coefficients;
 
@@ -152,9 +152,9 @@ namespace Step27
     for (unsigned int i = 0; i < fe_collection.size(); i++)
       fourier_q_collection.push_back(quadrature);
 
-    fourier = std_cxx11::make_shared<FESeries::Fourier<dim> >(N,
-                                                              fe_collection,
-                                                              fourier_q_collection);
+    fourier = std::make_shared<FESeries::Fourier<dim> >(N,
+                                                        fe_collection,
+                                                        fourier_q_collection);
     resize(fourier_coefficients,N);
   }
 
index 412793fa7aa175f3cde122799ef401dcda53c06b..8d8ce01cb7a05bc70cca32cc4cb274a17e5af170 100644 (file)
@@ -21,7 +21,6 @@
 #include <deal.II/meshworker/assembler.h>
 #include <deal.II/meshworker/loop.h>
 
-#include <deal.II/base/std_cxx11/function.h>
 #include <deal.II/base/logstream.h>
 #include <deal.II/grid/grid_generator.h>
 #include <deal.II/dofs/dof_tools.h>
@@ -29,6 +28,7 @@
 #include <deal.II/lac/block_vector.h>
 
 #include <fstream>
+#include <functional>
 #include <iomanip>
 
 using namespace dealii;
@@ -117,9 +117,9 @@ test_mesh(DoFHandler<dim> &mgdofs)
   MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, EmptyInfoBox>
   (dofs.begin_active(), dofs.end(),
    dof_info, info_box,
-   std_cxx11::bind (&Local<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
-   std_cxx11::bind (&Local<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
-   std_cxx11::bind (&Local<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
+   std::bind (&Local<dim>::cell, local, std::placeholders::_1, std::placeholders::_2),
+   std::bind (&Local<dim>::bdry, local, std::placeholders::_1, std::placeholders::_2),
+   std::bind (&Local<dim>::face, local, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4),
    assembler, lctrl);
 
   deallog << "  Results cells";
@@ -139,9 +139,9 @@ test_mesh(DoFHandler<dim> &mgdofs)
   MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, EmptyInfoBox>
   (mgdofs.begin_mg(), mgdofs.end_mg(),
    mg_dof_info, info_box,
-   std_cxx11::bind (&Local<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
-   std_cxx11::bind (&Local<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
-   std_cxx11::bind (&Local<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
+   std::bind (&Local<dim>::cell, local, std::placeholders::_1, std::placeholders::_2),
+   std::bind (&Local<dim>::bdry, local, std::placeholders::_1, std::placeholders::_2),
+   std::bind (&Local<dim>::face, local, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4),
    assembler, lctrl);
 
   deallog << "MGResults cells";
index 3b8a6592d82bb5bb434f97d971bd47619031b12f..1a80d3cd5bafdd6cb33d0fc302d854d7af5051b8 100644 (file)
 #include <deal.II/meshworker/assembler.h>
 #include <deal.II/meshworker/loop.h>
 
-#include <deal.II/base/std_cxx11/function.h>
 #include <deal.II/base/logstream.h>
 #include <deal.II/grid/grid_generator.h>
 #include <deal.II/dofs/dof_tools.h>
 #include <deal.II/fe/fe_dgp.h>
 
 #include <fstream>
+#include <functional>
 #include <iomanip>
 
 using namespace dealii;
@@ -102,9 +102,9 @@ test_mesh(DoFHandler<dim> &mgdofs)
   MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, EmptyInfoBox>
   (dofs.begin_active(), dofs.end(),
    dof_info, info_box,
-   std_cxx11::bind (&Local<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
-   std_cxx11::bind (&Local<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
-   std_cxx11::bind (&Local<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
+   std::bind (&Local<dim>::cell, local, std::placeholders::_1, std::placeholders::_2),
+   std::bind (&Local<dim>::bdry, local, std::placeholders::_1, std::placeholders::_2),
+   std::bind (&Local<dim>::face, local, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4),
    assembler, lctrl);
 
   deallog << "  Results";
@@ -117,9 +117,9 @@ test_mesh(DoFHandler<dim> &mgdofs)
   MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, EmptyInfoBox>
   (mgdofs.begin_mg(), mgdofs.end_mg(),
    mg_dof_info, info_box,
-   std_cxx11::bind (&Local<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
-   std_cxx11::bind (&Local<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
-   std_cxx11::bind (&Local<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
+   std::bind (&Local<dim>::cell, local, std::placeholders::_1, std::placeholders::_2),
+   std::bind (&Local<dim>::bdry, local, std::placeholders::_1, std::placeholders::_2),
+   std::bind (&Local<dim>::face, local, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4),
    assembler, lctrl);
 
   deallog << "MGResults";
index 117c36160500740fae9489316d3b96565bfb68be..ca82779f215f1740320455765efc0cdfd7d6b5b1 100644 (file)
@@ -21,7 +21,6 @@
 #include <deal.II/meshworker/assembler.h>
 #include <deal.II/meshworker/loop.h>
 
-#include <deal.II/base/std_cxx11/function.h>
 #include <deal.II/base/logstream.h>
 #include <deal.II/lac/sparsity_pattern.h>
 #include <deal.II/lac/sparse_matrix.h>
@@ -32,6 +31,7 @@
 #include <deal.II/fe/fe_dgp.h>
 
 #include <fstream>
+#include <functional>
 #include <iomanip>
 
 using namespace dealii;
@@ -151,9 +151,9 @@ test_simple(DoFHandler<dim> &mgdofs)
   MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
   (dofs.begin_active(), dofs.end(),
    dof_info, info_box,
-   std_cxx11::bind (&Local<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
-   std_cxx11::bind (&Local<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
-   std_cxx11::bind (&Local<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
+   std::bind (&Local<dim>::cell, local, std::placeholders::_1, std::placeholders::_2),
+   std::bind (&Local<dim>::bdry, local, std::placeholders::_1, std::placeholders::_2),
+   std::bind (&Local<dim>::face, local, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4),
    assembler, lctrl);
 
   for (unsigned int i=0; i<v.size(); ++i)
@@ -205,9 +205,9 @@ int main ()
   std::ofstream logfile(logname.c_str());
   deallog.attach(logfile);
 
-  std::vector<std_cxx11::shared_ptr<FiniteElement<2> > > fe2;
-  fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new  FE_DGP<2>(1)));
-  fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new  FE_Q<2>(1)));
+  std::vector<std::shared_ptr<FiniteElement<2> > > fe2;
+  fe2.push_back(std::shared_ptr<FiniteElement<2> >(new  FE_DGP<2>(1)));
+  fe2.push_back(std::shared_ptr<FiniteElement<2> >(new  FE_Q<2>(1)));
 
   for (unsigned int i=0; i<fe2.size(); ++i)
     test(*fe2[i]);
index e647a463493379744a9faba143848377f59d0db9..e96015d877e1a02dc03b611400a9d20aec7e48d7 100644 (file)
@@ -296,9 +296,9 @@ int main ()
   std::ofstream logfile(logname.c_str());
   deallog.attach(logfile);
 
-  std::vector<std_cxx11::shared_ptr<FiniteElement<2> > > fe2;
-  fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new  FE_DGP<2>(1)));
-//  fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new  FE_Q<2>(1)));
+  std::vector<std::shared_ptr<FiniteElement<2> > > fe2;
+  fe2.push_back(std::shared_ptr<FiniteElement<2> >(new  FE_DGP<2>(1)));
+//  fe2.push_back(std::shared_ptr<FiniteElement<2> >(new  FE_Q<2>(1)));
 
   for (unsigned int i=0; i<fe2.size(); ++i)
     test(*fe2[i]);
index 249ea2ace6bfffb04c6639b278f2374a4d00f7e0..cce32ecb17956f4d3df8d9b04ced58353fc59f98 100644 (file)
@@ -314,13 +314,13 @@ int main ()
   FE_DGP<2> dgp1(1);
   FE_Q<2> q1(1);
 
-  std::vector<std_cxx11::shared_ptr<FiniteElement<2> > > fe2;
-  fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new FE_DGP<2>(0)));
-  fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new FESystem<2>(dgp0,3)));
-  fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new FESystem<2>(dgp1,2)));
-  fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new FESystem<2>(q1,2)));
-  fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new FESystem<2>(dgp0,1,q1,1)));
-//  fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new  FE_Q<2>(1)));
+  std::vector<std::shared_ptr<FiniteElement<2> > > fe2;
+  fe2.push_back(std::shared_ptr<FiniteElement<2> >(new FE_DGP<2>(0)));
+  fe2.push_back(std::shared_ptr<FiniteElement<2> >(new FESystem<2>(dgp0,3)));
+  fe2.push_back(std::shared_ptr<FiniteElement<2> >(new FESystem<2>(dgp1,2)));
+  fe2.push_back(std::shared_ptr<FiniteElement<2> >(new FESystem<2>(q1,2)));
+  fe2.push_back(std::shared_ptr<FiniteElement<2> >(new FESystem<2>(dgp0,1,q1,1)));
+//  fe2.push_back(std::shared_ptr<FiniteElement<2> >(new  FE_Q<2>(1)));
 
   for (unsigned int i=0; i<fe2.size(); ++i)
     test(*fe2[i]);
index 762aad9e2ee20cdeb11eb7ce2165666aac87af7d..8da38a8cf955a8fd1dccc2cd11c076fe0534cb9c 100644 (file)
@@ -20,7 +20,6 @@
 #include <deal.II/meshworker/assembler.h>
 #include <deal.II/meshworker/loop.h>
 
-#include <deal.II/base/std_cxx11/function.h>
 #include <deal.II/base/logstream.h>
 #include <deal.II/lac/sparsity_pattern.h>
 #include <deal.II/lac/sparse_matrix.h>
@@ -33,6 +32,7 @@
 #include <deal.II/numerics/data_out.h>
 
 #include <fstream>
+#include <functional>
 #include <iomanip>
 
 using namespace dealii;
@@ -255,12 +255,12 @@ namespace Advection
     MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
     (dof_handler.begin_active(), dof_handler.end(),
      dof_info, info_box,
-     std_cxx11::bind(&AdvectionProblem<dim>::integrate_cell_term,
-                     this, std_cxx11::_1, std_cxx11::_2),
-     std_cxx11::bind(&AdvectionProblem<dim>::integrate_boundary_term,
-                     this, std_cxx11::_1, std_cxx11::_2),
-     std_cxx11::bind(&AdvectionProblem<dim>::integrate_face_term,
-                     this, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
+     std::bind(&AdvectionProblem<dim>::integrate_cell_term,
+               this, std::placeholders::_1, std::placeholders::_2),
+     std::bind(&AdvectionProblem<dim>::integrate_boundary_term,
+               this, std::placeholders::_1, std::placeholders::_2),
+     std::bind(&AdvectionProblem<dim>::integrate_face_term,
+               this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4),
      assembler, lctrl);
 
   }//assemble_system
index f87c67f9fc508aa5c40c9464e33e3ab1cf25edab..82cc1f00a8a689696feda269cbf79fdd085e2d38 100644 (file)
@@ -21,7 +21,6 @@
 #include <deal.II/meshworker/assembler.h>
 #include <deal.II/meshworker/loop.h>
 
-#include <deal.II/base/std_cxx11/function.h>
 #include <deal.II/base/logstream.h>
 #include <deal.II/lac/sparsity_pattern.h>
 #include <deal.II/lac/sparse_matrix.h>
@@ -33,6 +32,7 @@
 #include <deal.II/fe/fe_system.h>
 
 #include <fstream>
+#include <functional>
 #include <iomanip>
 
 using namespace dealii;
@@ -156,9 +156,9 @@ test_simple(DoFHandler<dim> &dofs, bool faces)
   MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
   (dofs.begin_active(), dofs.end(),
    dof_info, info_box,
-   std_cxx11::bind (&Local<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
-   std_cxx11::bind (&Local<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
-   std_cxx11::bind (&Local<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
+   std::bind (&Local<dim>::cell, local, std::placeholders::_1, std::placeholders::_2),
+   std::bind (&Local<dim>::bdry, local, std::placeholders::_1, std::placeholders::_2),
+   std::bind (&Local<dim>::face, local, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4),
    assembler, lctrl);
 
   //matrix.print_formatted(deallog.get_file_stream(), 0, false, 4);
index 1c4fc0a9e685d7d8bc1a68cc848e1c3015fba72e..287f06246f70155123960ad1b579ffdf0086cee9 100644 (file)
@@ -17,7 +17,6 @@
 
 #include "../tests.h"
 #include <deal.II/base/logstream.h>
-#include <deal.II/base/std_cxx11/bind.h>
 #include <deal.II/lac/block_vector.h>
 #include <fstream>
 #include <iomanip>
@@ -26,6 +25,7 @@
 #include <numeric>
 #include <utility>
 #include <cmath>
+#include <functional>
 
 template <typename number>
 bool operator == (const BlockVector<number> &v1,
@@ -177,9 +177,9 @@ void test ()
 
       // check std::transform
       std::transform (v1.begin(), v1.end(), v2.begin(),
-                      std_cxx11::bind (std::multiplies<double>(),
-                                       std_cxx11::_1,
-                                       2.0));
+                      std::bind (std::multiplies<double>(),
+                                 std::placeholders::_1,
+                                 2.0));
       v2 *= 1./2;
       deallog << "Check 7: " << (v1 == v2 ? "true" : "false") << std::endl;
 
index 7ccaeb106dfa42bb8811eff3e0d760eee6b8a5d6..2c9a5063c0c49273792b0fdada0167bd7004ed48 100644 (file)
@@ -17,7 +17,6 @@
 
 #include "../tests.h"
 #include <deal.II/base/logstream.h>
-#include <deal.II/base/std_cxx11/bind.h>
 #include <deal.II/lac/block_vector.h>
 #include <fstream>
 #include <iomanip>
@@ -26,6 +25,7 @@
 #include <numeric>
 #include <utility>
 #include <cmath>
+#include <functional>
 
 template <typename number>
 bool operator == (const BlockVector<number> &v1,
@@ -177,9 +177,9 @@ void test ()
 
       // check std::transform
       std::transform (v1.begin(), v1.end(), v2.begin(),
-                      std_cxx11::bind (std::multiplies<std::complex<double> >(),
-                                       std_cxx11::_1,
-                                       2.0));
+                      std::bind (std::multiplies<std::complex<double> >(),
+                                 std::placeholders::_1,
+                                 2.0));
       v2 *= std::complex<double>(1./2.);
       deallog << "Check 7: " << (v1 == v2 ? "true" : "false") << std::endl;
 
index 2d3891b39ed44e72540ceeacbd67b4a7bbd88ff6..57899d5999ae552769eac14ebd6b1e2995fd1708 100644 (file)
@@ -114,8 +114,8 @@ int main ()
   std::string fluid_fe_name = "FESystem[FE_Nothing()^2-FE_Nothing()^2-FE_Q(2)^2-FE_Q(1)-FE_Q(2)^2]";
 
   hp::FECollection<dim> fe_collection;
-  std_cxx11::unique_ptr<FiniteElement<dim> > solid_fe (FETools::get_fe_by_name<dim, dim>(solid_fe_name));
-  std_cxx11::unique_ptr<FiniteElement<dim> > fluid_fe (FETools::get_fe_by_name<dim, dim>(fluid_fe_name));
+  std::unique_ptr<FiniteElement<dim> > solid_fe (FETools::get_fe_by_name<dim, dim>(solid_fe_name));
+  std::unique_ptr<FiniteElement<dim> > fluid_fe (FETools::get_fe_by_name<dim, dim>(fluid_fe_name));
 
   deallog << "Solid FE Space: " << solid_fe->get_name() << std::endl;
   deallog << "Fluid/Mesh FE Space: " << fluid_fe->get_name() << std::endl;
index c106d03b0877cd5d01f87d4704993afbb5631590..8b71d03eac584c149c676b0c0cc28e943b715313 100644 (file)
@@ -128,30 +128,30 @@ int main()
       //Attach all possible slots.
       solver_cg.connect_coefficients_slot(&output_coefficients);
       solver_cg.connect_condition_number_slot(
-        std_cxx11::bind(output_double_number,std_cxx11::_1,"Condition number: "),true);
+        std::bind(output_double_number,std::placeholders::_1,"Condition number: "),true);
       solver_cg.connect_condition_number_slot(
-        std_cxx11::bind(output_double_number,std_cxx11::_1,"Final condition number: "));
+        std::bind(output_double_number,std::placeholders::_1,"Final condition number: "));
       solver_cg.connect_eigenvalues_slot(
-        std_cxx11::bind(output_eigenvalues<double>,std_cxx11::_1,"Eigenvalues: "),true);
+        std::bind(output_eigenvalues<double>,std::placeholders::_1,"Eigenvalues: "),true);
       solver_cg.connect_eigenvalues_slot(
-        std_cxx11::bind(output_eigenvalues<double>,std_cxx11::_1,"Final Eigenvalues: "));
+        std::bind(output_eigenvalues<double>,std::placeholders::_1,"Final Eigenvalues: "));
       solver_cg.solve(A,u,f,PreconditionIdentity());
 
       u=0;
       SolverGMRES<> solver_gmres(solver_control);
       //Attach all possible slots.
       solver_gmres.connect_condition_number_slot(
-        std_cxx11::bind(output_double_number,std_cxx11::_1,"Condition number: "),true);
+        std::bind(output_double_number,std::placeholders::_1,"Condition number: "),true);
       solver_gmres.connect_condition_number_slot(
-        std_cxx11::bind(output_double_number,std_cxx11::_1,"Final condition number: "));
+        std::bind(output_double_number,std::placeholders::_1,"Final condition number: "));
       solver_gmres.connect_eigenvalues_slot(
-        std_cxx11::bind(output_eigenvalues<std::complex<double> >,std_cxx11::_1,"Eigenvalues: "),true);
+        std::bind(output_eigenvalues<std::complex<double> >,std::placeholders::_1,"Eigenvalues: "),true);
       solver_gmres.connect_eigenvalues_slot(
-        std_cxx11::bind(output_eigenvalues<std::complex<double> >,std_cxx11::_1,"Final Eigenvalues: "));
+        std::bind(output_eigenvalues<std::complex<double> >,std::placeholders::_1,"Final Eigenvalues: "));
       solver_gmres.connect_hessenberg_slot(
-        std_cxx11::bind(output_hessenberg_matrix<double>,std_cxx11::_1,"Hessenberg matrix: "),false);
+        std::bind(output_hessenberg_matrix<double>,std::placeholders::_1,"Hessenberg matrix: "),false);
       solver_gmres.connect_krylov_space_slot(
-        std_cxx11::bind(output_arnoldi_vectors_norms<double>,std_cxx11::_1,"Arnoldi vectors norms: "));
+        std::bind(output_arnoldi_vectors_norms<double>,std::placeholders::_1,"Arnoldi vectors norms: "));
       solver_gmres.solve(A,u,f,PreconditionIdentity());
     }
   catch (std::exception &e)
index 53417dd7a22dba1f4c0c60995f4f5ef09bdd4c8a..f6b83e2373f69beaec8c498904e9770a09fba75c 100644 (file)
@@ -34,7 +34,7 @@ void check ()
     {
       const unsigned int size = 17 + test*1101;
 
-      std_cxx11::shared_ptr< ::dealii::parallel::internal::TBBPartitioner> thread_loop_partitioner;
+      std::shared_ptr< ::dealii::parallel::internal::TBBPartitioner> thread_loop_partitioner;
       thread_loop_partitioner.reset(new ::dealii::parallel::internal::TBBPartitioner());
 
       Number *val;
index 1f097ddd822adc02058734b276532aa870c6cd83..93d7461fc88e2075d024cadf7c84b9b21f546bf3 100644 (file)
@@ -34,7 +34,7 @@ void check ()
     {
       const unsigned int size = 17 + test*1101;
 
-      std_cxx11::shared_ptr< ::dealii::parallel::internal::TBBPartitioner> thread_loop_partitioner;
+      std::shared_ptr< ::dealii::parallel::internal::TBBPartitioner> thread_loop_partitioner;
       thread_loop_partitioner.reset(new ::dealii::parallel::internal::TBBPartitioner());
 
       Number *val;
index 7efceef6d7e73f581edd2b95a1cc66507cf51e52..55fdf61c39c6c893af2dafc3c305369bd9e62393 100644 (file)
@@ -18,7 +18,6 @@
 #include "../tests.h"
 
 #include <deal.II/base/utilities.h>
-#include <deal.II/base/std_cxx11/shared_ptr.h>
 #include <deal.II/grid/manifold_lib.h>
 
 #include <deal.II/base/quadrature_lib.h>
@@ -44,6 +43,7 @@
 
 #include <fstream>
 #include <iostream>
+#include <memory>
 
 #include <deal.II/grid/manifold.h>
 
@@ -109,7 +109,7 @@ void test (MappingEnum::type mapping_name, unsigned int refinements=1)
   //           << " degrees of freedom."
   //           << std::endl;
 
-  std_cxx11::shared_ptr<Mapping<2,3> > mapping;
+  std::shared_ptr<Mapping<2,3> > mapping;
   switch (mapping_name)
     {
     case MappingEnum::MappingManifold:
index ac7d4aa6de91c8402b190607498192476019f3dd..2ba98f424456d6107b0e321e8a91fa2b47110e88 100644 (file)
@@ -167,9 +167,9 @@ template <int dim>
 void create_tria(Triangulation<dim> &triangulation, const Geometry<dim> &geometry)
 {
   GridGenerator::hyper_cube (triangulation, -1.0, 1.0);
-  GridTools::transform (std_cxx11::bind(&Geometry<dim>::push_forward,
-                                        std_cxx11::cref(geometry),
-                                        std_cxx11::_1),
+  GridTools::transform (std::bind(&Geometry<dim>::push_forward,
+                                  std::cref(geometry),
+                                  std::placeholders::_1),
                         triangulation);
 
   triangulation.set_manifold(0, geometry);
index ac790386f109c76b022926be2b257fdc8c33ff74..8a49a78fe00919cb38198deb0199cabc9f20e91e 100644 (file)
@@ -136,9 +136,9 @@ void create_tria(Triangulation<dim> &triangulation, const Geometry<dim> &geometr
   GridGenerator::hyper_cube (triangulation, -1., 1.);
   triangulation.refine_global(3);
 
-  GridTools::transform (std_cxx11::bind(&Geometry<dim>::push_forward,
-                                        std_cxx11::cref(geometry),
-                                        std_cxx11::_1),
+  GridTools::transform (std::bind(&Geometry<dim>::push_forward,
+                                  std::cref(geometry),
+                                  std::placeholders::_1),
                         triangulation);
 
   triangulation.set_manifold(0, geometry);
index 6c135b2ead1e3757adafd67ed464598be1be389e..dd49a5a2b37a6de7b522f3de5964dfbc37d0f4d7 100644 (file)
@@ -44,7 +44,7 @@ void test()
   Point<dim> direction;
   direction[dim-1] = 1.;
 
-  std_cxx11::shared_ptr<Manifold<dim> > cylinder_manifold
+  std::shared_ptr<Manifold<dim> > cylinder_manifold
   (dim == 2 ? static_cast<Manifold<dim>*>(new SphericalManifold<dim>(Point<dim>())) :
    static_cast<Manifold<dim>*>(new CylindricalManifold<dim>(direction, Point<dim>())));
 
index 27abc901353c17685babdf64ee6662fd4356ad6b..ec551b0559edee5dec073768252dd2b505951d51 100644 (file)
@@ -161,7 +161,7 @@ void test()
   Point<dim> direction;
   direction[dim-1] = 1.;
 
-  std_cxx11::shared_ptr<Manifold<dim> > cylinder_manifold
+  std::shared_ptr<Manifold<dim> > cylinder_manifold
   (dim == 2 ? static_cast<Manifold<dim>*>(new SphericalManifold<dim>(center)) :
    static_cast<Manifold<dim>*>(new CylindricalManifold<dim>(direction, center)));
   Triangulation<dim> tria;
index c34ac0dc52770bba74f1e5344ad88f15f18e6874..d8e53ab82203a6417301bf96e7927eddda276717 100644 (file)
@@ -77,10 +77,10 @@ public:
               const Vector<Number> &src) const
   {
     dst = 0;
-    const std_cxx11::function<void(const MatrixFree<dim,Number> &,
-                                   Vector<Number> &,
-                                   const Vector<Number> &,
-                                   const std::pair<unsigned int,unsigned int> &)>
+    const std::function<void(const MatrixFree<dim,Number> &,
+                             Vector<Number> &,
+                             const Vector<Number> &,
+                             const std::pair<unsigned int,unsigned int> &)>
     wrap = mass_operator<dim,fe_degree,Number>;
     data.cell_loop (wrap, dst, src);
   };
index ac854b7f0fe709ea5c49da0c17164106758ce701..31f50b068b88eca0b1ba0e435ea301023412512c 100644 (file)
@@ -97,7 +97,7 @@ void test ()
   //std::cout << "Number of degrees of freedom: " << dof.n_dofs() << std::endl;
   //std::cout << "Number of constraints: " << constraints.n_constraints() << std::endl;
 
-  std_cxx11::shared_ptr<MatrixFree<dim,number> > mf_data(new MatrixFree<dim,number> ());
+  std::shared_ptr<MatrixFree<dim,number> > mf_data(new MatrixFree<dim,number> ());
   {
     const QGauss<1> quad (fe_degree+1);
     typename MatrixFree<dim,number>::AdditionalData data;
index 6323d8ab07fcd8a96c66b68712c4e5dddbb6baa1..0f8b6a8843f5b4b00859422e7bfceb5e3b4558e4 100644 (file)
@@ -141,7 +141,7 @@ void test ()
   //std::cout << "Number of degrees of freedom: " << dof.n_dofs() << std::endl;
   //std::cout << "Number of constraints: " << constraints.n_constraints() << std::endl;
 
-  std_cxx11::shared_ptr<MatrixFree<dim,number> > mf_data(new MatrixFree<dim,number> ());
+  std::shared_ptr<MatrixFree<dim,number> > mf_data(new MatrixFree<dim,number> ());
   {
     const QGauss<1> quad (fe_degree+1);
     typename MatrixFree<dim,number>::AdditionalData data;
@@ -152,8 +152,8 @@ void test ()
     mf_data->reinit (dof, constraints, quad, data);
   }
 
-  std_cxx11::shared_ptr<Table<2, VectorizedArray<number> > > coefficient;
-  coefficient = std_cxx11::make_shared<Table<2, VectorizedArray<number> > >();
+  std::shared_ptr<Table<2, VectorizedArray<number> > > coefficient;
+  coefficient = std::make_shared<Table<2, VectorizedArray<number> > >();
   {
     FEEvaluation<dim,fe_degree,fe_degree+1,1,number> fe_eval(*mf_data);
 
index e04c248f2d4f4a767dae8e03c5ee2814c354d630..0612dac126460e33d783d31649bcd1690c2033c3 100644 (file)
@@ -105,7 +105,7 @@ void test ()
   //std::cout << "Number of degrees of freedom: " << dof.n_dofs() << std::endl;
   //std::cout << "Number of constraints: " << constraints.n_constraints() << std::endl;
 
-  std_cxx11::shared_ptr<MatrixFree<dim,number> > mf_data(new MatrixFree<dim,number> ());
+  std::shared_ptr<MatrixFree<dim,number> > mf_data(new MatrixFree<dim,number> ());
   {
     const QGauss<1> quad (fe_degree+2);
     typename MatrixFree<dim,number>::AdditionalData data;
index ede1dfafba32a14326012c9b59deecca376b8ade..06ce108f949ecd3611242da68e64a68d975c8399 100644 (file)
@@ -69,7 +69,7 @@ void test ()
   //std::cout << "Number of degrees of freedom: " << dof.n_dofs() << std::endl;
   //std::cout << "Number of constraints: " << constraints.n_constraints() << std::endl;
 
-  std_cxx11::shared_ptr<MatrixFree<dim,number> > mf_data(new MatrixFree<dim,number> ());
+  std::shared_ptr<MatrixFree<dim,number> > mf_data(new MatrixFree<dim,number> ());
   {
     const QGauss<1> quad (fe_degree+2);
     typename MatrixFree<dim,number>::AdditionalData data;
index 9248062ec46917f2ef7d13af209f39e7dd408e03..b68c2c287f9760bf37de94bc3c008ccfd217f897 100644 (file)
@@ -68,7 +68,7 @@ void test ()
   //std::cout << "Number of degrees of freedom: " << dof.n_dofs() << std::endl;
   //std::cout << "Number of constraints: " << constraints.n_constraints() << std::endl;
 
-  std_cxx11::shared_ptr<MatrixFree<dim,number> > mf_data(new MatrixFree<dim,number> ());
+  std::shared_ptr<MatrixFree<dim,number> > mf_data(new MatrixFree<dim,number> ());
   {
     const QGauss<1> quad (fe_degree+2);
     typename MatrixFree<dim,number>::AdditionalData data;
index 3b3c4f07646e058d18de3a170845aaa4a5627e94..357ca4c5b27f189992e1ab065727cbf1a8f5e4a3 100644 (file)
@@ -58,9 +58,9 @@ void test ()
   constraints_0.close();
   constraints_1.close();
 
-  std_cxx11::shared_ptr<MatrixFree<dim,number> > mf_data_0(new MatrixFree<dim,number> ());
-  std_cxx11::shared_ptr<MatrixFree<dim,number> > mf_data_1(new MatrixFree<dim,number> ());
-  std_cxx11::shared_ptr<MatrixFree<dim,number> > mf_data_combined(new MatrixFree<dim,number> ());
+  std::shared_ptr<MatrixFree<dim,number> > mf_data_0(new MatrixFree<dim,number> ());
+  std::shared_ptr<MatrixFree<dim,number> > mf_data_1(new MatrixFree<dim,number> ());
+  std::shared_ptr<MatrixFree<dim,number> > mf_data_combined(new MatrixFree<dim,number> ());
   const QGauss<1> quad (2);
   typename MatrixFree<dim,number>::AdditionalData data;
   data.tasks_parallel_scheme =
index d7b9576c35224ad364751c47b1797b0a1739e918..b1a912287df7210fcf6bf9168b0500d7605fd3f9 100644 (file)
@@ -87,10 +87,10 @@ public:
   {
     for (unsigned int i=0; i<dst.size(); ++i)
       dst[i] = 0;
-    const std_cxx11::function<void(const MatrixFree<dim,Number> &,
-                                   std::vector<LinearAlgebra::distributed::Vector<Number> > &,
-                                   const std::vector<LinearAlgebra::distributed::Vector<Number> > &,
-                                   const std::pair<unsigned int,unsigned int> &)>
+    const std::function<void(const MatrixFree<dim,Number> &,
+                             std::vector<LinearAlgebra::distributed::Vector<Number> > &,
+                             const std::vector<LinearAlgebra::distributed::Vector<Number> > &,
+                             const std::pair<unsigned int,unsigned int> &)>
     wrap = helmholtz_operator<dim,fe_degree,Number>;
     data.cell_loop (wrap, dst, src);
   };
index 408efee6fb5396d9d9e551bad90247b876a16831..88c5c63300368bbac77fa36e65423b99a4a50a8d 100644 (file)
@@ -87,10 +87,10 @@ public:
               const LinearAlgebra::distributed::BlockVector<Number> &src) const
   {
     dst = 0;
-    const std_cxx11::function<void(const MatrixFree<dim,Number> &,
-                                   LinearAlgebra::distributed::BlockVector<Number> &,
-                                   const LinearAlgebra::distributed::BlockVector<Number> &,
-                                   const std::pair<unsigned int,unsigned int> &)>
+    const std::function<void(const MatrixFree<dim,Number> &,
+                             LinearAlgebra::distributed::BlockVector<Number> &,
+                             const LinearAlgebra::distributed::BlockVector<Number> &,
+                             const std::pair<unsigned int,unsigned int> &)>
     wrap = helmholtz_operator<dim,fe_degree,Number>;
     data.cell_loop (wrap, dst, src);
   };
index 085245037384d7c9a2bfeb52be96fa13cc5dc6e2..c5799688102a47bf9b05609b9a70b23334e1cc7d 100644 (file)
@@ -99,10 +99,10 @@ public:
   {
     for (unsigned int i=0; i<dst.size(); ++i)
       dst[i] = 0;
-    const std_cxx11::function<void(const MatrixFree<dim,Number> &,
-                                   parallel::distributed::BlockVector<Number> &,
-                                   const parallel::distributed::BlockVector<Number> &,
-                                   const std::pair<unsigned int,unsigned int> &)>
+    const std::function<void(const MatrixFree<dim,Number> &,
+                             parallel::distributed::BlockVector<Number> &,
+                             const parallel::distributed::BlockVector<Number> &,
+                             const std::pair<unsigned int,unsigned int> &)>
     wrap = helmholtz_operator<dim,fe_degree,Number>;
     data.cell_loop (wrap, dst, src);
   };
index 51867f9bfb7e81d564f092ae00edca74cb7ac6ee..b9320bf6c02718652200182f3fe685505b421732 100644 (file)
@@ -90,10 +90,10 @@ public:
   {
     for (unsigned int i=0; i<dst.size(); ++i)
       dst[i] = 0;
-    const std_cxx11::function<void(const MatrixFree<dim,Number> &,
-                                   parallel::distributed::BlockVector<Number> &,
-                                   const parallel::distributed::BlockVector<Number> &,
-                                   const std::pair<unsigned int,unsigned int> &)>
+    const std::function<void(const MatrixFree<dim,Number> &,
+                             parallel::distributed::BlockVector<Number> &,
+                             const parallel::distributed::BlockVector<Number> &,
+                             const std::pair<unsigned int,unsigned int> &)>
     wrap = helmholtz_operator<dim,fe_degree,Number>;
     data.cell_loop (wrap, dst, src);
   };
index c78b19ffe1624cb518023062dd8ef56c57009576..3f1b39a0f53a514b3ad2b97a165cf793af47207c 100644 (file)
@@ -88,10 +88,10 @@ public:
   {
     for (unsigned int i=0; i<dst.size(); ++i)
       *dst[i] = 0;
-    const std_cxx11::function<void(const MatrixFree<dim,Number> &,
-                                   std::vector<LinearAlgebra::distributed::Vector<Number> *> &,
-                                   const std::vector<LinearAlgebra::distributed::Vector<Number> *> &,
-                                   const std::pair<unsigned int,unsigned int> &)>
+    const std::function<void(const MatrixFree<dim,Number> &,
+                             std::vector<LinearAlgebra::distributed::Vector<Number> *> &,
+                             const std::vector<LinearAlgebra::distributed::Vector<Number> *> &,
+                             const std::pair<unsigned int,unsigned int> &)>
     wrap = helmholtz_operator<dim,fe_degree,Number>;
     data.cell_loop (wrap, dst, src);
   };
index 3e74ebf2afce4225a60de18d0273e26de72eed6e..78215404d13add0fd65dca33246ea9e7b3da4bd2 100644 (file)
@@ -99,10 +99,10 @@ public:
   {
     for (unsigned int i=0; i<dst.size(); ++i)
       *dst[i] = 0;
-    const std_cxx11::function<void(const MatrixFree<dim,Number> &,
-                                   std::vector<LinearAlgebra::distributed::Vector<Number> *> &,
-                                   const std::vector<LinearAlgebra::distributed::Vector<Number> *> &,
-                                   const std::pair<unsigned int,unsigned int> &)>
+    const std::function<void(const MatrixFree<dim,Number> &,
+                             std::vector<LinearAlgebra::distributed::Vector<Number> *> &,
+                             const std::vector<LinearAlgebra::distributed::Vector<Number> *> &,
+                             const std::pair<unsigned int,unsigned int> &)>
     wrap = helmholtz_operator<dim,fe_degree,Number>;
     data.cell_loop (wrap, dst, src);
   };
index 461e74f4e482d4075643309886fe8114bf9a4284..630bd4761678e498a0123ac25595a3fe3b6aecf9 100644 (file)
@@ -70,10 +70,10 @@ public:
               const VectorType &src) const
   {
     dst = 0;
-    const std_cxx11::function<void(const MatrixFree<dim,typename VectorType::value_type> &,
-                                   VectorType &,
-                                   const VectorType &,
-                                   const std::pair<unsigned int,unsigned int> &)>
+    const std::function<void(const MatrixFree<dim,typename VectorType::value_type> &,
+                             VectorType &,
+                             const VectorType &,
+                             const std::pair<unsigned int,unsigned int> &)>
     wrap = helmholtz_operator<dim,fe_degree,VectorType,n_q_points_1d>;
     data.cell_loop (wrap, dst, src);
   };
index 26ed95f6b3be3fe8e6ec1bf6fa6bd8a5b82ef48f..6700a82a828b4e342ca8941029b97b5f3f5f7352 100644 (file)
@@ -119,7 +119,7 @@ test()
   dof_u.distribute_dofs(fe_u);
   dof_p.distribute_dofs(fe_p);
 
-  std_cxx11::shared_ptr<MatrixFree<dim, double> > mf_data;
+  std::shared_ptr<MatrixFree<dim, double> > mf_data;
 
   dof.distribute_dofs(fe);
   ConstraintMatrix constraints, constraints_u, constraints_p;
@@ -242,7 +242,7 @@ test()
         mf_system_rhs.block(1)(j) = val;
       }
 
-  mf_data = std_cxx11::shared_ptr<MatrixFree<dim, double> >(new MatrixFree<dim, double>());
+  mf_data = std::shared_ptr<MatrixFree<dim, double> >(new MatrixFree<dim, double>());
   // setup matrix-free structure
   {
     std::vector<const DoFHandler<dim>*> dofs;
index 1444804d12e60e7a9d1f832b609a01fa3144d75a..97c59de6877ef1ce2b0197ce31f0ef31b35c9c14 100644 (file)
@@ -114,7 +114,7 @@ void do_test (const DoFHandler<dim>  &dof)
   MappingQ<dim> mapping(fe_degree+1);
 
   LaplaceOperator<dim,fe_degree,n_q_points_1d,1,LinearAlgebra::distributed::Vector<number> > fine_matrix;
-  std_cxx11::shared_ptr<MatrixFree<dim,number> > fine_level_data(new MatrixFree<dim,number> ());
+  std::shared_ptr<MatrixFree<dim,number> > fine_level_data(new MatrixFree<dim,number> ());
 
   typename MatrixFree<dim,number>::AdditionalData fine_level_additional_data;
   fine_level_additional_data.tasks_parallel_scheme = MatrixFree<dim,number>::AdditionalData::none;
@@ -155,7 +155,7 @@ void do_test (const DoFHandler<dim>  &dof)
 
       mg_level_data[level].reinit (mapping, dof, level_constraints, QGauss<1>(n_q_points_1d),
                                    mg_additional_data);
-      mg_matrices[level].initialize(std_cxx11::make_shared<MatrixFree<dim,number> >(
+      mg_matrices[level].initialize(std::make_shared<MatrixFree<dim,number> >(
                                       mg_level_data[level]),
                                     mg_constrained_dofs,
                                     level);
index db47b66d7c99e56168267d0fd4f03a2d840e16f7..b6ee95fc609cc33cf3c0218503f6847110751316 100644 (file)
@@ -151,7 +151,7 @@ void do_test (const DoFHandler<dim>  &dof)
   MappingQ<dim> mapping(fe_degree+1);
 
   LaplaceOperator<dim,fe_degree,n_q_points_1d,1,LinearAlgebra::distributed::Vector<number> > fine_matrix;
-  std_cxx11::shared_ptr<MatrixFree<dim,number> > fine_level_data(new MatrixFree<dim,number> ());
+  std::shared_ptr<MatrixFree<dim,number> > fine_level_data(new MatrixFree<dim,number> ());
 
   typename MatrixFree<dim,number>::AdditionalData fine_level_additional_data;
   fine_level_additional_data.tasks_parallel_scheme = MatrixFree<dim,number>::AdditionalData::none;
@@ -204,7 +204,7 @@ void do_test (const DoFHandler<dim>  &dof)
 
       mg_level_data[level].reinit (mapping, dof, level_constraints, QGauss<1>(n_q_points_1d),
                                    mg_additional_data);
-      mg_matrices[level].initialize(std_cxx11::make_shared<MatrixFree<dim,number> >(
+      mg_matrices[level].initialize(std::make_shared<MatrixFree<dim,number> >(
                                       mg_level_data[level]),
                                     mg_constrained_dofs,
                                     level);
index 3209b7c5751469076b9c7e0dc45c8abdf9243e3e..de076133510100762a10fbd3e779686c9195f60f 100644 (file)
@@ -151,7 +151,7 @@ void do_test (const DoFHandler<dim>  &dof)
   MappingQ<dim> mapping(fe_degree+1);
 
   LaplaceOperator<dim,fe_degree,n_q_points_1d,1,LinearAlgebra::distributed::Vector<number> > fine_matrix;
-  std_cxx11::shared_ptr<MatrixFree<dim,number> > fine_level_data(new MatrixFree<dim,number> ());
+  std::shared_ptr<MatrixFree<dim,number> > fine_level_data(new MatrixFree<dim,number> ());
 
   typename MatrixFree<dim,number>::AdditionalData fine_level_additional_data;
   fine_level_additional_data.tasks_parallel_scheme = MatrixFree<dim,number>::AdditionalData::none;
@@ -204,7 +204,7 @@ void do_test (const DoFHandler<dim>  &dof)
 
       mg_level_data[level].reinit (mapping, dof, level_constraints, QGauss<1>(n_q_points_1d),
                                    mg_additional_data);
-      mg_matrices[level].initialize(std_cxx11::make_shared<MatrixFree<dim,number> > (
+      mg_matrices[level].initialize(std::make_shared<MatrixFree<dim,number> > (
                                       mg_level_data[level]),
                                     mg_constrained_dofs,
                                     level);
index bbecf592c7426c466c73471fb277afa6a3b470a0..c9b38375733717f591453825febe42ea2409e0aa 100644 (file)
@@ -70,16 +70,16 @@ void test()
 
   // repartition the mesh as described above, first in some arbitrary
   // way, and then with all equal weights
-  tr.signals.cell_weight.connect(std_cxx11::bind(&cell_weight_1<dim>,
-                                                 std_cxx11::_1,
-                                                 std_cxx11::_2));
+  tr.signals.cell_weight.connect(std::bind(&cell_weight_1<dim>,
+                                           std::placeholders::_1,
+                                           std::placeholders::_2));
   tr.repartition();
 
   tr.signals.cell_weight.disconnect_all_slots();
 
-  tr.signals.cell_weight.connect(std_cxx11::bind(&cell_weight_2<dim>,
-                                                 std_cxx11::_1,
-                                                 std_cxx11::_2));
+  tr.signals.cell_weight.connect(std::bind(&cell_weight_2<dim>,
+                                           std::placeholders::_1,
+                                           std::placeholders::_2));
   tr.repartition();
 
 
index 29a66a60f85d20f94cb72a70a184c2e5d601aef8..5b67a4120b55f5e793b8ee0a9027defc8cd2eec0 100644 (file)
@@ -60,9 +60,9 @@ void test()
 
   // repartition the mesh as described above, first in some arbitrary
   // way, and then with no weights
-  tr.signals.cell_weight.connect(std_cxx11::bind(&cell_weight_1<dim>,
-                                                 std_cxx11::_1,
-                                                 std_cxx11::_2));
+  tr.signals.cell_weight.connect(std::bind(&cell_weight_1<dim>,
+                                           std::placeholders::_1,
+                                           std::placeholders::_2));
   tr.repartition();
 
   tr.signals.cell_weight.disconnect_all_slots();
index f5d7ffcb3b1fd58ac012c61630524d584668866f..56615175ae1b9e6db8b94a6e5b1dcb27b3bc7f36 100644 (file)
@@ -52,9 +52,9 @@ void test()
 
   GridGenerator::subdivided_hyper_cube(tr, 16);
 
-  tr.signals.cell_weight.connect(std_cxx11::bind(&cell_weight<dim>,
-                                                 std_cxx11::_1,
-                                                 std_cxx11::_2));
+  tr.signals.cell_weight.connect(std::bind(&cell_weight<dim>,
+                                           std::placeholders::_1,
+                                           std::placeholders::_2));
   tr.refine_global(1);
 
   if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0)
index aefe480cf241590874da7a7c74c8a2384b8a7a34..0b144b01c5c32a2464862c8bcca2e5a4d6d674e7 100644 (file)
@@ -63,9 +63,9 @@ void test()
 
   tr.refine_global(1);
 
-  tr.signals.cell_weight.connect(std_cxx11::bind(&cell_weight<dim>,
-                                                 std_cxx11::_1,
-                                                 std_cxx11::_2));
+  tr.signals.cell_weight.connect(std::bind(&cell_weight<dim>,
+                                           std::placeholders::_1,
+                                           std::placeholders::_2));
 
   tr.repartition();
 
index b09fe61e73ac9c4a6189339c05d3f023b14d9a9a..c038d253605e8d950b1743f26db4c84bbd433d87 100644 (file)
@@ -58,9 +58,9 @@ void test()
 
   GridGenerator::subdivided_hyper_cube(tr, 16);
 
-  tr.signals.cell_weight.connect(std_cxx11::bind(&cell_weight<dim>,
-                                                 std_cxx11::_1,
-                                                 std_cxx11::_2));
+  tr.signals.cell_weight.connect(std::bind(&cell_weight<dim>,
+                                           std::placeholders::_1,
+                                           std::placeholders::_2));
 
   tr.refine_global(1);
 
index bf8b58074141fce2a8e75467a0621e38b7bf6180..03441155a3db3f43ddd8243c344757e9df26b742 100644 (file)
@@ -78,9 +78,9 @@ void test()
 
 
   // repartition the mesh; attach different weights to all cells
-  tr.signals.cell_weight.connect(std_cxx11::bind(&cell_weight<dim>,
-                                                 std_cxx11::_1,
-                                                 std_cxx11::_2));
+  tr.signals.cell_weight.connect(std::bind(&cell_weight<dim>,
+                                           std::placeholders::_1,
+                                           std::placeholders::_2));
 
   tr.repartition ();
 
index dcf643e2e4bc475488903d845de5077f3cab5a54..8c482d6b326a3af7f400f106297c26d4a3233c78 100644 (file)
@@ -78,9 +78,9 @@ void test()
 
   // repartition the mesh; attach different weights to all cells
   n_global_active_cells = tr.n_global_active_cells();
-  tr.signals.cell_weight.connect(std_cxx11::bind(&cell_weight<dim>,
-                                                 std_cxx11::_1,
-                                                 std_cxx11::_2));
+  tr.signals.cell_weight.connect(std::bind(&cell_weight<dim>,
+                                           std::placeholders::_1,
+                                           std::placeholders::_2));
   tr.repartition ();
 
   if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0)
index c3797744769e25cd5bbadd315c0db5f8064d1fc1..935c558f33b210e0d5a7e9cab0bdffc2f5e41603 100644 (file)
@@ -75,14 +75,14 @@ void test(FiniteElement<dim> &fe)
 template <int dim>
 void testit()
 {
-  std::vector<std_cxx11::shared_ptr<FiniteElement<dim> > > fes;
-  fes.push_back(std_cxx11::shared_ptr<FiniteElement<dim> >(new FE_RaviartThomas<dim>(0)));
-  fes.push_back(std_cxx11::shared_ptr<FiniteElement<dim> >(new FE_RaviartThomas<dim>(1)));
-  fes.push_back(std_cxx11::shared_ptr<FiniteElement<dim> >(new FE_Nedelec<dim>(0)));
-  fes.push_back(std_cxx11::shared_ptr<FiniteElement<dim> >(new FE_Nedelec<dim>(1)));
-  fes.push_back(std_cxx11::shared_ptr<FiniteElement<dim> >(new FE_Q<dim>(3)));
-  fes.push_back(std_cxx11::shared_ptr<FiniteElement<dim> >(new FE_DGQ<dim>(2)));
-  fes.push_back(std_cxx11::shared_ptr<FiniteElement<dim> >(new FE_Q_DG0<dim>(2)));
+  std::vector<std::shared_ptr<FiniteElement<dim> > > fes;
+  fes.push_back(std::shared_ptr<FiniteElement<dim> >(new FE_RaviartThomas<dim>(0)));
+  fes.push_back(std::shared_ptr<FiniteElement<dim> >(new FE_RaviartThomas<dim>(1)));
+  fes.push_back(std::shared_ptr<FiniteElement<dim> >(new FE_Nedelec<dim>(0)));
+  fes.push_back(std::shared_ptr<FiniteElement<dim> >(new FE_Nedelec<dim>(1)));
+  fes.push_back(std::shared_ptr<FiniteElement<dim> >(new FE_Q<dim>(3)));
+  fes.push_back(std::shared_ptr<FiniteElement<dim> >(new FE_DGQ<dim>(2)));
+  fes.push_back(std::shared_ptr<FiniteElement<dim> >(new FE_Q_DG0<dim>(2)));
 
   for (unsigned int i=0; i<fes.size(); ++i)
     {
index 3c9f7bf51d8bcc92611c0957bd235315efad5783..b0eebff44838d342d6bb8cd0d6ec7ef6ad401b4f 100755 (executable)
@@ -16,7 +16,6 @@
 
 #include "../tests.h"
 #include <deal.II/base/logstream.h>
-#include <deal.II/base/std_cxx11/unique_ptr.h>
 #include <deal.II/grid/tria.h>
 #include <deal.II/grid/tria_iterator.h>
 #include <deal.II/grid/grid_generator.h>
@@ -34,7 +33,7 @@
 
 #include <fstream>
 #include <iomanip>
-#include <iomanip>
+#include <memory>
 #include <string>
 
 //#define DEBUG_OUTPUT_VTK
@@ -140,10 +139,10 @@ check_this (const FiniteElement<dim> &fe1,
   if (!fe2.isotropic_restriction_is_implemented())
     return;
 
-  std_cxx11::unique_ptr<parallel::distributed::Triangulation<dim> > tria(make_tria<dim>());
+  std::unique_ptr<parallel::distributed::Triangulation<dim> > tria(make_tria<dim>());
 
-  std_cxx11::unique_ptr<DoFHandler<dim> >    dof1(make_dof_handler (*tria, fe1));
-  std_cxx11::unique_ptr<DoFHandler<dim> >    dof2(make_dof_handler (*tria, fe2));
+  std::unique_ptr<DoFHandler<dim> >    dof1(make_dof_handler (*tria, fe1));
+  std::unique_ptr<DoFHandler<dim> >    dof2(make_dof_handler (*tria, fe2));
   ConstraintMatrix cm1;
   DoFTools::make_hanging_node_constraints (*dof1, cm1);
   cm1.close ();
@@ -264,10 +263,10 @@ check_this_dealii (const FiniteElement<dim> &fe1,
   if (!fe2.isotropic_restriction_is_implemented())
     return;
 
-  std_cxx11::unique_ptr<parallel::distributed::Triangulation<dim> > tria(make_tria<dim>());
+  std::unique_ptr<parallel::distributed::Triangulation<dim> > tria(make_tria<dim>());
 
-  std_cxx11::unique_ptr<DoFHandler<dim> >    dof1(make_dof_handler (*tria, fe1));
-  std_cxx11::unique_ptr<DoFHandler<dim> >    dof2(make_dof_handler (*tria, fe2));
+  std::unique_ptr<DoFHandler<dim> >    dof1(make_dof_handler (*tria, fe1));
+  std::unique_ptr<DoFHandler<dim> >    dof2(make_dof_handler (*tria, fe2));
   ConstraintMatrix cm1;
   DoFTools::make_hanging_node_constraints (*dof1, cm1);
   cm1.close ();
index f38d50f63d932d4afd1fd570366e5040634ee5c9..a32300856f6b10761f70d08eaae5f45b72f170fc 100644 (file)
@@ -102,9 +102,9 @@ test_simple(DoFHandler<dim> &dofs, MeshWorker::LoopControl &lctrl)
 //                typename identity<ITERATOR>::type end,
 //                DOFINFO &dinfo,
 //                INFOBOX &info,
-//                const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
-//                const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
-//                const std_cxx11::function<void (DOFINFO &, DOFINFO &,
+//                const std::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
+//                const std::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
+//                const std::function<void (DOFINFO &, DOFINFO &,
 //                                                typename INFOBOX::CellInfo &,
 //                                                typename INFOBOX::CellInfo &)> &face_worker,
 //                ASSEMBLER &assembler,
@@ -122,9 +122,9 @@ test_simple(DoFHandler<dim> &dofs, MeshWorker::LoopControl &lctrl)
 //  MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
 //    (dofs.begin_active(), dofs.end(),
 //   dof_info, info_box,
-//       std_cxx11::bind (&Integrator<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
-//   std_cxx11::bind (&Integrator<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
-//   std_cxx11::bind (&Integrator<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
+//       std::bind (&Integrator<dim>::cell, local, std::placeholders::_1, std::placeholders::_2),
+//   std::bind (&Integrator<dim>::bdry, local, std::placeholders::_1, std::placeholders::_2),
+//   std::bind (&Integrator<dim>::face, local, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4),
 //     local,
 //     lctrl);
 }
index 3d727339afeed6d70451827e5bbe925090b0a199..6c5a2c4bead18424d10751e9172b5df8459bd4ec 100644 (file)
@@ -101,9 +101,9 @@ test_simple(DoFHandler<dim> &dofs, MeshWorker::LoopControl &lctrl)
 //                typename identity<ITERATOR>::type end,
 //                DOFINFO &dinfo,
 //                INFOBOX &info,
-//                const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
-//                const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
-//                const std_cxx11::function<void (DOFINFO &, DOFINFO &,
+//                const std::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
+//                const std::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
+//                const std::function<void (DOFINFO &, DOFINFO &,
 //                                                typename INFOBOX::CellInfo &,
 //                                                typename INFOBOX::CellInfo &)> &face_worker,
 //                ASSEMBLER &assembler,
@@ -121,9 +121,9 @@ test_simple(DoFHandler<dim> &dofs, MeshWorker::LoopControl &lctrl)
 //  MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
 //    (dofs.begin_active(), dofs.end(),
 //   dof_info, info_box,
-//       std_cxx11::bind (&Integrator<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
-//   std_cxx11::bind (&Integrator<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
-//   std_cxx11::bind (&Integrator<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
+//       std::bind (&Integrator<dim>::cell, local, std::placeholders::_1, std::placeholders::_2),
+//   std::bind (&Integrator<dim>::bdry, local, std::placeholders::_1, std::placeholders::_2),
+//   std::bind (&Integrator<dim>::face, local, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4),
 //     local,
 //     lctrl);
 }
index 1f6af555cb3a26276da1ee153babc4ee4809337d..7b0fc2a9cad3e7f7b67b317cf0bcbe904124714b 100644 (file)
@@ -101,9 +101,9 @@ test_simple(DoFHandler<dim> &dofs, MeshWorker::LoopControl &lctrl)
 //                typename identity<ITERATOR>::type end,
 //                DOFINFO &dinfo,
 //                INFOBOX &info,
-//                const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
-//                const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
-//                const std_cxx11::function<void (DOFINFO &, DOFINFO &,
+//                const std::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
+//                const std::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
+//                const std::function<void (DOFINFO &, DOFINFO &,
 //                                                typename INFOBOX::CellInfo &,
 //                                                typename INFOBOX::CellInfo &)> &face_worker,
 //                ASSEMBLER &assembler,
@@ -121,9 +121,9 @@ test_simple(DoFHandler<dim> &dofs, MeshWorker::LoopControl &lctrl)
 //  MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
 //    (dofs.begin_active(), dofs.end(),
 //   dof_info, info_box,
-//       std_cxx11::bind (&Integrator<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
-//   std_cxx11::bind (&Integrator<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
-//   std_cxx11::bind (&Integrator<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
+//       std::bind (&Integrator<dim>::cell, local, std::placeholders::_1, std::placeholders::_2),
+//   std::bind (&Integrator<dim>::bdry, local, std::placeholders::_1, std::placeholders::_2),
+//   std::bind (&Integrator<dim>::face, local, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4),
 //     local,
 //     lctrl);
 }
index a9b8221b8cc38260b810d9d0412150e3a2545478..c830290bedfc4deadbe5a613035d51100ecc5d36 100644 (file)
@@ -102,9 +102,9 @@ test_simple(DoFHandler<dim> &dofs, MeshWorker::LoopControl &lctrl)
 //                typename identity<ITERATOR>::type end,
 //                DOFINFO &dinfo,
 //                INFOBOX &info,
-//                const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
-//                const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
-//                const std_cxx11::function<void (DOFINFO &, DOFINFO &,
+//                const std::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
+//                const std::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
+//                const std::function<void (DOFINFO &, DOFINFO &,
 //                                                typename INFOBOX::CellInfo &,
 //                                                typename INFOBOX::CellInfo &)> &face_worker,
 //                ASSEMBLER &assembler,
@@ -122,9 +122,9 @@ test_simple(DoFHandler<dim> &dofs, MeshWorker::LoopControl &lctrl)
 //  MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
 //    (dofs.begin_active(), dofs.end(),
 //   dof_info, info_box,
-//       std_cxx11::bind (&Integrator<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
-//   std_cxx11::bind (&Integrator<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
-//   std_cxx11::bind (&Integrator<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
+//       std::bind (&Integrator<dim>::cell, local, std::placeholders::_1, std::placeholders::_2),
+//   std::bind (&Integrator<dim>::bdry, local, std::placeholders::_1, std::placeholders::_2),
+//   std::bind (&Integrator<dim>::face, local, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4),
 //     local,
 //     lctrl);
 }
index b5ffb62ad4a871f981bb827d21ee7d41ac696106..9246bc174e3db08f06bd385e4651bc48f71acea5 100644 (file)
@@ -103,9 +103,9 @@ test_simple(DoFHandler<dim> &dofs, MeshWorker::LoopControl &lctrl)
 //                typename identity<ITERATOR>::type end,
 //                DOFINFO &dinfo,
 //                INFOBOX &info,
-//                const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
-//                const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
-//                const std_cxx11::function<void (DOFINFO &, DOFINFO &,
+//                const std::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
+//                const std::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
+//                const std::function<void (DOFINFO &, DOFINFO &,
 //                                                typename INFOBOX::CellInfo &,
 //                                                typename INFOBOX::CellInfo &)> &face_worker,
 //                ASSEMBLER &assembler,
@@ -123,9 +123,9 @@ test_simple(DoFHandler<dim> &dofs, MeshWorker::LoopControl &lctrl)
 //  MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
 //    (dofs.begin_active(), dofs.end(),
 //   dof_info, info_box,
-//       std_cxx11::bind (&Integrator<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
-//   std_cxx11::bind (&Integrator<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
-//   std_cxx11::bind (&Integrator<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
+//       std::bind (&Integrator<dim>::cell, local, std::placeholders::_1, std::placeholders::_2),
+//   std::bind (&Integrator<dim>::bdry, local, std::placeholders::_1, std::placeholders::_2),
+//   std::bind (&Integrator<dim>::face, local, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4),
 //     local,
 //     lctrl);
 }
index 80a86a131f706565a1dde7a2e9bcfad2d57c556b..d89ccd02ba3c0fb8388a4f944e5da476ee2cf679 100644 (file)
@@ -23,7 +23,6 @@
 #include <deal.II/meshworker/assembler.h>
 #include <deal.II/meshworker/loop.h>
 
-#include <deal.II/base/std_cxx11/function.h>
 #include <deal.II/base/logstream.h>
 #include <deal.II/lac/sparsity_pattern.h>
 #include <deal.II/lac/sparse_matrix.h>
@@ -38,6 +37,7 @@
 #include <deal.II/fe/fe_system.h>
 
 #include <fstream>
+#include <functional>
 #include <iomanip>
 
 using namespace dealii;
@@ -162,9 +162,9 @@ test_simple(DoFHandler<dim> &dofs, bool faces)
   MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
   (cell, end,
    dof_info, info_box,
-   std_cxx11::bind (&Local<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
-   std_cxx11::bind (&Local<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
-   std_cxx11::bind (&Local<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
+   std::bind (&Local<dim>::cell, local, std::placeholders::_1, std::placeholders::_2),
+   std::bind (&Local<dim>::bdry, local, std::placeholders::_1, std::placeholders::_2),
+   std::bind (&Local<dim>::face, local, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4),
    assembler, lctrl);
 
   matrix.compress(VectorOperation::add);
index c2cfb7bd8066aa4417e8c105c677c9849903aac7..85c807957bc9f490ced44b874e01b43dd41f3259 100644 (file)
@@ -18,9 +18,9 @@
 #include <deal.II/grid/tria.h>
 #include <deal.II/distributed/tria.h>
 #include <deal.II/grid/grid_generator.h>
-#include <deal.II/base/std_cxx11/bind.h>
 
 #include <fstream>
+#include <functional>
 #include <ostream>
 
 // Test on whether signals post_refinement_on_cell and pre_coarsening_on_cell
@@ -39,14 +39,14 @@ public:
     tria(tria_in)
   {
     tria_in.signals.post_refinement_on_cell.connect
-    (std_cxx11::bind (&SignalListener<dim, spacedim>::count_on_refine,
-                      this,
-                      std_cxx11::placeholders::_1));
+    (std::bind (&SignalListener<dim, spacedim>::count_on_refine,
+                this,
+                std::placeholders::_1));
 
     tria_in.signals.pre_coarsening_on_cell.connect
-    (std_cxx11::bind (&SignalListener<dim, spacedim>::count_on_coarsen,
-                      this,
-                      std_cxx11::placeholders::_1));
+    (std::bind (&SignalListener<dim, spacedim>::count_on_coarsen,
+                this,
+                std::placeholders::_1));
   }
 
   int n_active_cell_gap()
index a4ec17c35275a2c0cca0c555854ef59902873f59..ba7b98da953eefdea486b03f97ff88ca2b5dc09a 100644 (file)
@@ -18,9 +18,9 @@
 #include <deal.II/grid/tria.h>
 #include <deal.II/distributed/tria.h>
 #include <deal.II/grid/grid_generator.h>
-#include <deal.II/base/std_cxx11/bind.h>
 
 #include <fstream>
+#include <functional>
 #include <ostream>
 
 // Test on whether signals post_refinement_on_cell and pre_coarsening_on_cell
@@ -42,14 +42,14 @@ public:
     tria(tria_in)
   {
     tria_in.signals.post_refinement_on_cell.connect
-    (std_cxx11::bind (&SignalListener<dim, spacedim>::count_on_refine,
-                      this,
-                      std_cxx11::placeholders::_1));
+    (std::bind (&SignalListener<dim, spacedim>::count_on_refine,
+                this,
+                std::placeholders::_1));
 
     tria_in.signals.pre_coarsening_on_cell.connect
-    (std_cxx11::bind (&SignalListener<dim, spacedim>::count_on_coarsen,
-                      this,
-                      std_cxx11::placeholders::_1));
+    (std::bind (&SignalListener<dim, spacedim>::count_on_coarsen,
+                this,
+                std::placeholders::_1));
   }
 
   int n_active_cell_gap()
index ebaa61b86967e1b83dd8e52bc82053231b1f1028..10754067e3038acdc95343a52b1e1a83932cdd44 100644 (file)
@@ -18,9 +18,9 @@
 #include <deal.II/grid/tria.h>
 #include <deal.II/distributed/tria.h>
 #include <deal.II/grid/grid_generator.h>
-#include <deal.II/base/std_cxx11/bind.h>
 
 #include <fstream>
+#include <functional>
 #include <ostream>
 
 // Test on whether signals post_refinement_on_cell and pre_coarsening_on_cell
@@ -43,14 +43,14 @@ public:
     tria(tria_in)
   {
     tria_in.signals.post_refinement_on_cell.connect
-    (std_cxx11::bind (&SignalListener<dim, spacedim>::count_on_refine,
-                      this,
-                      std_cxx11::placeholders::_1));
+    (std::bind (&SignalListener<dim, spacedim>::count_on_refine,
+                this,
+                std::placeholders::_1));
 
     tria_in.signals.pre_coarsening_on_cell.connect
-    (std_cxx11::bind (&SignalListener<dim, spacedim>::count_on_coarsen,
-                      this,
-                      std_cxx11::placeholders::_1));
+    (std::bind (&SignalListener<dim, spacedim>::count_on_coarsen,
+                this,
+                std::placeholders::_1));
   }
 
   int n_active_cell_gap()
index 59d1daf54a92aa6e001f564a41e86792f38cc451..54188463e9864ee994567f1e3c728ac40b3daee5 100644 (file)
@@ -18,9 +18,9 @@
 #include <deal.II/grid/tria.h>
 #include <deal.II/distributed/tria.h>
 #include <deal.II/grid/grid_generator.h>
-#include <deal.II/base/std_cxx11/bind.h>
 
 #include <fstream>
+#include <functional>
 #include <ostream>
 
 // Test on whether signals post_refinement_on_cell and pre_coarsening_on_cell
@@ -43,14 +43,14 @@ public:
     tria(tria_in)
   {
     tria_in.signals.post_refinement_on_cell.connect
-    (std_cxx11::bind (&SignalListener<dim, spacedim>::count_on_refine,
-                      this,
-                      std_cxx11::placeholders::_1));
+    (std::bind (&SignalListener<dim, spacedim>::count_on_refine,
+                this,
+                std::placeholders::_1));
 
     tria_in.signals.pre_coarsening_on_cell.connect
-    (std_cxx11::bind (&SignalListener<dim, spacedim>::count_on_coarsen,
-                      this,
-                      std_cxx11::placeholders::_1));
+    (std::bind (&SignalListener<dim, spacedim>::count_on_coarsen,
+                this,
+                std::placeholders::_1));
   }
 
   int n_active_cell_gap()
index cda82fc25d9f4696c0488c3adc70c3bf3d0483b2..ab0d1e160e97d1cab4671aa8a1d88c6328140a24 100644 (file)
@@ -18,9 +18,9 @@
 #include <deal.II/grid/tria.h>
 #include <deal.II/distributed/tria.h>
 #include <deal.II/grid/grid_generator.h>
-#include <deal.II/base/std_cxx11/bind.h>
 
 #include <fstream>
+#include <functional>
 #include <ostream>
 
 // This is a test for test driver itself. Signals on refinement is disabled,
@@ -43,14 +43,14 @@ public:
     tria(tria_in)
   {
     // tria_in.signals.post_refinement_on_cell.connect
-    // (std_cxx11::bind (&SignalListener<dim, spacedim>::count_on_refine,
+    // (std::bind (&SignalListener<dim, spacedim>::count_on_refine,
     //                   this,
-    //                   std_cxx11::placeholders::_1));
+    //                   std::placeholders::_1));
 
     tria_in.signals.pre_coarsening_on_cell.connect
-    (std_cxx11::bind (&SignalListener<dim, spacedim>::count_on_coarsen,
-                      this,
-                      std_cxx11::placeholders::_1));
+    (std::bind (&SignalListener<dim, spacedim>::count_on_coarsen,
+                this,
+                std::placeholders::_1));
   }
 
   int n_active_cell_gap()
index 64fb9d494b5f3b7fdeb37cd22f91b487dddde04a..373354ba9d8472be1519676d66388f0a9aaf7ebb 100644 (file)
@@ -59,8 +59,8 @@
 #include <deal.II/multigrid/mg_matrix.h>
 
 #include <fstream>
+#include <functional>
 #include <sstream>
-#include <deal.II/base/std_cxx11/bind.h>
 
 using namespace dealii;
 
@@ -265,7 +265,7 @@ LaplaceProblem<dim>::output_gpl(const DoFHandler<dim> &dof,
       MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> > (
         dof.begin_mg(l), dof.end_mg(l),
         dof_info, info_box,
-        std_cxx11::bind(&OutputCreator<dim>::cell, &matrix_integrator, std_cxx11::_1, std_cxx11::_2),
+        std::bind(&OutputCreator<dim>::cell, &matrix_integrator, std::placeholders::_1, std::placeholders::_2),
         0,
         0,
         assembler);
index fae5912959917967d2c68b0e72afe10641225613..859aa4b1eacd1ee487cd16ef067d657740d48a41 100644 (file)
@@ -59,8 +59,8 @@
 #include <deal.II/multigrid/mg_matrix.h>
 
 #include <fstream>
+#include <functional>
 #include <sstream>
-#include <deal.II/base/std_cxx11/bind.h>
 
 using namespace dealii;
 
@@ -313,7 +313,7 @@ LaplaceProblem<dim>::output_gpl(const DoFHandler<dim> &dof,
       MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> > (
         dof.begin_mg(l), dof.end_mg(l),
         dof_info, info_box,
-        std_cxx11::bind(&OutputCreator<dim>::cell, &matrix_integrator, std_cxx11::_1, std_cxx11::_2),
+        std::bind(&OutputCreator<dim>::cell, &matrix_integrator, std::placeholders::_1, std::placeholders::_2),
         0,
         0,
         assembler);
index b5a9a5b1b1bad9bffcc629585034fa4ae2e6cd89..54a4c07cc00ea1dfacd5b95cb2facc88669956be 100644 (file)
@@ -259,9 +259,9 @@ void LaplaceProblem<dim>::setup_system ()
   constraints.close ();
 
   graph = GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
-                                             static_cast<std_cxx11::function<std::vector<types::global_dof_index>
+                                             static_cast<std::function<std::vector<types::global_dof_index>
                                              (typename hp::DoFHandler<dim>::active_cell_iterator const &)> >
-                                             (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
+                                             (std::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std::placeholders::_1)));
 
 
   DynamicSparsityPattern csp (dof_handler.n_dofs(),
@@ -362,16 +362,16 @@ void LaplaceProblem<dim>::assemble_test ()
 
   WorkStream::
   run (graph,
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        local_assemble,
-                        this,
-                        std_cxx11::_1,
-                        std_cxx11::_2,
-                        std_cxx11::_3),
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        copy_local_to_global,
-                        this,
-                        std_cxx11::_1),
+       std::bind (&LaplaceProblem<dim>::
+                  local_assemble,
+                  this,
+                  std::placeholders::_1,
+                  std::placeholders::_2,
+                  std::placeholders::_3),
+       std::bind (&LaplaceProblem<dim>::
+                  copy_local_to_global,
+                  this,
+                  std::placeholders::_1),
        Assembly::Scratch::Data<dim>(fe_collection, quadrature_collection),
        Assembly::Copy::Data ());
 
index b84a0bf28b8284158b5fe2f55ce302ab9355d2ff..ddacd2bcb32429906c60d6a53f1bfb9022a8dfc0 100644 (file)
@@ -277,9 +277,9 @@ void LaplaceProblem<dim>::setup_system ()
   constraints.close ();
 
   graph = GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
-                                             static_cast<std_cxx11::function<std::vector<types::global_dof_index>
+                                             static_cast<std::function<std::vector<types::global_dof_index>
                                              (typename hp::DoFHandler<dim>::active_cell_iterator const &)> >
-                                             (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
+                                             (std::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std::placeholders::_1)));
 
 
   DynamicSparsityPattern csp (dof_handler.n_dofs(),
@@ -388,16 +388,16 @@ void LaplaceProblem<dim>::assemble_test_1 ()
 
   WorkStream::
   run (graph,
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        local_assemble,
-                        this,
-                        std_cxx11::_1,
-                        std_cxx11::_2,
-                        std_cxx11::_3),
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        copy_local_to_global,
-                        this,
-                        std_cxx11::_1),
+       std::bind (&LaplaceProblem<dim>::
+                  local_assemble,
+                  this,
+                  std::placeholders::_1,
+                  std::placeholders::_2,
+                  std::placeholders::_3),
+       std::bind (&LaplaceProblem<dim>::
+                  copy_local_to_global,
+                  this,
+                  std::placeholders::_1),
        Assembly::Scratch::Data<dim>(fe_collection, quadrature_collection),
        Assembly::Copy::Data (),
        MultithreadInfo::n_threads(),
@@ -413,16 +413,16 @@ void LaplaceProblem<dim>::assemble_test_2 ()
 
   WorkStream::
   run (graph,
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        local_assemble,
-                        this,
-                        std_cxx11::_1,
-                        std_cxx11::_2,
-                        std_cxx11::_3),
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        copy_local_to_global,
-                        this,
-                        std_cxx11::_1),
+       std::bind (&LaplaceProblem<dim>::
+                  local_assemble,
+                  this,
+                  std::placeholders::_1,
+                  std::placeholders::_2,
+                  std::placeholders::_3),
+       std::bind (&LaplaceProblem<dim>::
+                  copy_local_to_global,
+                  this,
+                  std::placeholders::_1),
        Assembly::Scratch::Data<dim>(fe_collection, quadrature_collection),
        Assembly::Copy::Data (true),
        2*MultithreadInfo::n_threads(),
index 8307ff3081f1ebf059eb23353d022d5439719a04..249ce6e9d10894e84dfd4c32b41bc07aaf978acc 100644 (file)
@@ -259,9 +259,9 @@ void LaplaceProblem<dim>::setup_system ()
   constraints.close ();
 
   graph = GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
-                                             static_cast<std_cxx11::function<std::vector<types::global_dof_index>
+                                             static_cast<std::function<std::vector<types::global_dof_index>
                                              (typename hp::DoFHandler<dim>::active_cell_iterator const &)> >
-                                             (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
+                                             (std::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std::placeholders::_1)));
 
 
   BlockDynamicSparsityPattern csp (2, 2);
@@ -366,16 +366,16 @@ void LaplaceProblem<dim>::assemble_test ()
 
   WorkStream::
   run (graph,
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        local_assemble,
-                        this,
-                        std_cxx11::_1,
-                        std_cxx11::_2,
-                        std_cxx11::_3),
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        copy_local_to_global,
-                        this,
-                        std_cxx11::_1),
+       std::bind (&LaplaceProblem<dim>::
+                  local_assemble,
+                  this,
+                  std::placeholders::_1,
+                  std::placeholders::_2,
+                  std::placeholders::_3),
+       std::bind (&LaplaceProblem<dim>::
+                  copy_local_to_global,
+                  this,
+                  std::placeholders::_1),
        Assembly::Scratch::Data<dim>(fe_collection, quadrature_collection),
        Assembly::Copy::Data ());
 
index 90814166cf7365a850be9e58a3a0d3d08c44e575..a3ff2b55ee013e16bad6dd1b86c97b96fcab52ef 100644 (file)
@@ -289,9 +289,9 @@ void LaplaceProblem<dim>::setup_system ()
   constraints.close ();
 
   graph = GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
-                                             static_cast<std_cxx11::function<std::vector<types::global_dof_index>
+                                             static_cast<std::function<std::vector<types::global_dof_index>
                                              (typename hp::DoFHandler<dim>::active_cell_iterator const &)> >
-                                             (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
+                                             (std::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std::placeholders::_1)));
 
 
   DynamicSparsityPattern csp (dof_handler.n_dofs(),
@@ -416,16 +416,16 @@ void LaplaceProblem<dim>::assemble_test_1 ()
 
   WorkStream::
   run (graph,
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        local_assemble,
-                        this,
-                        std_cxx11::_1,
-                        std_cxx11::_2,
-                        std_cxx11::_3),
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        copy_local_to_global,
-                        this,
-                        std_cxx11::_1),
+       std::bind (&LaplaceProblem<dim>::
+                  local_assemble,
+                  this,
+                  std::placeholders::_1,
+                  std::placeholders::_2,
+                  std::placeholders::_3),
+       std::bind (&LaplaceProblem<dim>::
+                  copy_local_to_global,
+                  this,
+                  std::placeholders::_1),
        Assembly::Scratch::Data<dim>(fe_collection, quadrature_collection),
        Assembly::Copy::Data (1),
        2*MultithreadInfo::n_threads(),
@@ -447,16 +447,16 @@ void LaplaceProblem<dim>::assemble_test_2 ()
 
   WorkStream::
   run (graph,
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        local_assemble,
-                        this,
-                        std_cxx11::_1,
-                        std_cxx11::_2,
-                        std_cxx11::_3),
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        copy_local_to_global,
-                        this,
-                        std_cxx11::_1),
+       std::bind (&LaplaceProblem<dim>::
+                  local_assemble,
+                  this,
+                  std::placeholders::_1,
+                  std::placeholders::_2,
+                  std::placeholders::_3),
+       std::bind (&LaplaceProblem<dim>::
+                  copy_local_to_global,
+                  this,
+                  std::placeholders::_1),
        Assembly::Scratch::Data<dim>(fe_collection, quadrature_collection),
        Assembly::Copy::Data (2),
        2*MultithreadInfo::n_threads(),
index d7aad9a624149d0f7ca2fcd4711d43ae3e493691..5bcadd0a1eb23ddfa036f4a8fbff82d02db6208b 100644 (file)
@@ -47,16 +47,16 @@ public:
     return DataOut<dim>::get_dataset_names();
   }
 
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> >
   get_vector_data_ranges () const
   {
     // if we have enough components for a
     // vector solution, make the last dim
     // components a vector
-    std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+    std::vector<std::tuple<unsigned int, unsigned int, std::string> >
     retval;
     if (get_dataset_names().size() >= dim)
-      retval.push_back (std_cxx11::tuple
+      retval.push_back (std::tuple
                         <unsigned int, unsigned int, std::string>
                         (get_dataset_names().size()-dim,
                          get_dataset_names().size()-1,
@@ -83,7 +83,7 @@ public:
     return DataOutReader<dim>::get_dataset_names();
   }
 
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> >
   get_vector_data_ranges () const
   {
     return DataOutReader<dim>::get_vector_data_ranges ();
@@ -134,23 +134,23 @@ check_this (const DoFHandler<dim> &dof_handler,
           ExcInternalError());
   for (unsigned int i=0; i<data_out.get_vector_data_ranges().size(); ++i)
     {
-      deallog << std_cxx11::get<0>(data_out.get_vector_data_ranges()[i])
+      deallog << std::get<0>(data_out.get_vector_data_ranges()[i])
               << ' '
-              << std_cxx11::get<1>(data_out.get_vector_data_ranges()[i])
+              << std::get<1>(data_out.get_vector_data_ranges()[i])
               << ' '
-              << std_cxx11::get<2>(data_out.get_vector_data_ranges()[i])
+              << std::get<2>(data_out.get_vector_data_ranges()[i])
               << std::endl;
-      Assert (std_cxx11::get<0>(data_out.get_vector_data_ranges()[i])
+      Assert (std::get<0>(data_out.get_vector_data_ranges()[i])
               ==
-              std_cxx11::get<0>(reader.get_vector_data_ranges()[i]),
+              std::get<0>(reader.get_vector_data_ranges()[i]),
               ExcInternalError());
-      Assert (std_cxx11::get<1>(data_out.get_vector_data_ranges()[i])
+      Assert (std::get<1>(data_out.get_vector_data_ranges()[i])
               ==
-              std_cxx11::get<1>(reader.get_vector_data_ranges()[i]),
+              std::get<1>(reader.get_vector_data_ranges()[i]),
               ExcInternalError());
-      Assert (std_cxx11::get<2>(data_out.get_vector_data_ranges()[i])
+      Assert (std::get<2>(data_out.get_vector_data_ranges()[i])
               ==
-              std_cxx11::get<2>(reader.get_vector_data_ranges()[i]),
+              std::get<2>(reader.get_vector_data_ranges()[i]),
               ExcInternalError());
     }
 
index b05ca804941b7bcc8b5a75e5c8cad235967e9037..de9be1a8da07079c3a449542d6d82b0db9005811 100644 (file)
@@ -47,7 +47,7 @@ public:
     return DataOutFaces<dim>::get_dataset_names();
   }
 
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> >
   get_vector_data_ranges () const
   {
     return DataOutFaces<dim>::get_vector_data_ranges ();
@@ -72,7 +72,7 @@ public:
     return DataOutReader<dim-1,dim>::get_dataset_names();
   }
 
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> >
   get_vector_data_ranges () const
   {
     return DataOutReader<dim-1,dim>::get_vector_data_ranges ();
@@ -135,23 +135,23 @@ my_check_this (const DoFHandler<dim> &dof_handler,
           ExcInternalError());
   for (unsigned int i=0; i<data_out.get_vector_data_ranges().size(); ++i)
     {
-      deallog << std_cxx11::get<0>(data_out.get_vector_data_ranges()[i])
+      deallog << std::get<0>(data_out.get_vector_data_ranges()[i])
               << ' '
-              << std_cxx11::get<1>(data_out.get_vector_data_ranges()[i])
+              << std::get<1>(data_out.get_vector_data_ranges()[i])
               << ' '
-              << std_cxx11::get<2>(data_out.get_vector_data_ranges()[i])
+              << std::get<2>(data_out.get_vector_data_ranges()[i])
               << std::endl;
-      Assert (std_cxx11::get<0>(data_out.get_vector_data_ranges()[i])
+      Assert (std::get<0>(data_out.get_vector_data_ranges()[i])
               ==
-              std_cxx11::get<0>(reader.get_vector_data_ranges()[i]),
+              std::get<0>(reader.get_vector_data_ranges()[i]),
               ExcInternalError());
-      Assert (std_cxx11::get<1>(data_out.get_vector_data_ranges()[i])
+      Assert (std::get<1>(data_out.get_vector_data_ranges()[i])
               ==
-              std_cxx11::get<1>(reader.get_vector_data_ranges()[i]),
+              std::get<1>(reader.get_vector_data_ranges()[i]),
               ExcInternalError());
-      Assert (std_cxx11::get<2>(data_out.get_vector_data_ranges()[i])
+      Assert (std::get<2>(data_out.get_vector_data_ranges()[i])
               ==
-              std_cxx11::get<2>(reader.get_vector_data_ranges()[i]),
+              std::get<2>(reader.get_vector_data_ranges()[i]),
               ExcInternalError());
     }
 
index 5f48cdab4b94bdc3167ebb9f20a9e3a06a99c8f3..814b002bdfe70572f49e243c5beb17e5cffe9ecc 100644 (file)
@@ -47,7 +47,7 @@ public:
     return DataOutRotation<dim>::get_dataset_names();
   }
 
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> >
   get_vector_data_ranges () const
   {
     return DataOutRotation<dim>::get_vector_data_ranges ();
@@ -72,7 +72,7 @@ public:
     return DataOutReader<dim+1>::get_dataset_names();
   }
 
-  std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
+  std::vector<std::tuple<unsigned int, unsigned int, std::string> >
   get_vector_data_ranges () const
   {
     return DataOutReader<dim+1>::get_vector_data_ranges ();
@@ -136,23 +136,23 @@ my_check_this (const DoFHandler<dim> &dof_handler,
           ExcInternalError());
   for (unsigned int i=0; i<data_out.get_vector_data_ranges().size(); ++i)
     {
-      deallog << std_cxx11::get<0>(data_out.get_vector_data_ranges()[i])
+      deallog << std::get<0>(data_out.get_vector_data_ranges()[i])
               << ' '
-              << std_cxx11::get<1>(data_out.get_vector_data_ranges()[i])
+              << std::get<1>(data_out.get_vector_data_ranges()[i])
               << ' '
-              << std_cxx11::get<2>(data_out.get_vector_data_ranges()[i])
+              << std::get<2>(data_out.get_vector_data_ranges()[i])
               << std::endl;
-      Assert (std_cxx11::get<0>(data_out.get_vector_data_ranges()[i])
+      Assert (std::get<0>(data_out.get_vector_data_ranges()[i])
               ==
-              std_cxx11::get<0>(reader.get_vector_data_ranges()[i]),
+              std::get<0>(reader.get_vector_data_ranges()[i]),
               ExcInternalError());
-      Assert (std_cxx11::get<1>(data_out.get_vector_data_ranges()[i])
+      Assert (std::get<1>(data_out.get_vector_data_ranges()[i])
               ==
-              std_cxx11::get<1>(reader.get_vector_data_ranges()[i]),
+              std::get<1>(reader.get_vector_data_ranges()[i]),
               ExcInternalError());
-      Assert (std_cxx11::get<2>(data_out.get_vector_data_ranges()[i])
+      Assert (std::get<2>(data_out.get_vector_data_ranges()[i])
               ==
-              std_cxx11::get<2>(reader.get_vector_data_ranges()[i]),
+              std::get<2>(reader.get_vector_data_ranges()[i]),
               ExcInternalError());
     }
 
index 20cb58f86a89bb5601ddb27c66741edd5c874607..79c1ec6143bb24d86887433189c6912931b88b9a 100644 (file)
@@ -119,7 +119,7 @@ void do_project (const parallel::distributed::Triangulation<dim> &triangulation,
   typename MatrixFree<dim,double>::AdditionalData additional_data;
   additional_data.tasks_parallel_scheme = MatrixFree<dim,double>::AdditionalData::partition_color;
   additional_data.mapping_update_flags = update_values | update_JxW_values | update_quadrature_points;
-  std_cxx11::shared_ptr<MatrixFree<dim,double> >  data(new MatrixFree<dim,double> ());
+  std::shared_ptr<MatrixFree<dim,double> >  data(new MatrixFree<dim,double> ());
   data->reinit (dof_handler, constraints, quadrature_formula_1d, additional_data);
 
   for (unsigned int q=0; q<=p; ++q)
index 2b83fc47063c2714bf9c45a9154de9d8e3b5e75e..9b63ab01cabf76212b586dd90e62eb24d1b7f399 100644 (file)
@@ -69,13 +69,13 @@ int main ()
   TopoDS_Shape sh;
   for (unsigned int i=0; i<points.size(); ++i)
     {
-      std_cxx11::tuple<Point<3>, TopoDS_Shape, double, double> ref =
+      std::tuple<Point<3>, TopoDS_Shape, double, double> ref =
         project_point_and_pull_back(edge, points[i]);
 
-      Point<3> pp = std_cxx11::get<0>(ref);
-      sh = std_cxx11::get<1>(ref);
-      u = std_cxx11::get<2>(ref);
-      v = std_cxx11::get<3>(ref);
+      Point<3> pp = std::get<0>(ref);
+      sh = std::get<1>(ref);
+      u = std::get<2>(ref);
+      v = std::get<3>(ref);
 
       deallog << "Origin: " << points[i]
               << ", on unit circle: " << pp
index 3df71be04dd0c7377e519cb523953fd705624f51..26d44968264a7ee91becd07fa0bb2ab8eb1972fb 100644 (file)
@@ -35,15 +35,15 @@ int main ()
 
   extract_geometrical_shapes(sh, faces, edges, vertices);
 
-  std_cxx11::tuple<unsigned int, unsigned int, unsigned int>
+  std::tuple<unsigned int, unsigned int, unsigned int>
   n = count_elements(sh);
-  unsigned int nf=std_cxx11::get<0>(n);
-  unsigned int ne=std_cxx11::get<1>(n);
-  unsigned int nv=std_cxx11::get<2>(n);
+  unsigned int nf=std::get<0>(n);
+  unsigned int ne=std::get<1>(n);
+  unsigned int nv=std::get<2>(n);
 
-  deallog << "Shape contains " << std_cxx11::get<0>(n) << " faces, "
-          << std_cxx11::get<1>(n) << " edges, and "
-          << std_cxx11::get<2>(n) << " vertices." << std::endl;
+  deallog << "Shape contains " << std::get<0>(n) << " faces, "
+          << std::get<1>(n) << " edges, and "
+          << std::get<2>(n) << " vertices." << std::endl;
 
   if (nf != faces.size())
     deallog << "Error!" << std::endl;
index ee0c59e8aec06a12e1b28944623523762536f782..fac3eba362da795cf57fc1ed4fcdb307aef3ed80 100644 (file)
@@ -35,15 +35,15 @@ int main ()
 
   extract_geometrical_shapes(sh, faces, edges, vertices);
 
-  std_cxx11::tuple<unsigned int, unsigned int, unsigned int>
+  std::tuple<unsigned int, unsigned int, unsigned int>
   n = count_elements(sh);
-  unsigned int nf=std_cxx11::get<0>(n);
-  unsigned int ne=std_cxx11::get<1>(n);
-  unsigned int nv=std_cxx11::get<2>(n);
+  unsigned int nf=std::get<0>(n);
+  unsigned int ne=std::get<1>(n);
+  unsigned int nv=std::get<2>(n);
 
-  deallog << "Shape contains " << std_cxx11::get<0>(n) << " faces, "
-          << std_cxx11::get<1>(n) << " edges, and "
-          << std_cxx11::get<2>(n) << " vertices." << std::endl;
+  deallog << "Shape contains " << std::get<0>(n) << " faces, "
+          << std::get<1>(n) << " edges, and "
+          << std::get<2>(n) << " vertices." << std::endl;
 
   if (nf != faces.size())
     deallog << "Error!" << std::endl;
index 22b7fc8e82ff5357a9fbaa0540405a60fc279c38..03b6cfb64bc97aefd5c6efe3b80dea6191983044 100644 (file)
@@ -178,9 +178,9 @@ void test ()
 
       // check std::transform
       std::transform (v1.begin(), v1.end(), v2.begin(),
-                      std_cxx11::bind (std::multiplies<double>(),
-                                       std_cxx11::_1,
-                                       2.0));
+                      std::bind (std::multiplies<double>(),
+                                 std::placeholders::_1,
+                                 2.0));
       v2 *= 1./2.;
       deallog << "Check 7: " << (v1 == v2 ? "true" : "false") << std::endl;
 
index 6e2f046299f9df8aba30b452ca615fd9f6732247..dcfe7a469fc3693c9e4751f4be036bf3e534b6e2 100644 (file)
@@ -644,7 +644,7 @@ namespace Step44
       return Jc;
     }
   private:
-    std_cxx11::shared_ptr< Material_Compressible_Neo_Hook_Three_Field<dim> > material;
+    std::shared_ptr< Material_Compressible_Neo_Hook_Three_Field<dim> > material;
     Tensor<2, dim> F_inv;
     SymmetricTensor<2, dim> tau;
     double                  d2Psi_vol_dJ2;
@@ -1453,14 +1453,14 @@ namespace Step44
     ScratchData_K scratch_data(fe, qf_cell, uf_cell);
     WorkStream::run(dof_handler_ref.begin_active(),
                     dof_handler_ref.end(),
-                    std_cxx11::bind(&Solid<dim>::assemble_system_tangent_one_cell,
-                                    this,
-                                    std_cxx11::_1,
-                                    std_cxx11::_2,
-                                    std_cxx11::_3),
-                    std_cxx11::bind(&Solid<dim>::copy_local_to_global_K,
-                                    this,
-                                    std_cxx11::_1),
+                    std::bind(&Solid<dim>::assemble_system_tangent_one_cell,
+                              this,
+                              std::placeholders::_1,
+                              std::placeholders::_2,
+                              std::placeholders::_3),
+                    std::bind(&Solid<dim>::copy_local_to_global_K,
+                              this,
+                              std::placeholders::_1),
                     scratch_data,
                     per_task_data);
     timer.leave_subsection();
@@ -1575,14 +1575,14 @@ namespace Step44
     ScratchData_RHS scratch_data(fe, qf_cell, uf_cell, qf_face, uf_face);
     WorkStream::run(dof_handler_ref.begin_active(),
                     dof_handler_ref.end(),
-                    std_cxx11::bind(&Solid<dim>::assemble_system_rhs_one_cell,
-                                    this,
-                                    std_cxx11::_1,
-                                    std_cxx11::_2,
-                                    std_cxx11::_3),
-                    std_cxx11::bind(&Solid<dim>::copy_local_to_global_rhs,
-                                    this,
-                                    std_cxx11::_1),
+                    std::bind(&Solid<dim>::assemble_system_rhs_one_cell,
+                              this,
+                              std::placeholders::_1,
+                              std::placeholders::_2,
+                              std::placeholders::_3),
+                    std::bind(&Solid<dim>::copy_local_to_global_rhs,
+                              this,
+                              std::placeholders::_1),
                     scratch_data,
                     per_task_data);
     timer.leave_subsection();
index 82751984948b5db256197c46479049002c6962e7..bce610dae362ea7299848e640d33171a36249abe 100644 (file)
@@ -530,7 +530,7 @@ namespace Step44
       return Jc;
     }
   private:
-    std_cxx11::shared_ptr< Material_Compressible_Neo_Hook_Three_Field<dim> > material;
+    std::shared_ptr< Material_Compressible_Neo_Hook_Three_Field<dim> > material;
     Tensor<2, dim> F_inv;
     SymmetricTensor<2, dim> tau;
     double                  d2Psi_vol_dJ2;
@@ -1339,14 +1339,14 @@ namespace Step44
     ScratchData_K scratch_data(fe, qf_cell, uf_cell);
     WorkStream::run(dof_handler_ref.begin_active(),
                     dof_handler_ref.end(),
-                    std_cxx11::bind(&Solid<dim>::assemble_system_tangent_one_cell,
-                                    this,
-                                    std_cxx11::_1,
-                                    std_cxx11::_2,
-                                    std_cxx11::_3),
-                    std_cxx11::bind(&Solid<dim>::copy_local_to_global_K,
-                                    this,
-                                    std_cxx11::_1),
+                    std::bind(&Solid<dim>::assemble_system_tangent_one_cell,
+                              this,
+                              std::placeholders::_1,
+                              std::placeholders::_2,
+                              std::placeholders::_3),
+                    std::bind(&Solid<dim>::copy_local_to_global_K,
+                              this,
+                              std::placeholders::_1),
                     scratch_data,
                     per_task_data);
     timer.leave_subsection();
@@ -1461,14 +1461,14 @@ namespace Step44
     ScratchData_RHS scratch_data(fe, qf_cell, uf_cell, qf_face, uf_face);
     WorkStream::run(dof_handler_ref.begin_active(),
                     dof_handler_ref.end(),
-                    std_cxx11::bind(&Solid<dim>::assemble_system_rhs_one_cell,
-                                    this,
-                                    std_cxx11::_1,
-                                    std_cxx11::_2,
-                                    std_cxx11::_3),
-                    std_cxx11::bind(&Solid<dim>::copy_local_to_global_rhs,
-                                    this,
-                                    std_cxx11::_1),
+                    std::bind(&Solid<dim>::assemble_system_rhs_one_cell,
+                              this,
+                              std::placeholders::_1,
+                              std::placeholders::_2,
+                              std::placeholders::_3),
+                    std::bind(&Solid<dim>::copy_local_to_global_rhs,
+                              this,
+                              std::placeholders::_1),
                     scratch_data,
                     per_task_data);
     timer.leave_subsection();
index 97a6a0f19989276aa707bed26cfac6c198f8bbf2..b187c89887b08b16a395acea353823fb402edb02 100644 (file)
@@ -547,7 +547,7 @@ namespace Step44
       return Jc;
     }
   private:
-    std_cxx11::shared_ptr< Material_Compressible_Neo_Hook_Three_Field<dim> > material;
+    std::shared_ptr< Material_Compressible_Neo_Hook_Three_Field<dim> > material;
     Tensor<2, dim> F_inv;
     SymmetricTensor<2, dim> tau;
     double                  d2Psi_vol_dJ2;
@@ -1356,14 +1356,14 @@ namespace Step44
     ScratchData_K scratch_data(fe, qf_cell, uf_cell);
     WorkStream::run(dof_handler_ref.begin_active(),
                     dof_handler_ref.end(),
-                    std_cxx11::bind(&Solid<dim>::assemble_system_tangent_one_cell,
-                                    this,
-                                    std_cxx11::_1,
-                                    std_cxx11::_2,
-                                    std_cxx11::_3),
-                    std_cxx11::bind(&Solid<dim>::copy_local_to_global_K,
-                                    this,
-                                    std_cxx11::_1),
+                    std::bind(&Solid<dim>::assemble_system_tangent_one_cell,
+                              this,
+                              std::placeholders::_1,
+                              std::placeholders::_2,
+                              std::placeholders::_3),
+                    std::bind(&Solid<dim>::copy_local_to_global_K,
+                              this,
+                              std::placeholders::_1),
                     scratch_data,
                     per_task_data);
     timer.leave_subsection();
@@ -1478,14 +1478,14 @@ namespace Step44
     ScratchData_RHS scratch_data(fe, qf_cell, uf_cell, qf_face, uf_face);
     WorkStream::run(dof_handler_ref.begin_active(),
                     dof_handler_ref.end(),
-                    std_cxx11::bind(&Solid<dim>::assemble_system_rhs_one_cell,
-                                    this,
-                                    std_cxx11::_1,
-                                    std_cxx11::_2,
-                                    std_cxx11::_3),
-                    std_cxx11::bind(&Solid<dim>::copy_local_to_global_rhs,
-                                    this,
-                                    std_cxx11::_1),
+                    std::bind(&Solid<dim>::assemble_system_rhs_one_cell,
+                              this,
+                              std::placeholders::_1,
+                              std::placeholders::_2,
+                              std::placeholders::_3),
+                    std::bind(&Solid<dim>::copy_local_to_global_rhs,
+                              this,
+                              std::placeholders::_1),
                     scratch_data,
                     per_task_data);
     timer.leave_subsection();
index 7eacc440a287376751c2fb8fab9071aefdf78c81..1ac87d1b3a49475f477a68224cd797f8e6c68ea8 100644 (file)
@@ -68,9 +68,9 @@ void test2()
   WorkStream::run(v.begin(),
                   v.end(),
                   &assemble,
-                  std_cxx11::bind(&copy,
-                                  std_cxx11::ref(result),
-                                  std_cxx11::_1),
+                  std::bind(&copy,
+                            std::ref(result),
+                            std::placeholders::_1),
                   scratch_data(), copy_data());
   std::cout << "result: " << result << std::endl;
 
index 1c08194384391bc5e8d856b790843b1ededd0c12..ac9df076ca621b3f0f0359fa5c513955bc593289 100644 (file)
@@ -254,9 +254,9 @@ void LaplaceProblem<dim>::setup_system ()
   constraints.close ();
 
   graph = GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
-                                             static_cast<std_cxx11::function<std::vector<types::global_dof_index>
+                                             static_cast<std::function<std::vector<types::global_dof_index>
                                              (typename hp::DoFHandler<dim>::active_cell_iterator const &)> >
-                                             (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
+                                             (std::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std::placeholders::_1)));
 
 
   DynamicSparsityPattern csp (dof_handler.n_dofs(),
@@ -357,16 +357,16 @@ void LaplaceProblem<dim>::assemble_test ()
 
   WorkStream::
   run (graph,
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        local_assemble,
-                        this,
-                        std_cxx11::_1,
-                        std_cxx11::_2,
-                        std_cxx11::_3),
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        copy_local_to_global,
-                        this,
-                        std_cxx11::_1),
+       std::bind (&LaplaceProblem<dim>::
+                  local_assemble,
+                  this,
+                  std::placeholders::_1,
+                  std::placeholders::_2,
+                  std::placeholders::_3),
+       std::bind (&LaplaceProblem<dim>::
+                  copy_local_to_global,
+                  this,
+                  std::placeholders::_1),
        Assembly::Scratch::Data<dim>(fe_collection, quadrature_collection),
        Assembly::Copy::Data (),
        2*MultithreadInfo::n_threads(),
index 003bf076237c2006a4d08eba82c2aade2cc0cd12..4d51e9c3c9932f5a811c108a0c094e8fd06bedf3 100644 (file)
@@ -247,9 +247,9 @@ void LaplaceProblem<dim>::setup_system ()
   CellFilter begin(IteratorFilters::LocallyOwnedCell(),dof_handler.begin_active());
   CellFilter end(IteratorFilters::LocallyOwnedCell(),dof_handler.end());
   graph = GraphColoring::make_graph_coloring(begin,end,
-                                             static_cast<std_cxx11::function<std::vector<types::global_dof_index>
+                                             static_cast<std::function<std::vector<types::global_dof_index>
                                              (FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> const &)> >
-                                             (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
+                                             (std::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std::placeholders::_1)));
 
   IndexSet locally_owned = dof_handler.locally_owned_dofs();
   {
@@ -366,16 +366,16 @@ void LaplaceProblem<dim>::assemble_test ()
 
   WorkStream::
   run (graph,
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        local_assemble,
-                        this,
-                        std_cxx11::_1,
-                        std_cxx11::_2,
-                        std_cxx11::_3),
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        copy_local_to_global,
-                        this,
-                        std_cxx11::_1),
+       std::bind (&LaplaceProblem<dim>::
+                  local_assemble,
+                  this,
+                  std::placeholders::_1,
+                  std::placeholders::_2,
+                  std::placeholders::_3),
+       std::bind (&LaplaceProblem<dim>::
+                  copy_local_to_global,
+                  this,
+                  std::placeholders::_1),
        Assembly::Scratch::Data<dim>(fe, quadrature),
        Assembly::Copy::Data (false),
        2*MultithreadInfo::n_threads(),
index d5ced76a453826f1aea1b3689d830145cf38cdb4..318f6213b81442b272e3fc6fc07e31cdde7e6016 100644 (file)
@@ -248,9 +248,9 @@ void LaplaceProblem<dim>::setup_system ()
   CellFilter begin(IteratorFilters::LocallyOwnedCell(),dof_handler.begin_active());
   CellFilter end(IteratorFilters::LocallyOwnedCell(),dof_handler.end());
   graph = GraphColoring::make_graph_coloring(begin,end,
-                                             static_cast<std_cxx11::function<std::vector<types::global_dof_index>
+                                             static_cast<std::function<std::vector<types::global_dof_index>
                                              (FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> const &)> >
-                                             (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
+                                             (std::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std::placeholders::_1)));
 
   IndexSet locally_owned = dof_handler.locally_owned_dofs();
   {
@@ -367,16 +367,16 @@ void LaplaceProblem<dim>::assemble_test ()
 
   WorkStream::
   run (graph,
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        local_assemble,
-                        this,
-                        std_cxx11::_1,
-                        std_cxx11::_2,
-                        std_cxx11::_3),
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        copy_local_to_global,
-                        this,
-                        std_cxx11::_1),
+       std::bind (&LaplaceProblem<dim>::
+                  local_assemble,
+                  this,
+                  std::placeholders::_1,
+                  std::placeholders::_2,
+                  std::placeholders::_3),
+       std::bind (&LaplaceProblem<dim>::
+                  copy_local_to_global,
+                  this,
+                  std::placeholders::_1),
        Assembly::Scratch::Data<dim>(fe, quadrature),
        Assembly::Copy::Data (false),
        2*MultithreadInfo::n_threads(),
index e733e4af40d6d69bbd07d38e02e2b5ac95eec0e3..a10cecc7790a426e28dc6f55a7d236f0f25fa49f 100644 (file)
@@ -252,9 +252,9 @@ void LaplaceProblem<dim>::setup_system ()
   CellFilter begin(IteratorFilters::LocallyOwnedCell(),dof_handler.begin_active());
   CellFilter end(IteratorFilters::LocallyOwnedCell(),dof_handler.end());
   graph = GraphColoring::make_graph_coloring(begin,end,
-                                             static_cast<std_cxx11::function<std::vector<types::global_dof_index>
+                                             static_cast<std::function<std::vector<types::global_dof_index>
                                              (FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> const &)> >
-                                             (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
+                                             (std::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std::placeholders::_1)));
 
   TrilinosWrappers::BlockSparsityPattern csp(2,2);
   std::vector<IndexSet> locally_owned(2), relevant_set(2);
@@ -382,16 +382,16 @@ void LaplaceProblem<dim>::assemble_test ()
 
   WorkStream::
   run (graph,
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        local_assemble,
-                        this,
-                        std_cxx11::_1,
-                        std_cxx11::_2,
-                        std_cxx11::_3),
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        copy_local_to_global,
-                        this,
-                        std_cxx11::_1),
+       std::bind (&LaplaceProblem<dim>::
+                  local_assemble,
+                  this,
+                  std::placeholders::_1,
+                  std::placeholders::_2,
+                  std::placeholders::_3),
+       std::bind (&LaplaceProblem<dim>::
+                  copy_local_to_global,
+                  this,
+                  std::placeholders::_1),
        Assembly::Scratch::Data<dim>(fe, quadrature),
        Assembly::Copy::Data (false),
        2*MultithreadInfo::n_threads(),
index 0fcf5e33d6f8cad663a7cb76aceaa286d332f6a1..4d3e712c922771369aca83503b2e7f53137f9cac 100644 (file)
@@ -250,9 +250,9 @@ void LaplaceProblem<dim>::setup_system ()
   CellFilter begin(IteratorFilters::LocallyOwnedCell(),dof_handler.begin_active());
   CellFilter end(IteratorFilters::LocallyOwnedCell(),dof_handler.end());
   graph = GraphColoring::make_graph_coloring(begin,end,
-                                             static_cast<std_cxx11::function<std::vector<types::global_dof_index>
+                                             static_cast<std::function<std::vector<types::global_dof_index>
                                              (FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> const &)> >
-                                             (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
+                                             (std::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std::placeholders::_1)));
 
   IndexSet locally_owned = dof_handler.locally_owned_dofs();
   {
@@ -368,16 +368,16 @@ void LaplaceProblem<dim>::assemble_test ()
 
   WorkStream::
   run (graph,
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        local_assemble,
-                        this,
-                        std_cxx11::_1,
-                        std_cxx11::_2,
-                        std_cxx11::_3),
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        copy_local_to_global,
-                        this,
-                        std_cxx11::_1),
+       std::bind (&LaplaceProblem<dim>::
+                  local_assemble,
+                  this,
+                  std::placeholders::_1,
+                  std::placeholders::_2,
+                  std::placeholders::_3),
+       std::bind (&LaplaceProblem<dim>::
+                  copy_local_to_global,
+                  this,
+                  std::placeholders::_1),
        Assembly::Scratch::Data<dim>(fe, quadrature),
        Assembly::Copy::Data (false),
        2*MultithreadInfo::n_threads(),
index 4e5e002b11e77a445eef8de9900eae42967f91c5..20d95e87180e020e1ce3349aeb1a51894551da77 100644 (file)
@@ -254,9 +254,9 @@ void LaplaceProblem<dim>::setup_system ()
   CellFilter begin(IteratorFilters::LocallyOwnedCell(),dof_handler.begin_active());
   CellFilter end(IteratorFilters::LocallyOwnedCell(),dof_handler.end());
   graph = GraphColoring::make_graph_coloring(begin,end,
-                                             static_cast<std_cxx11::function<std::vector<types::global_dof_index>
+                                             static_cast<std::function<std::vector<types::global_dof_index>
                                              (FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> const &)> >
-                                             (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
+                                             (std::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std::placeholders::_1)));
 
   TrilinosWrappers::BlockSparsityPattern csp(2,2);
   std::vector<IndexSet> locally_owned(2), relevant_set(2);
@@ -383,16 +383,16 @@ void LaplaceProblem<dim>::assemble_test ()
 
   WorkStream::
   run (graph,
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        local_assemble,
-                        this,
-                        std_cxx11::_1,
-                        std_cxx11::_2,
-                        std_cxx11::_3),
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        copy_local_to_global,
-                        this,
-                        std_cxx11::_1),
+       std::bind (&LaplaceProblem<dim>::
+                  local_assemble,
+                  this,
+                  std::placeholders::_1,
+                  std::placeholders::_2,
+                  std::placeholders::_3),
+       std::bind (&LaplaceProblem<dim>::
+                  copy_local_to_global,
+                  this,
+                  std::placeholders::_1),
        Assembly::Scratch::Data<dim>(fe, quadrature),
        Assembly::Copy::Data (false),
        2*MultithreadInfo::n_threads(),
index 88d92bbebf4bb817cf08687e4689774ff60aaa33..b80ed5fa036ff972213d35fb5ae263bdadb90772 100644 (file)
@@ -248,9 +248,9 @@ void LaplaceProblem<dim>::setup_system ()
   CellFilter begin(IteratorFilters::LocallyOwnedCell(),dof_handler.begin_active());
   CellFilter end(IteratorFilters::LocallyOwnedCell(),dof_handler.end());
   graph = GraphColoring::make_graph_coloring(begin,end,
-                                             static_cast<std_cxx11::function<std::vector<types::global_dof_index>
+                                             static_cast<std::function<std::vector<types::global_dof_index>
                                              (FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> const &)> >
-                                             (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
+                                             (std::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std::placeholders::_1)));
 
   IndexSet locally_owned = dof_handler.locally_owned_dofs();
   {
@@ -375,16 +375,16 @@ void LaplaceProblem<dim>::assemble_test ()
 
   WorkStream::
   run (graph,
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        local_assemble,
-                        this,
-                        std_cxx11::_1,
-                        std_cxx11::_2,
-                        std_cxx11::_3),
-       std_cxx11::bind (&LaplaceProblem<dim>::
-                        copy_local_to_global,
-                        this,
-                        std_cxx11::_1),
+       std::bind (&LaplaceProblem<dim>::
+                  local_assemble,
+                  this,
+                  std::placeholders::_1,
+                  std::placeholders::_2,
+                  std::placeholders::_3),
+       std::bind (&LaplaceProblem<dim>::
+                  copy_local_to_global,
+                  this,
+                  std::placeholders::_1),
        Assembly::Scratch::Data<dim>(fe, quadrature),
        Assembly::Copy::Data (false),
        2*MultithreadInfo::n_threads(),
index 07ab49c9781cf39a5caf0c1a8060c4dfdcf0e097..c37fbe25dc07ab0278ae42dfdf69481f744247ca 100644 (file)
@@ -179,9 +179,9 @@ void test ()
 
       // check std::transform
       std::transform (v1.begin(), v1.end(), v2.begin(),
-                      std_cxx11::bind (std::multiplies<double>(),
-                                       std_cxx11::_1,
-                                       2.0));
+                      std::bind (std::multiplies<double>(),
+                                 std::placeholders::_1,
+                                 2.0));
       v2 *= 1./2.;
       deallog << "Check 7: " << (v1 == v2 ? "true" : "false") << std::endl;
 

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.