[Vala] subclassing a template class
- From: Yu Feng <rainwoodman gmail com>
- To: vala-list <vala-list gnome org>
- Subject: [Vala] subclassing a template class
- Date: Sat, 10 Jan 2009 17:29:33 -0500
Hi,
How do I subclass a template class? I tried the following code but it
doesn't correctly pass the t_dup_func and t_destroy_fucn into the parent
class.
class Container<T> {
....
}
class SCon: Container<Object> {
....
}
Regards,
Yu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]