[fpc-pascal] Subclassing generic records?

Ryan Joseph ryan at thealchemistguild.com
Fri Jul 21 23:04:20 CEST 2017


Thanks Sven, that’s one way around it. 

So is it by design that records don’t have inheritance or is this planned? 

and is it also by design that classes don’t allow operator overloads inside them? That seems like an omission since the way they’re implemented in records is much nicer imo.

> On Jul 20, 2017, at 4:11 AM, Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> I have also another solution for your original problem. Take this code:

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list