References in D

Mehrdad wfunction at hotmail.com
Tue Sep 18 07:56:31 PDT 2012


On Saturday, 15 September 2012 at 23:28:36 UTC, Walter Bright 
wrote:
> I wouldn't worry about it. I suspect that most C++ programmers 
> think that references cannot be null.


Yeah, they can't be null _legally_.

Kind of like how in D you can't strip away const _legally_.

But the compiler doesn't complain if you don't obey the rules.


More information about the Digitalmars-d mailing list