Comment #0 by jlourenco5691 — 2021-08-21T15:40:55Z
The Phobos std.algorithm.mutation has an implementation for uninitializedFill but it does not have one for uninitializedCopy. This function is useful for constructing elements emplace in a target buffer using copies from a source. Similar to uninitializedFill which falls back to fill in certain conditions, uninitializedCopy is useful for element types that define custom copy constructors. The result of the copy constructor would be used to construct the element emplace in the target buffer. For all other types, it would be the same as a plain copy.
Comment #1 by robert.schadek — 2024-12-01T16:39:10Z