Re:Allocgate: Restructuring how allocators work in Zig
by Spex_guy on Wednesday December 15, 2021 @09:23PM
(#29574101)
Yes, move semantics were added because the language was considered incomplete without them. In particular, because RAII based resources like std::vector could not be relocated without very expensive value copy operations.
C++ didn't have move semantics at all until several decades after it had RAII.