mirror of
https://github.com/boostorg/python.git
synced 2026-01-26 06:42:27 +00:00
Tweaks
[SVN r19802]
This commit is contained in:
@@ -120,8 +120,9 @@ void visit(classT& c, char const* name, OptionalArgs const& options) con
|
||||
being wrapped to Python. name is a client supplied name. This is a client
|
||||
supplied function.
|
||||
<dt><b>Effects:</b> A call to c.def(name, visitor) or c.def(name, visitor, options),
|
||||
where c is a class_ instance and visitor is a def_visitor derived class forwards
|
||||
to this visitor's visit member function.
|
||||
where c is a class_ instance, visitor is a def_visitor derived class and options
|
||||
are context specific optional arguments, forwards to this visitor's visit
|
||||
member function.
|
||||
<dt><b>Rationale:</b> Allows my_def_visitor to non-intrusively add functionality
|
||||
to the <a href="class.html">class_</a> def member function.
|
||||
</dl>
|
||||
|
||||
Reference in New Issue
Block a user