]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Work around bugs where icc and gcc2.95 only understand mutually
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 1 May 2003 15:29:19 +0000 (15:29 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 1 May 2003 15:29:19 +0000 (15:29 +0000)
exclusive pieces of code (and both are wrong to require this friend
declaration in the first place)...

git-svn-id: https://svn.dealii.org/trunk@7528 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/filtered_iterator.h

index ce13fdf2306e4db300ded95b2c441f8a583684ac..23dc48aa366e47574d2f50bb5c34e47321532403 100644 (file)
@@ -676,9 +676,13 @@ class FilteredIterator : public BaseIterator
     const PredicateBase * predicate;
 
 #ifdef DEAL_II_NESTED_CLASS_FRIEND_BUG
+#  ifdef DEAL_II_NESTED_CLASS_TEMPL_FRIEND_BUG
+    template <typename> friend class PredicateTemplate;
+#  else
     template <typename T>
     template <typename>
     friend class FilteredIterator<T>::PredicateTemplate;
+#  endif
 #endif
 };
 

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.