[Gambas-user] Templates

Benoît Minisini gambas at ...1...
Sat Jun 2 16:07:51 CEST 2012


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,

-- 
Benoît Minisini




More information about the User mailing list