On 3/31/16 5:09 PM, Ali Çehreli wrote:
On 03/31/2016 01:39 PM, Steven Schveighoffer wrote:

 > But how do you add a key to the set? Currently only allowed via:
 >
 > a[x] = ...;

Expanding on Walter's idea:

   a[x] = shared(void);    // add
   a[x] = void;            // remove

Ali
"ducks and runs for cover" :)

hm... I suppose:

a[x] = void;

could add. Removal is never done by assigning, only by aa.remove.

-Steve

Reply via email to