|
Boost Users : |
Subject: Re: [Boost-users] [smart_ptr] Reinterpret_pointer_cast()?
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2011-11-14 09:26:54
Den 14-11-2011 14:11, Robert Jones skrev:
> Even as I ask this I suspect the answer is obvious and I can't see it, but
> is there any reason why there is no reinterpret_pointer_cast() function for
> shared_ptr's?
>
Well, its almost never needed. static_pointer_cast should do the trick.
-Thorsten
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