Boost logo

Boost :

Subject: Re: [boost] [numeric_cast] request for boost::numeric_downcast
From: David Abrahams (dave_at_[hidden])
Date: 2008-11-11 23:18:04


on Tue Nov 11 2008, Thorsten Ottosen <thorsten.ottosen-AT-dezide.com> wrote:

>> Not to me. In what sense is this proposed cast "down?"
>
> Well, as you say, its narrowing.
>
> The naming applied to polymorphic_cast and polymorphic_downcast is not
> perfect either, since both can be used to "casting down".

That's like saying a knife is badly named because it can be used for
"slicing carrots."

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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