]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Allow [&*] in template args, for cases like
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 14 Nov 2000 18:10:27 +0000 (18:10 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 14 Nov 2000 18:10:27 +0000 (18:10 +0000)
  template <> class X<int *> {...};

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

deal.II/contrib/kdoc/src/kdoc

index 667ef7d7ec01458b0cfecddff301bb1ca8760300..0d5597e846f02eca2f84f590fbb0010b0df8144d 100755 (executable)
@@ -596,7 +596,7 @@ sub identifyDecl
        elsif ( $decl =~ /^\s*((?:template\s*<.*>)?)      # 1 template
                                        \s*(class|struct|union|namespace) # 2 struct type
                                        \s+([\w_]+                        # 3 name
-                                                       (?:<[\w_ :,]+?>)?                 # maybe explicit template
+                                                       (?:<[\w_ :,&\*]+?>)?  # maybe explicit template
                                                                        #    (eat chars between <> non-hungry)
                                                        (?:::[\w_]+)*                 #   maybe nested
                                           )

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.