Re: [C++-sig] const_iterator type

2013-03-28 Thread Stefan Ring
> I couldn't find any examples using const_iterator in the test directory, or > elsewhere, so can't find anything to go by. I thought to manually add those > typedef's the compilers complaining about, to a Python wrapper class derived > from MyIterator. Is there another class I can inherit from, in

Re: [C++-sig] question on boost.python exception mechanisms

2013-03-28 Thread Giuseppe Corbelli
On 26/03/2013 18:51, Holger Joukl wrote: Hi, I'm wrapping a C++ library that's actually just a thin wrapper around a C lib. Through a dispatch() method of a Dispatcher class there's an invocation of callbacks which get implemented on the Python side, by subclassing callback classes exposed thr