[fpc-devel] [] property overloads

Ryan Joseph genericptr at gmail.com
Tue Jul 9 02:09:10 CEST 2019



> On Jul 8, 2019, at 5:27 PM, Sven Barth via fpc-devel <fpc-devel at lists.freepascal.org> wrote:
> 
> Well, in theory you could use a read only index property that returns a pointer and a write only index property that takes the type as is. 
> But overloading only based on the result type is not supported.
> 

I was thinking more along the lines of making read/write access part of the overloading but that’s kind of pushing it in terms of what overloading means.

Regards,
	Ryan Joseph



More information about the fpc-devel mailing list