]> https://gitweb.dealii.org/ - dealii.git/commit
Provide functions for C++11 range-based for loops. Document C++11 interaction.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 7 Aug 2014 15:56:53 +0000 (10:56 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 14 Aug 2014 13:45:28 +0000 (08:45 -0500)
commit8a88c590fbe1ea1a049ae016c597999ff549ab36
tree9767b6b9878d6798a173c652cf958acfb76aaba0
parenteec4be0488c91104c2abb48b35e2cde5986b0ea4
Provide functions for C++11 range-based for loops. Document C++11 interaction.

This commit consists of the following individual commits:

Specifically, add Triangulation::cells(), Triangulation::active_cells() and
similar for the ones on a single level.

Fix up code to make it compile.

Fix one compile error.

Also provide similar functions for the two DoFHandler classes.

Augment documentation.

Update the specification of how we implement C++11 range-based for loops.

Link to the new documentation module (still coming up).

Document C++11 features and interaction.
12 files changed:
doc/doxygen/headers/c++11.h [new file with mode: 0644]
doc/doxygen/headers/std_cxx1x.h
doc/news/changes.h
include/deal.II/base/iterator_range.h [new file with mode: 0644]
include/deal.II/dofs/dof_handler.h
include/deal.II/grid/tria.h
include/deal.II/hp/dof_handler.h
source/dofs/dof_handler.cc
source/grid/tria.cc
source/hp/dof_handler.cc
tests/deal.II/range_based_for_tria.cc [new file with mode: 0644]
tests/deal.II/range_based_for_tria.with_cxx11=true.output [new file with mode: 0644]

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.