Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-05-13 13:41:28


From: "Andrew R. Thomas-Cramer" <artc_at_[hidden]>
>
> Is it legal to construct a boost::shared_ptr<const T> from a raw T*?

Yes, it's legal.

> On MSVC6, it produces errors when class T has an implicit destructor, but
compiles without error otherwise.

Seems to work for me; coud you post an example?


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