$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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