[C++-sig] Py++ module for code with protected operator=

Roman Yakovenko roman.yakovenko at gmail.com
Sat Mar 20 21:24:11 CET 2010


On Sat, Mar 20, 2010 at 10:12 PM, Maciej Sitarz <macieksitarz at wp.pl> wrote:
> On 20.03.2010 20:47, Roman Yakovenko wrote:

> Em... but the example main() compiles and works... unless I want to
> 'push_back' object to the vector.

This is exactly my point

>> I think, you will have to change your code.
>
> I could change it in the example, but I can't change the code for which I'm
> making the python module.
> I think I should investigate how the vector is created and put into the
> function in the original project.
> Or maybe you have other suggestions?

Yes. Can you show/point me to the original code you are trying to
expose. ( not the whole library but the concrete class ).

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/


More information about the Cplusplus-sig mailing list