[fpc-devel] Object upgrades

Ben Grasset operator97 at gmail.com
Mon Jun 10 21:25:57 CEST 2019


On Mon, Jun 10, 2019 at 1:56 PM Ryan Joseph <genericptr at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190610/2c0e2f50/attachment.html>


More information about the fpc-devel mailing list