[C++-sig] Call policies choice

Coockie_jr achille.talon at gmail.com
Tue Jul 31 10:49:25 CEST 2007


Hi I'l still working on trying to wrap a library with boost.python an py++
but I'm having some difficulties with call policies and a little hint would
be nice since the on-line documentation doesn't help me much (or I just
don't understand ;) )

I've got this classe

class NeoCollection:public NeoMsgType{
public:
...
...
	virtual NeoMsgType* get(unsigned short index) const= 0;
...
...
	virtual string toString() const;
protected:
	unsigned short count;
};


And boost requires specific call policies get and toString methods.
I must say I tried a bit of all but with no success, I know this might seem
obvious but not for me !
Thanks for your time and help
-- 
View this message in context: http://www.nabble.com/-C%2B%2B-sig--Call-policies-choice-tf4191655.html#a11920334
Sent from the Python - c++-sig mailing list archive at Nabble.com.




More information about the Cplusplus-sig mailing list