> Of course your smart-array-pointer type needs to implement the > ~ operator and create a copy of the array in that case. I guess > the full implementation would include something that would > resemble that of std::vector in C++. std.container.Array already does that.