On Mon, 04 Apr 2011 22:43:54 +0200, Lorenzo Masini
wrote:
> Il giorno ven, 01/04/2011 alle 12.09 +0100, Phil Thompson ha scritto:
>> Using the /NoRelease/ mapped type annotation will suppress the
generation
>> of the assign_ helper, but it will also has an effect on calling the
>> type's
>> dtor.
Il giorno ven, 01/04/2011 alle 12.09 +0100, Phil Thompson ha scritto:
> Using the /NoRelease/ mapped type annotation will suppress the generation
> of the assign_ helper, but it will also has an effect on calling the type's
> dtor. Is that Ok, or is a separate /NoAssign/ annotation needed?
Thanks
On Thu, 31 Mar 2011 11:03:14 +0200, Lorenzo Masini
wrote:
> Hi everyone
> I have a %MappedType which has the operator= private.
> Sip generates assing_* code that uses the assignment operator, so the
> generated cpp doesn't compile.
> Is there a way to define the assign_* method in order to not us
Hi everyone
I have a %MappedType which has the operator= private.
Sip generates assing_* code that uses the assignment operator, so the
generated cpp doesn't compile.
Is there a way to define the assign_* method in order to not use the
assignment operator and raise a python exception instead?
Best