A couple of thoughts/queries.

Walter Bright newshound1 at digitalmars.com
Sat Dec 8 00:43:44 PST 2007


Robby wrote:
> Anyways, what I'm in hopes of finding is a way to tell the compiler that 
> I never want null, ever. I want an instance of the class and that's 
> that. The whole idea of taking every lil runtime hit for checking  and 
> the code cruft for writing it when in fact it's something that seems to 
> be easy for a compiler to do the work for me.

The hardware will do the check for null pointer for you every time you 
do a dereference.



More information about the Digitalmars-d mailing list