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 ;)
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to