On Sun, Feb 19, 2012 at 5:32 AM, Matto Marjanovic <mad...@mir.com> wrote:

> Are there any plans to add type bounds to Vala generics?
>
> This would allow something like (e.g., using Java's keyword):
>
> public int get_length<T extends string>  (T val) {
>  return val.length;
> }
>
>
Yes, but not anytime soon.

-- 
www.debian.org - The Universal Operating System
_______________________________________________
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to