Re: [Gambas-user] Templates

2012-06-02 Thread Emil Lenngren
That .net thing is generics, not templates. C++ has real templates, i.e. different versions of the code is compiled for each template parameters. In java and .net generics, only one version of the code is compiled, and in java, generics are only "syntax sugar" for casting things to and from the "Ob

Re: [Gambas-user] Templates

2012-06-02 Thread Demosthenes Koptsis
Στις 2/6/2012 17:07, ο/η Benoît Minisini έγραψε: > Le 02/06/2012 07:13, Demosthenes Koptsis a écrit : >> Hello list, >> >> i want to ask if there is a future plan to implement Templates in Gambas >> like .net >> >> example >> >> http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx#Y0 >> >> 'Declar

Re: [Gambas-user] Templates

2012-06-02 Thread Benoît Minisini
Le 02/06/2012 07:13, Demosthenes Koptsis a écrit : > Hello list, > > i want to ask if there is a future plan to implement Templates in Gambas > like .net > > example > > http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx#Y0 > > 'Declaration >_ > Public Class List(Of T) _ > Implements

[Gambas-user] Templates

2012-06-01 Thread Demosthenes Koptsis
Hello list, i want to ask if there is a future plan to implement Templates in Gambas like .net example http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx#Y0 'Declaration _ Public Class List(Of T) _ Implements IList(Of T), ICollection(Of T), _ IEnumerable(Of T), IList,