8 Oct
2015
8 Oct
'15
1:01 p.m.
Karolin Varner wrote:
For std::shared_ptr and the other pointers we might still emulate a moving cast in order to facilitate generic programming.
Like Gavin, I'm not sure I quite see the point of using dynamic_pointer_cast on an rvalue in generic code, because if it fails, the original is lost.