Empty Array is Null?
    Brian White 
    bcwhite at pobox.com
       
    Wed Mar 19 06:19:41 PDT 2008
    
    
  
char[] array = "".dup;
assert(array !is null);
This will exit because the assert condition is false.
Why is that?
-- Brian
    
    
More information about the Digitalmars-d-learn
mailing list