diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2012-09-14 22:25:35 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2012-09-14 22:25:35 +0000 |
commit | bc43673a86e8f8fa63dcc822e3357dca6518e01d (patch) | |
tree | 19b1c1b14b09aea504ff20702573fab259762a37 /Doc/Manual | |
parent | 323f841d933c5a11b592767fbadf76a0dcb2b3c2 (diff) | |
download | swig-bc43673a86e8f8fa63dcc822e3357dca6518e01d.tar.gz |
Add new warning if an empty template declaration is used on a base class, minor docs improvement for empty template declarations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Doc/Manual')
-rw-r--r-- | Doc/Manual/SWIGPlus.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/Manual/SWIGPlus.html b/Doc/Manual/SWIGPlus.html index b4baca6ae..9ecf0aa5a 100644 --- a/Doc/Manual/SWIGPlus.html +++ b/Doc/Manual/SWIGPlus.html @@ -3121,8 +3121,8 @@ nothing is known about <tt>List<int></tt>, you will get a warning message <div class="shell"> <pre> -example.h:42. Nothing known about class 'List<int >' (ignored). -example.h:42. Maybe you forgot to instantiate 'List<int >' using %template. +example.h:42: Warning 401. Nothing known about class 'List<int >'. Ignored. +example.h:42: Warning 401. Maybe you forgot to instantiate 'List<int >' using %template. </pre> </div> @@ -3163,7 +3163,7 @@ Don't worry--if you get the order wrong, SWIG should generate a warning message. Occasionally, you may need to tell SWIG about base classes that are defined by templates, but which aren't supposed to be wrapped. Since SWIG is not able to automatically instantiate templates for this purpose, you must do it manually. To do this, simply -use <tt>%template</tt> with no name. For example: +use the empty template instantiation, that is, <tt>%template</tt> with no name. For example: </p> <div class="code"> |