Boost logo

Boost Users :

Subject: Re: [Boost-users] How shared_from_this() work when it inherited from more than one time
From: Björn Karlsson (Bjorn.Karlsson_at_[hidden])
Date: 2009-08-10 10:20:39


Hello Frank,

> The shared_*_cast names are deprecated according to shared_ptr.hpp.
> They are spelled *_pointer_cast now.

You're right, thanks for the reminder. The rationale for this name change can be found in the smart pointer proposal, N1540:

"The cast operations were originally named shared_static_cast and shared_dynamic_cast in the Boost implementation, but it soon became clear that other smart pointer types can (and should) provide the same functionality, preferably in a generic manner, and the functions were renamed to *_pointer_cast to indicate wider applicability."

Cheers,
Bjorn Karlsson
www.skeletonsoftware.net


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