access subclass functions

BCS ao at pathlink.com
Thu Nov 20 13:33:12 PST 2008


Reply to Saaa,

> 
> b=cast(Banana)fruits[1].peel();
> 

I'm not shure that will work. IIRC DMD reads that as

b=cast(Banana)( fruits[1].peel() );




More information about the Digitalmars-d-learn mailing list