[C++-sig] [Boost.Python] shared_ptr<const T>
Roman Yakovenko
roman.yakovenko at gmail.com
Mon Nov 20 21:29:25 CET 2006
On 11/20/06, Charles Flèche <charlesf at the-mill.com> wrote:
>
> > I think you should also register implicit conversion between smart pointers
> > http://boost.org/libs/python/doc/v2/implicit.html#implicitly_convertible-spec
>
>
> Thank you a lot Kirill and Roman, it's working well now !
I just created and tested a complete solution to the problem:
http://pygccxml.svn.sourceforge.net/viewvc/pygccxml/pyplusplus_dev/docs/bpl_lessons_learned/shared_ptr/solution.cpp?view=markup
http://pygccxml.svn.sourceforge.net/viewvc/pygccxml/pyplusplus_dev/docs/bpl_lessons_learned/shared_ptr/test.py?view=markup
Hope this will be helpful for other too.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
More information about the Cplusplus-sig
mailing list