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
Στις 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
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
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,