On Mon, Jun 10, 2019 at 1:56 PM Ryan Joseph <generic...@gmail.com> wrote:

> I don’t think this is possible. Just did little test and the size of
> “result” is always the size of the base class. Does this work?
>

Result in your example is the size of a *pointer* in all cases, which is
fine / exactly what you'd expect it to be.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to