On Sat, 24 Sep 2011 09:36:32 +0530, Pankaj Singh <pankajs...@gmail.com>
wrote:
> In the C++ code that I'm exporting to python, I have the following call
in
> the header file.
> 
> template <class PropertyManager>
> 
> Following this, PropertyManager is being used in other class
definitions.
> How do I wrap this in a sip file?

Define the template then use a typedef to instantiate the template with
the required name and type arguments. See PyQt's
phonon/objectdescription.sip file for an example.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to