Multiple return values...

James Miller james at aatch.net
Thu Mar 15 20:46:52 PDT 2012


> 2. When was the last time you needed to swap arbitrary numbers of elements,
> and so badly and frequently, you needed a new language feature for that?
>
>
> Andrei

I would like to point out Boscop's vector swizzling tutorial that he
made recently as evidence that not only do you not need it that
frequently, it is fairly easy to implement a nice syntax for it in D,
no language changes needed.

--
James Miller


More information about the Digitalmars-d mailing list