Dynamic and Static Casting

Steven Schveighoffer schveiguy at yahoo.com
Thu Feb 10 08:45:50 PST 2011


On Thu, 10 Feb 2011 11:38:40 -0500, spir <denis.spir at gmail.com> wrote:

> On 02/10/2011 01:38 PM, bearophile wrote:

>>
>>
>> Is a pair of similar staticDownCast(), staticUpCast() fit for Phobos?
>
> But I have never needed upcast in D as of now. What are common use cases?

Aren't all upcasts static anyways?

-Steve


More information about the Digitalmars-d-learn mailing list