[Vala] An article about References and Ownership in Vala and GLib.
- From: Yu Feng <rainwoodman gmail com>
- To: Maciej Piechotka <uzytkownik2 gmail com>
- Cc: vala-list gnome org
- Subject: [Vala] An article about References and Ownership in Vala and GLib.
- Date: Sat, 10 May 2008 21:51:27 -0400
http://live.gnome.org/Vala/Ownership
On Sun, 2008-05-11 at 00:50 +0200, Maciej Piechotka wrote:
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]