|
Boost : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-05-11 15:24:05
"Thorsten Ottosen" <nesotto_at_[hidden]> wrote in message
news:d5todb$5hk$1_at_sea.gmane.org...
> Hi,
>
> is there any reason why we cannot say
>
> Base& get_ref();
> Derived& boost::polymorphic_downcast<Derived&>( get_ref() );
>
> ?
>
> It works with pointers, shouldn't we overload for references?
I've even implemented one, updated docs and submitted. See thread with
"cast.hpp" in it's name
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk