Boost logo

Boost Users :

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://lists.boost.org/mailman/listinfo.cgi/boost-users
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net