How to use sets in D?

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Feb 9 00:46:38 UTC 2022


On Tue, Feb 08, 2022 at 10:02:30PM +0000, Paul Backus via Digitalmars-d-learn wrote:
[...]
> It also works if you use parentheses:
> 
>     mySet[...] = (void[0]).init;

OT1H, nice that works! ... but OTOH, ugh, it looks so ugly. :-P  I think
I'll just stick with the alias.


T

-- 
Who told you to swim in Crocodile Lake without life insurance??


More information about the Digitalmars-d-learn mailing list