Add comment about overlap being undocumented on purpose.

This commit is contained in:
Andrej Mitrovic 2012-11-02 04:57:40 +01:00
parent ded7d066eb
commit 6f65897a6a

View file

@ -615,6 +615,7 @@ unittest
// overlap // overlap
/* /*
NOTE: Undocumented for now, overlap does not yet work with ctfe.
Returns the overlapping portion, if any, of two arrays. Unlike $(D Returns the overlapping portion, if any, of two arrays. Unlike $(D
equal), $(D overlap) only compares the pointers in the ranges, not the equal), $(D overlap) only compares the pointers in the ranges, not the
values referred by them. If $(D r1) and $(D r2) have an overlapping values referred by them. If $(D r1) and $(D r2) have an overlapping
@ -1547,11 +1548,11 @@ if (isDynamicArray!(E[]) && isForwardRange!R1 && isForwardRange!R2
} }
/++ /++
Same as above, but outputs the result via OutputRange $(D sink). Same as above, but outputs the result via OutputRange $(D sink).
If no match is found the original array is transfered to $(D sink) as is. If no match is found the original array is transfered to $(D sink) as is.
+/ +/
void replaceInto(E, Sink, R1, R2)(Sink sink, E[] subject, R1 from, R2 to) void replaceInto(E, Sink, R1, R2)(Sink sink, E[] subject, R1 from, R2 to)
if (isOutputRange!(Sink, E) && isDynamicArray!(E[]) if (isOutputRange!(Sink, E) && isDynamicArray!(E[])
&& isForwardRange!R1 && isForwardRange!R2 && isForwardRange!R1 && isForwardRange!R2
&& (hasLength!R2 || isSomeString!R2)) && (hasLength!R2 || isSomeString!R2))
{ {