From: hartmann Date: Wed, 23 Oct 2002 17:04:00 +0000 (+0000) Subject: Use < and > instead of < and >, resp. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90a01cb9f23ad1bf31f18f77cddd94e37ce5ebfa;p=dealii-svn.git Use < and > instead of < and >, resp. git-svn-id: https://svn.dealii.org/trunk@6721 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/faq.html b/deal.II/doc/faq.html index 63e0b0263e..37267bcdc5 100644 --- a/deal.II/doc/faq.html +++ b/deal.II/doc/faq.html @@ -96,13 +96,13 @@ situations like this:
-      template  struct Function {};
-      template  struct RHS : Function { RHS() {}; };
+      template <int dim> struct Function {};
+      template <int dim> struct RHS : Function { RHS() {}; };
 
-      template  void f () {
-        const RHS rhs;
+      template <int dim> void f () {
+        const RHS<dim> rhs;
       };
-      template void f<1> ();
+      template void f<1> ();
     
Here, the compiler reports