![]() |
Home | Libraries | People | FAQ | More |
Defines facilities for generating families of overloaded Python functions and extension class methods from C++ functions and member functions with default arguments, or from similar families of C++ overloads
An overload-dispatch-expression is used to describe a family of overloaded methods to be generated for an extension class. It has the following properties:
An ntbs whose value will bound to the methods' __doc__ attribute
A keyword-expression which will be used to name (a trailing subsequence of) the arguments to the generated methods.
An instance of some type which models CallPolicies.
The minimum number of arguments to be accepted by a generated method overload.
The maximum number of arguments to be accepted by a generated method overload.