Introducing Nullable Reference Types in C#. Is there hope for D, too?

codephantom me at noyb.com
Fri Nov 17 02:10:30 UTC 2017


On Friday, 17 November 2017 at 01:47:01 UTC, Michael V. Franklin 
wrote:
> // Example A
> class Test
> {
>     int Value;
> }
>
> void main(string[] args)
> {
>     Test t;
>     t.Value++;  // No compiler error, or warning.  Runtime 
> error!
> }


//Test t;
Test t = new Test;



More information about the Digitalmars-d mailing list