]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bring output of template class in right order:
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 14 Nov 2000 17:54:58 +0000 (17:54 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 14 Nov 2000 17:54:58 +0000 (17:54 +0000)
  template <class X> class Y;
instead of
  class Y<class X>;
The reason is that the latter leads to confusing for specialized
classes:
  class Y<int, X><class X>;
when the declaration was
  template <class X> class Y<int,X>;

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

deal.II/contrib/kdoc/src/kdocCxxHTML.pm

index ac592c4013e61d47f1570cbdfee4ff968bb09c87..dd90ff5f013368ed569121bcf5c2796ccf0c3837 100644 (file)
@@ -372,8 +372,9 @@ sub writeClassDoc
        # template form
        if ( exists $node->{Tmpl} ) {
                $extra .= tabRow( "Template form",
+                       "template "
+                       ."&lt;".textRef($node->{Tmpl}, $rootnode )."&gt; " .
                        esc($node->{astNodeName})
-                       ."&lt;".textRef($node->{Tmpl}, $rootnode )."&gt; "
                        ."</code>" );
        }
 

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.