...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
An Extractor is a class which Boost.Python can use to extract C++
objects from Python objects, and is typically used by facilities that
from_python conversions for
"traditional" Python extension types.
In the table below,
X denotes a model of
a denotes an instance of a Python
||non-void||Returns the C++ object being extracted. The
|Points to the |
executemember must be a non-overloaded static function whose single argument is a Python object type. Acceptable Python object types include those publicly (and unambiguously) derived from
PyObject, and POD types which are layout-compatible with PyObject.
Revised 13 November, 2002
© Copyright Dave Abrahams 2002.
Permission to copy, use, modify, sell and distribute this software is granted provided this copyright notice appears in all copies. This software is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.