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

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Thu Mar 31 12:39:53 PDT 2016


On 2016-03-31 21:29, H. S. Teoh via Digitalmars-d wrote:
> On Thu, Mar 31, 2016 at 07:24:14PM +0000, deadalnix via Digitalmars-d wrote:
>> Pretty much as per title. I has that in the back of my mind for a
>> while.  Would that work ?
>
> What's a "builtin set of T"?

int[string] is a built-in associative array, void[string] would be the 
same but a set [1] instead. "T" in his example of be "some type".

[1] https://en.wikipedia.org/wiki/Set_%28abstract_data_type%29

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list