join
fn
ElementEncodingType!(ElementType!RoR)[] join(RoR, R)(RoR ror, R sep) if (isInputRange!RoR &&
isInputRange!(Unqual!(ElementType!RoR)) &&
isInputRange!R &&
(is(immutable ElementType!(ElementType!RoR) == immutable ElementType!R) ||
(isSomeChar!(ElementType!(ElementType!RoR)) && isSomeChar!(ElementType!R))
))Eagerly concatenates all of the ranges in ror together (with the GC) into one array using sep as the separator if present.
Parameters
ror | An input range of input ranges |
sep | An input range, or a single element, to join the ranges on |
Returns
An array of elements
See Also
For a lazy version, see
joinerfn
ElementEncodingType!(ElementType!RoR)[] join(RoR, E)(RoR ror, scope E sep) if (isInputRange!RoR &&
isInputRange!(Unqual!(ElementType!RoR)) &&
((is(E : ElementType!(ElementType!RoR))) ||
(!autodecodeStrings && isSomeChar!(ElementType!(ElementType!RoR)) &&
isSomeChar!E)))Ditto
fn
ElementEncodingType!(ElementType!RoR)[] join(RoR)(RoR ror) if (isInputRange!RoR &&
isInputRange!(Unqual!(ElementType!RoR)))Ditto