Please change alias ReplaceArrayWithPointer = Flag!"replaceArrayWithPointer"

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 21 11:31:19 PST 2016


The correct idiom involving Flag is:

* Use the name Flag!"frob" for the type of the flag

* Use Yes.frob and No.frob for the flag values

* Do NOT alias Flag!"frob" to a new name. This is unnecessary, 
unhelpful, and wasteful.

Can somebody please change the respective code in std.experimental.ndslice?


Thanks,

Andrei


More information about the Digitalmars-d mailing list