10 Aug
2009
10 Aug
'09
2:20 p.m.
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