I made a patch to accept the following syntax:
class Container<T> {
...
}
class Stuff: Container<Widget> {
Stuff() {
base<Widget>();
}
}
Bug #567319
Regards,
Yu
On Sat, 2009-01-10 at 17:29 -0500, Yu Feng wrote:
> 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
>
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list