[fpc-pascal] Primitive Record Wrappers

Maciej Izak hnb.code at gmail.com
Sun Feb 28 19:54:14 CET 2016


2016-02-27 9:44 GMT+01:00 Sven Barth <pascaldragon at googlemail.com>:

> Sidenote for this (don't know whether you have already ensured that):
> these operators must not be useable as global operators as after all they
> must he known in the RTTI and that can't work if they're declared in
> another unit that might not even be included... (That's in contrast to how
> operators normally behave in FPC, but there's not really a way around it :/
> )
>

Yes that is true :). Maybe in next week (or in 2 weeks) my implementation
will be ready to commit. Current implementation on my machine, works fine
even for code with

-New
-GetMem + Initialize/InitializeArray

it is important base for SmartPtr / SmartObj.
-- 
Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160228/972f9eab/attachment.html>


More information about the fpc-pascal mailing list