diff --git a/Doc/Manual/CPlusPlus11.html b/Doc/Manual/CPlusPlus11.html index 4317c189e..d79c3172e 100644 --- a/Doc/Manual/CPlusPlus11.html +++ b/Doc/Manual/CPlusPlus11.html @@ -138,13 +138,13 @@ When either of these is used from a target language, a runtime call is made to o
SWIG correctly parses the keywords extern template. -However, this template instantiation suppression in a translation unit has no relevance for SWIG. +However, this template instantiation suppression in a translation unit has no relevance outside of the C++ compiler and so is not used by SWIG. SWIG only uses %template for instantiating and wrapping templates.
-template class std::vector<int>; // C++03 explicit instantiation in C++ +template class std::vector<int>; // C++03 explicit instantiation in C++ extern template class std::vector<int>; // C++11 explicit instantiation suppression in C++ -%template(VectorInt) std::vector<int>; // SWIG instantiation +%template(VectorInt) std::vector<int>; // SWIG instantiation
-SWIG is able to handle constructor delegation, such as: +There are three parts to object construction improvement. +The first improvement is constructor delegation such as the following:
@@ -418,7 +419,13 @@ public:
-Constructor inheritance is parsed correctly, but the additional constructors are not currently added to the derived proxy class in the target language. Example is shown below: +where peer constructors can be called. SWIG handles this without any issue. +
+ ++The second improvement is constructor inheritance via a using declaration. +This is parsed correctly, but the additional constructors are not currently added to the derived proxy class in the target language. +An example is shown below: