[C++-sig] Overloaded [] operator

Ram, Siddharth sram at qualcomm.com
Tue Jul 19 01:52:05 CEST 2005

I have a C++ class which defines the following method:

CORBA::Octet &operator[] (CORBA::ULong);

I am trying to figure out how to export this to python using
http://www.boost.org/libs/python/doc/v2/operators.html does not include
the square bracket operator in the list of operators. Is this not a
supported operation ? How do I specify a  python method which would
result in this method being invoked in C++ ?


More information about the Cplusplus-sig mailing list