typo in example

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-06-10 21:20:17 +00:00
commit 3e39c8d922

View file

@ -3406,12 +3406,12 @@ in a different namespace. For example:
<div class="code">
<pre>
namespace foo {
template&lt;typename T&gt; max(T a, T b) { return a &gt; b ? a : b; }
template&lt;typename T&gt; T max(T a, T b) { return a &gt; b ? a : b; }
}
using foo::max;
%template(maxint) max&lt;int&gt; // Okay.
%template(maxint) max&lt;int&gt;; // Okay.
%template(maxfloat) foo::max&lt;float&gt;; // Okay (qualified name).
namespace bar {