complete initialization of the static allocated array

bearophile bearophileHUGS at lycos.com
Sun Aug 12 05:46:55 PDT 2012


Alexandr Druzhinin:

> import std.algorithm;	// for equal()
> import std.traits;	// for EnumMembers(T)

The right way to write that in D is:

import std.algorithm: equal;
import std.traits: EnumMembers;

Bye,
bearophile



More information about the Digitalmars-d-learn mailing list