]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use &lt; and &gt; instead of < and >, resp.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 23 Oct 2002 17:04:00 +0000 (17:04 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 23 Oct 2002 17:04:00 +0000 (17:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@6721 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/faq.html

index 63e0b0263ecc3cd2aef345e58ca9c80fcf2da674..37267bcdc54648daf76de0a3add6f190c54d2c78 100644 (file)
   situations like this:
   <code>
     <pre>
-      template <int dim> struct Function {};
-      template <int dim> struct RHS : Function<dim> { RHS() {}; };
+      template &lt;int dim&gt; struct Function {};
+      template &lt;int dim&gt; struct RHS : Function<dim> { RHS() {}; };
 
-      template <int dim> void f () {
-        const RHS<dim> rhs;
+      template &lt;int dim&gt; void f () {
+        const RHS&lt;dim&gt; rhs;
       };
-      template void f<1> ();
+      template void f&lt;1&gt; ();
     </pre>
   </code>
   Here, the compiler reports

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.