Am 26.05.2015 01:20 schrieb "luciano de souza" <luchya...@gmail.com>:
> But, say me: is the problem I faced related to 2.4 version? In newer
> version, would it be possible to use something like I have proposed or
> will the same behviour be maintained?

No, because there is no way for the compiler to know that the type
parameter is a type that contains a type names TEntities. While newer
versions /do/ support constraints they can not do this (though I do have
ideas to extend the capabilities of constraints, but don't expect anything
in the near future).

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to