[Vala] subclassing a template class



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]