$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [numeric_cast] request for boost:
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2008-11-06 10:09:00
On Thu, 06 Nov 2008 15:24:11 +0100, Mathias Gaunard
<mathias.gaunard_at_[hidden]> wrote:
> Thorsten Ottosen wrote:
>>
>> It does make me wonder if we should have a similar cast in Boost.Any:
>>
>> boost::any_downcast
>>
>> ?
>
> That approach seems like bloat.
> Couldn't polymorphic_cast and polymorphic_downcast be overloaded?
How is that less bloat? And why would you call the cast any->concrete type
a polymorphic cast?
Sebastian