complete initialization of the static allocated array

bearophile bearophileHUGS at lycos.com
Sun Aug 12 05:19:11 PDT 2012


Alexandr Druzhinin:

> I just thought that there was some better way to check if all 
> elements of Foo were included into mymap than just brutal force 
> iteration through all Foo elements.

There are many ways, like (untested):

AA.keys.sort().equals([EnumMembers!MyEnum].sort())

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list