Could we reserve void[T] for builtin set of T ?

Ali Çehreli via Digitalmars-d digitalmars-d at puremagic.com
Thu Mar 31 14:09:30 PDT 2016


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" :)



More information about the Digitalmars-d mailing list