[C++-sig] IQuestion : nner class code boost.python
David Abrahams
dave at boost-consulting.com
Fri May 13 14:50:22 CEST 2005
pankaj jain <pankaj_jain_101 at yahoo.com> writes:
>> Hi ,
>> I have C++ code like
>> class A
>> {
>> class B;
>> ---
>> ---
>> }
>> can any body help me in how I can map inner class for building python
>> module.
{
scope a
= class_<A>("A")
// whatever ...
;
class_<A::B>("B")
// whatever ...
;
}
HTH,
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the Cplusplus-sig
mailing list