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
Sven,
I really thoght that I had replied your message, but now, I realize I
didn't do it.
Actually, the fact compiler does not support the sintax I proposed,
it's not very severe. In stead of passing a subtype, I can firstly
create a type from the subtype and using it in the specialization:
Am 17.05.2015 20:46 schrieb luciano de souza luchya...@gmail.com:
Hello listers,
Using Freepascal 2.6.4, I have a problem about generics. In short, I
can't specialize a class with a subtype of a type declared with
public type. Let me try to explain.
In dopf.pas, I have:
type
generic
Hello listers,
Using Freepascal 2.6.4, I have a problem about generics. In short, I
can't specialize a class with a subtype of a type declared with
public type. Let me try to explain.
In dopf.pas, I have:
type
generic TdGOpfT1, T2, T3 = class(TdComponent)
public type
TEntities = specialize