Please change alias ReplaceArrayWithPointer = Flag!"replaceArrayWithPointer"

Ilya Yaroshenko via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 21 12:03:51 PST 2016


On Thursday, 21 January 2016 at 19:31:19 UTC, Andrei Alexandrescu 
wrote:
> 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

https://github.com/D-Programming-Language/phobos/pull/3946


More information about the Digitalmars-d mailing list