$(D_PSYMBOL arrayInserter) makes an output range out of an array.
The returned output range accepts single values as well as input ranges that can be copied into the target array.
Array type.
Array.
An output range writing into array.
int[1] array; arrayInserter(array)(5); assert(array[0] == 5);
char[1] array; alias Actual = typeof(arrayInserter(array)); static assert(isOutputRange!(Actual, char)); static assert(isOutputRange!(Actual, char[]));
See Implementation
$(D_PSYMBOL arrayInserter) makes an output range out of an array.
The returned output range accepts single values as well as input ranges that can be copied into the target array.