Re: [Vala] public class Foo : List<Bar>



On 26/11/2013 12:05, banjo wrote:
ok, cool


in general then, is this allowed in vala?

  public class Foo : SomeContainer<Bar> { }
It is. However glib containers are tricky. You better look at gee containers if you can.
Also consider composition over inheritance.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]