From: Wolfgang Bangerth Date: Tue, 9 Jun 1998 18:30:33 +0000 (+0000) Subject: Add typedef to iterators to get access to the Accessor type. X-Git-Tag: v8.0.0~22862 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=489390bdcc7485090e91ded3d03777b09ee7fcb7;p=dealii.git 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 --- 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!