From: wolf Date: Tue, 14 Nov 2000 18:10:27 +0000 (+0000) Subject: Allow [&*] in template args, for cases like X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cf5eb80c1b5249c0312960ca0c05a1886a58c54;p=dealii-svn.git Allow [&*] in template args, for cases like template <> class X {...}; git-svn-id: https://svn.dealii.org/trunk@3492 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/contrib/kdoc/src/kdoc b/deal.II/contrib/kdoc/src/kdoc index 667ef7d7ec..0d5597e846 100755 --- a/deal.II/contrib/kdoc/src/kdoc +++ b/deal.II/contrib/kdoc/src/kdoc @@ -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 )