diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Manual/Contents.html | 3 | ||||
-rw-r--r-- | Doc/Manual/Library.html | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Doc/Manual/Contents.html b/Doc/Manual/Contents.html index 89d04a026..a62f4ed12 100644 --- a/Doc/Manual/Contents.html +++ b/Doc/Manual/Contents.html @@ -450,6 +450,9 @@ <ul> <li><a href="Library.html#Library_nn17">exception.i</a> <li><a href="Library.html#Library_attributes">attribute.i</a> +<ul> +<li><a href="Library.html#Library_attribute_templates">%attribute and C++ templates</a> +</ul> </ul> </ul> </div> diff --git a/Doc/Manual/Library.html b/Doc/Manual/Library.html index 9f606fa3f..0efb8fb0f 100644 --- a/Doc/Manual/Library.html +++ b/Doc/Manual/Library.html @@ -46,7 +46,7 @@ <li><a href="#Library_nn17">exception.i</a> <li><a href="#Library_attributes">attribute.i</a> <ul> -<li><a href="#Library_attribute_templates">%attribute and C++ templates</a></li> +<li><a href="#Library_attribute_templates">%attribute and C++ templates</a> </ul> </ul> </ul> @@ -2331,6 +2331,8 @@ shared_ptr which has <tt>%naturalvar</tt> turned on in </p> <H4><a name="Library_attribute_templates">12.5.2.1 %attribute and C++ templates</a></H4> + + <p> <tt>%attribute</tt> and friends have to be used on fully specified classes. For example </p> @@ -2340,7 +2342,7 @@ shared_ptr which has <tt>%naturalvar</tt> turned on in %inline %{ template <class T> struct A { T a() const; - void a(T &); + void a(T &); }; %} </pre> |