Who wore it better?

Nick Treleaven via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 17 10:21:13 PDT 2016


On Friday, 15 April 2016 at 17:24:19 UTC, Andrei Alexandrescu 
wrote:
> inout(T)[] overlap(T)(inout(T)[] r1, inout(T)[] r2) @trusted

BTW, why is overlap undocumented - is ctfe support a good enough 
reason?
https://github.com/dlang/phobos/blob/v2.071.0/std/array.d#L715

I've thought about implementing something similar, good to know 
it's there. I wonder if there are places in Phobos that could use 
this.

Also, its unittest needs to get undocumented too, it's appearing 
in the previous symbol's documentation instead.


More information about the Digitalmars-d mailing list