Re: [fpc-pascal] Generics feature status

2011-04-30 Thread Sven Barth
On 30.04.2011 03:15, Paul Ishenin wrote: 30.04.2011 3:28, leledumbo wrote: I see now that generics have improved a lot since latest release, we even have Delphi compatible syntax in Delphi mode. Recursive generic type is supported as well now (finally, I can continue my data structure library :)

Re: [fpc-pascal] Generics feature status

2011-04-29 Thread Paul Ishenin
30.04.2011 3:28, leledumbo wrote: I see now that generics have improved a lot since latest release, we even have Delphi compatible syntax in Delphi mode. Recursive generic type is supported as well now (finally, I can continue my data structure library :)). Seeing these facts, what's the status o

Re: [fpc-pascal] Generics feature status

2011-04-29 Thread Anthony Walter
Is this true? I'd really like to see generics that with a mode where it is possible to say with the following syntax (compatible with Delphi): type IDelegate = interface procedure Add(const Handler: T); procedure Remove(const Handler: T); end; And then specialize using the following s

[fpc-pascal] Generics feature status

2011-04-29 Thread leledumbo
I see now that generics have improved a lot since latest release, we even have Delphi compatible syntax in Delphi mode. Recursive generic type is supported as well now (finally, I can continue my data structure library :)). Seeing these facts, what's the status of this feature now? Is it considered