auto x = [1,2,3]; x = [];
I'm asking because std.container.Array has the member .clear() and I would like my code to compatible with both builtin arrays and std.container.Array. If not is there an con to using x = [] for std.container.Array aswell?
I can't find any clear() function in std.algorithm nor std.range.