$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: lxcypp lxc (lxcypp_at_[hidden])
Date: 2008-08-05 10:45:40
Thank you. I understand that.
ps: It's my mis-express that the implicit conversion from T* to
shared_ptr<T>.
I mean that Boost.Python constructs a shared_ptr<T> by it's construction
method with a raw pointer .
2008/8/5 Peter Dimov <pdimov_at_[hidden]>
> Not exactly, but the end result is the same. Python does pass a raw pointer
> (PyObject*) to the Boost.Python translation layer. Boost.Python then
> constructs a specially crafted shared_ptr<A> from that. There is no implicit
> conversion from T* to shared_ptr<T>.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://listarchives.boost.org/mailman/listinfo.cgi/boost-users
>