diff --git a/Doc/Manual/Contents.html b/Doc/Manual/Contents.html index 97db5f11c..f3beb2298 100644 --- a/Doc/Manual/Contents.html +++ b/Doc/Manual/Contents.html @@ -358,26 +358,32 @@
@@ -761,7 +767,7 @@ char *cdata_name(type* ptr, int nitems) Clearly they are unsafe.
-@@ -1365,7 +1371,7 @@ structure or class instead.
@@ -1728,9 +1734,8 @@ Any thrown STL exceptions will then be gracefully handled instead of causing a c
-%shared_ptr Basics -
+Some target languages have support for handling the shared_ptr reference counted smart pointer. @@ -1825,9 +1830,8 @@ System.out.println(val1 + " " + val2);
-%shared_ptr and Inheritance -
+The shared_ptr library works quite differently to SWIG's normal, but somewhat limited, @@ -1917,9 +1921,8 @@ Adding the missing %shared_ptr macros will fix this:
-%shared_ptr and Templates -
+Only the single %shared_ptr declaration should be used for all specializations @@ -1931,25 +1934,27 @@ of the template before the first template instantiation using the following nota
%include <std_shared_ptr.i>
-%shared_ptr(Graph<>); //!< Declaration of the transparent shared ptr for the Graph template
+%shared_ptr(Graph<>); // Declaration of the transparent shared ptr for the Graph template
%{
- #include "graph.hpp" // Graph definition (inside the namespace gany)
+ #include "graph.h" // Graph definition (inside the namespace gany)
using namespace gany;
%}
%include "graph.h" // Graph declaration (inside the namespace gany)
using namespace gany;
-%template(SGraph) Graph<false>; //!< Simple graph
+%template(SGraph) Graph<false>; // Simple graph
// Note: the Graph name is redefined in the following line from the template to the specialization (class)
-%template(Graph) Graph<true>; //!< Weighted graph
+%template(WGraph) Graph<true>; // Weighted graph
+-Note: There is somewhat limited support for %shared_ptr and the director feature +There is somewhat limited support for %shared_ptr and the director feature and the degrees of success varies among the different target languages. Please help to improve this support by providing patches with improvements.