[C++-sig] How to expose operator[] in boost.python

Junwei Zhang junweizhang2006 at gmail.com
Wed Sep 8 21:22:27 CEST 2010


If I have a class support operator[] and operator() for indexing purpose.
How can I wrapper it in python?

Junwei Zhang
Office Phone:402-472-1968
junweizhang2006 at gmail.com
Department of Electrical Engineering
University of Nebraska-Lincoln
209N Walter Scott Engineering Center
P.O. Box 880511
Lincoln, NE 68588-0511

More information about the Cplusplus-sig mailing list