Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2009-05

AW: Re: On code cleanup

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Helmut Hartl

Von: Jonas Maebe
Gesendet: So 03.05.2009 15:01
An: FPC developers' list ;
Betreff: Re: [fpc-devel] On code cleanup

Show quoted text 6 lines
On 03 May 2009, at 14:58, Alexander Klenin wrote: > BTW, is generics good enough to be used in e.g. math.pp? Afaik, generics have only been implemented for classes until now. Plain generic functions are not (yet) supported.

I started a test with a simple generic red-black tree implementation: http://fpcfun.firmos.at/bin/view/Freepascal/GenericRedBlackTree played around with it a bit and put it in our commercial codebase dropping 12 different red-black tree implementations units with nearly the same code.

I am happy with the generics implementation at the current state it is practically usable!

helmut

Reply by email