If container is a container with insertBack-support,
$(D_PSYMBOL backInserter) returns an output range that puts the elements
into the container with insertBack.
The resulting output range supports all types insertBack supports.
The range keeps a reference to the container passed to it, it doesn't use
any other storage. So there is no method to get the written data out of the
range - the container passed to $(D_PSYMBOL backInserter) contains that data
and can be used directly after all operations on the output range are
completed. It also means that the result range is not allowed to outlive its
container.
If container is a container with insertBack-support, $(D_PSYMBOL backInserter) returns an output range that puts the elements into the container with insertBack.
The resulting output range supports all types insertBack supports.
The range keeps a reference to the container passed to it, it doesn't use any other storage. So there is no method to get the written data out of the range - the container passed to $(D_PSYMBOL backInserter) contains that data and can be used directly after all operations on the output range are completed. It also means that the result range is not allowed to outlive its container.