2009/9/16 Pertti Kellomäki <pertti.kellom...@tut.fi>:
> Hi,
>
> Just a quick check. I am using py++, and I've run into the problem
> with protected destructors. Is the following advice still valid?

It should be, but today there is a better way to solve this problem -
Function Transformation:
http://language-binding.net/pyplusplus/documentation/functions/transformation/modify_type.html?highlight=function%20transformation

I just checked, "modify type" transformation doesn't generate optimal
code for the following conversion: from "const T&" to "T&".

Before I modified the code, I suggest you to submit a small working
example which shows the problem, so we can solve the right problem.

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to