diff --git a/doc/v2/CallPolicies.html b/doc/v2/CallPolicies.html index db358ec6..3c2b98fd 100644 --- a/doc/v2/CallPolicies.html +++ b/doc/v2/CallPolicies.html @@ -20,6 +20,7 @@
Introduction
+
CallPolicies Composition
Concept Requirements
CallPolicies Concept
@@ -40,6 +41,26 @@ the wrapped object is invoked management after the wrapped object is invoked +

CallPolicies Composition

+ +In order to allow the use of multiple models of CallPolicies in the +same callable object, Boost.Python's CallPolicies class templates +provide a chaining interface which allows them to be recursively +composed. This interface takes the form of an optional template +parameter, Base which defaults to +default_call_policies. By convention, the +precall function of the +Base is invoked after the precall +function supplied by the outer template, and the postcall +function of the Base is invoked before the +postcall function of the outer template. If a +result_converter is supplied by the outer template, it +replaces any result_converter supplied by the +Base. For an example, see +return_internal_reference. +

Concept Requirements

CallPolicies Concept