Re: [Vala] what does # mean in a member method formal parameter?
- From: "Maciej Piechotka" <uzytkownik2 gmail com>
- To: "Yu Feng" <rainwoodman gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] what does # mean in a member method formal parameter?
- Date: Sun, 11 May 2008 00:50:50 +0200
On Sun, May 11, 2008 at 12:47 AM, Yu Feng <rainwoodman gmail com> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]