cast a LinkSeq

Qian Xu quian.xu at stud.tu-ilmenau.de
Mon Apr 6 14:41:16 PDT 2009


Qian Xu wrote:
> Hi All,
> 
> can I cast a LinkSeq from inherited type to base type?

What I can do, is to create a new LinkSeq!(Fruit) and then cast all 
elements one by one.


-- 
Xu, Qian (stanleyxu)
  http://stanleyxu2005.blogspot.com



More information about the Digitalmars-d mailing list