[fpc-devel] Postfix operator overload or default properties

Ryan Joseph genericptr at gmail.com
Fri Jun 7 23:16:07 CEST 2019



> On Jun 7, 2019, at 5:08 PM, Sven Barth via fpc-devel <fpc-devel at lists.freepascal.org> wrote:
> 
> Before we add a postfix operator I prefer not to add *any* of this *at all*.

What about smart pointers then? I don’t want Pascal to get left behind on this. We need a solution for this and I want it to be the least intrusive possible and I think C++ did the right thing. Keep in mind this is in retrospect after developing default properties (https://github.com/genericptr/freepascal/tree/defaultprops) albeit perhaps poorly, and seeing how intrusive the idea is compared to what C++ did. 

Any other voices on this would be welcome.

Regards,
	Ryan Joseph




More information about the fpc-devel mailing list