tango list
Christopher Wright
dhasenan at gmail.com
Wed Feb 27 05:41:24 PST 2008
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