Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-05-11 15:10:11


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?

-Thorsten

-- 
Thorsten Ottosen
----------------------------
www.dezide.com
http://www.cs.aau.dk/index2.php?content=Research/mi
www.boost.org
www.open-std.org/JTC1/SC22/WG21/ 

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk