Am 17.06.2009, 00:25 Uhr, schrieb William S Fulton
<
wsf@...>:
> Nitro wrote:
>> Unless there's a compelling reason against this, I vote to reintroduce
>> the
>> SwigValueWrapper(const T& t) constructor.
>>
> I can't get your example function above to generate the
> SwigValueWrapper. Please provide a standalone example to reproduce and
> then I'll look at reintroducing it.
Attached is a sample which shows the problem.
The swig command line is included as a comment on the very first line of
the line. I think the crucial part is the "-keyword" flag in combination
with the forward declaration of MyClass. If you remove any of these two
the bug does not show up.
Thanks for looking into this.
-Matthias
P.S.: In addition to re-adding the SwigValueWrapper(const T& t)
constructor I also had to comment SwigValueWrapper(const
SwigValueWrapper<T>& rhs); I am not sure if that's a good idea, but it
made the wrapper in my original case compile and work.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user