]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
indicate
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 7 May 2002 06:49:09 +0000 (06:49 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 7 May 2002 06:49:09 +0000 (06:49 +0000)
      * the global scope using the
      * @p{::} in front of
      * @p{DataOutBase}, since
      * otherwise the C++ rules
      * specify that this here
      * indicates the @p{DataOutBase}
      * base class of this
      * class. Since that is a private
      * base class, we cannot access
      * its members, and so access to
      * the local @p{Patch} type would
      * be forbidden.

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

deal.II/lac/include/lac/matrix_out.h

index 74552df1b7e208903db85f9182fa7a54e6117d94..f4b74f019dea12fb28784f229e69208df2054b19 100644 (file)
@@ -199,8 +199,22 @@ class MatrixOut : public DataOutInterface<2,2>
                                      * Abbreviate the somewhat
                                      * lengthy name for the @p{Patch}
                                      * class.
+                                     *
+                                     * Note that we have to indicate
+                                     * the global scope using the
+                                     * @p{::} in front of
+                                     * @p{DataOutBase}, since
+                                     * otherwise the C++ rules
+                                     * specify that this here
+                                     * indicates the @p{DataOutBase}
+                                     * base class of this
+                                     * class. Since that is a private
+                                     * base class, we cannot access
+                                     * its members, and so access to
+                                     * the local @p{Patch} type would
+                                     * be forbidden.
                                      */
-    typedef DataOutBase::Patch<2,2> Patch;
+    typedef ::DataOutBase::Patch<2,2> Patch;
 
                                     /**
                                      * This is a list of patches that

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.