[Gambas-user] Templates

Demosthenes Koptsis demosthenesk at ...626...
Sat Jun 2 16:26:37 CEST 2012


Στις 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
>>
>> 'Declaration
>> <SerializableAttribute>    _
>> Public  Class  List(Of T) _
>> 	Implements  IList(Of T), ICollection(Of T),  _
>> 	IEnumerable(Of T), IList, ICollection, IEnumerable
>>
> I have no plan to implement templates at the moment. Maybe in the
> future, I don't know.
>
> There is already a rudimentary template mechanism inside the interpreter
> to implement arrays of a specific class. But I don't think it can be
> generalized.
>
> Regards,
>
ok, it would been nice feature for a future release.





More information about the User mailing list