[C++-sig] Py++ and nested classes

Roman Yakovenko roman.yakovenko at gmail.com
Mon Aug 27 15:49:12 CEST 2007

On 8/27/07, Pertti Kellomäki <pertti.kellomaki at tut.fi> wrote:
> Can nested classes be accessed directly from the top level
> of a module builder, or does one need to traverse the
> class hierarchy recursively? I need to set the call policy
> for some members of a nested class.

Yes of course.

mb = module_builder_t(...)
mb.class_( class name )

should do the work

Roman Yakovenko
C++ Python language binding

More information about the Cplusplus-sig mailing list