Remarks on std.container

Jonathan M Davis jmdavisProg at gmx.com
Thu Mar 8 01:28:43 PST 2012


On Thursday, March 08, 2012 10:21:48 Matthias Walter wrote:
> Also there is no usable swap() method of Array. So do I really have to
> perform the swap on my own? I mean, 3 lines of code aren't that much but
> I really expected an easy way.

There's std.algorithm.swap if you want a swap function.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list