Please change alias ReplaceArrayWithPointer = Flag!"replaceArrayWithPointer"

Ilya via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 21 11:53:19 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

OK --Ilya


More information about the Digitalmars-d mailing list