What is the current point to empty/null associative arrays?
    Cooler 
    kulkin at hotbox.ru
       
    Mon Dec  2 05:27:32 PST 2013
    
    
  
Stop hollywaring here.
The problem again...
There are two different states of an associative array - null and 
empty.
Null state is when we just define AA without initializers:
   string[int] aa;
Empty state can now be achieved if we add and then remove any key 
from null AA:
   string[int] aa;
   aa[0] = "";
   aa.remove(0);
It will be more convenient to define empty AA something like this:
   string[int] aa = [:];
The disscussion is on how to achive empty associative arrays. Is 
anybody going to extend D syntax to get the goal?
    
    
More information about the Digitalmars-d
mailing list