On Sun, May 11, 2008 at 12:47 AM, Yu Feng <[EMAIL PROTECTED]> wrote:
>
>> You misunderstood me. I know what # is for but the cotext in which it is used
>> is to make possible writing generice.
>>
>> Regards
>>
>
> Can you explain it in details? I didn't get it much.
>
> Yu
>
>
(not tested - but should work):
class Test<T> {
public void set(T #t1) {
t = #t1;
}
private T t;
}
Here # has to have consistent behaviour with objects and others.
Regrads
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list