From 489390bdcc7485090e91ded3d03777b09ee7fcb7 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 9 Jun 1998 18:30:33 +0000 Subject: [PATCH] Add typedef to iterators to get access to the Accessor type. git-svn-id: https://svn.dealii.org/trunk@392 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/grid/tria_iterator.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/deal.II/deal.II/include/grid/tria_iterator.h b/deal.II/deal.II/include/grid/tria_iterator.h index ab6bf2bee8..eb031aa225 100644 --- a/deal.II/deal.II/include/grid/tria_iterator.h +++ b/deal.II/deal.II/include/grid/tria_iterator.h @@ -237,6 +237,15 @@ template class Triangulation; template class TriaRawIterator : public bidirectional_iterator{ public: + /** + * Declare the type of the Accessor for + * use in the outside world. This way other + * functions can use the Accessor's type + * without knowledge of how the exact + * implementation actually is. + */ + typedef Accessor AccessorType; + /** * Empty constructor. Such an object * is not usable! -- 2.39.5