On Monday, 16 February 2015 at 17:00:39 UTC, Tobias Pankrath wrote: > You can set the length to zero for both. Thanks. I believe C++ programmers would find a tiny wrapper function, say clear(), in std.algorithm or perhaps even D array builtin for this nice from a portability point of view.