Re: Glib::wrap with copy=true semantics?



Murray Cumming wrote:

The take_copy parameter is only for use with RefPtr<>.

I have no problem passing copy=false in which case it won't touch
the refcount but the documented semantics for copy=false are that
the wrapper takes ownership of the object which is not what is going
on here.

OK. A documentation patch would be welcome.

It would indeed. Thank you for clarifying all this.

--phil



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]