Please change alias ReplaceArrayWithPointer = Flag!"replaceArrayWithPointer"
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jan 21 17:05:49 PST 2016
On 01/21/2016 03:42 PM, Jack Stouffer wrote:
> On Thursday, 21 January 2016 at 19:31:19 UTC, Andrei Alexandrescu wrote:
>> * Do NOT alias Flag!"frob" to a new name. This is unnecessary,
>> unhelpful, and wasteful.
>
> I disagree. Making an alias means the user does not have to import
> std.typecons in their code, and as a purely subjective measure,
> ReplaceArrayWithPointer.Yes looks better than
> Flag!"replaceArrayWithPointer".Yes.
That would be Yes.replaceArrayWithPointer. -- Andrei
More information about the Digitalmars-d
mailing list