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

Sven Barth pascaldragon at googlemail.com
Wed Jul 27 14:28:59 CEST 2016


Am 27.07.2016 14:12 schrieb "Maciej Izak" <hnb.code at gmail.com>:
>
>
> 2016-07-27 13:11 GMT+02:00 Michael Van Canneyt <michael at freepascal.org>:
>>
>> Instance: ^T; default;
>
>
> ";" between default and type will not work.
>
> TNullable<T: record> = proxy record
> ...
>
> looks good for me, even better than pure record, the context is more
clear.

Indeed. Though like Michael I'd keep the "default" keyword cause otherwise
you'd use an identifier that isn't available yet.

I'll comment again on the @@-topic later on (I'm at work right now).

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20160727/6d78646a/attachment.html>


More information about the fpc-devel mailing list