[fpc-pascal] Generics
Florian Klaempfl
florian at freepascal.org
Fri Nov 3 11:47:35 CET 2006
Albin Pučnik schrieb:
> Hi,
>
>
> As I can see, there already is some support for generics in FreePascal,
> but only
>
> for classes. Will records,
Records are already supported.
> their operators and free functions be
Probably not in the upcoming 2.2 and even if they will, you will have to
specialize them explicitly. We won't follow the C++ mess with auto
specialization of operators and functions.
> supported too ? Could
>
> someone of core developers explain the intended syntax for generics and
> give few
>
> basic examples ?
tgeneric*.pp in http://svn.freepascal.org/svn/fpc/trunk/tests/test/
But this still could change so don't submit bug reports if we change the
syntax or semantic ;)
More information about the fpc-pascal
mailing list