As a follow up to my other question, why doesn’t FPC support more types for
generic type constraints, like Pointer, Integer, String etc...? Especially
since we have implicit function specialization now allowing the user to
constrain the types more precision would help.
For example my other problem could be resolved if I could constrain to pointer
types but this is illegal.
generic procedure Bind<T: Pointer>(value: T);
begin
end;
Regards,
Ryan Joseph
_______________________________________________
fpc-devel maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel