2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 06:42:27 +00:00
[SVN r19802]
This commit is contained in:
Joel de Guzman
2003-08-27 10:14:14 +00:00
parent eef6fb9891
commit 7f5bd33ead

View File

@@ -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>