Introducing Nullable Reference Types in C#. Is there hope for D, too?
Dukc
ajieskola at gmail.com
Mon Nov 20 11:04:58 UTC 2017
On Monday, 20 November 2017 at 10:45:20 UTC, Dukc wrote:
> A type that wraps a reference type behaving like a value type.
> Default initialized value and what to do on copy would be
> passed as template parameters. Perhaps I should try...
Just realized Unique!T is already pretty close. A few
(non-breaking) modifications on it could do the trick.
More information about the Digitalmars-d
mailing list