tango list

quest quest
Wed Feb 27 06:51:50 PST 2008


thank you, that did the trick!

Christopher Wright Wrote:

> quest wrote:
> > hi,
> > 
> > i would like to hand over some LinkSeq list to some funktions. what would be 
> > function header??
> > 
> > 
> > void testfunc(???? lists, int bolony) { ....  }
> > 
> > seems like i can't use LinkSeq for the ????.
> 
> // Use a list of any type of element
> void testfunc(T)(ListSeq!(T) list, int bologna) {}
> 
> Unfortunately, you won't be able to put that in an interface.



More information about the Digitalmars-d-learn mailing list