[fpc-devel] "Default" discussion for SmartPointers etc

Maciej Izak hnb.code at gmail.com
Thu Jul 28 14:02:02 CEST 2016

2016-07-28 13:02 GMT+02:00 Stefan Glienke <sglienke at dsharp.org>:

> One thing that I did not see mentioned here is the fact that introducing
> "operator hoisting" by introducing that default feature will not solve
> nullables
> at all.

In most of cases we can solve that by class operators but I think that for
few cases compiler magic is needed. We can use additional compiler support
ony for that form of nullable types:

  x: nullable Integer; // which is de facto TNullable<T> on steroids ;)
Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20160728/2b3e052d/attachment.html>

More information about the fpc-devel mailing list