opStar

Janice Caron caron800 at googlemail.com
Mon Nov 12 23:56:03 PST 2007


On Nov 13, 2007 6:17 AM, David B. Held <dheld at codelogicconsulting.com> wrote:
> int size[3] = { length, width, height };
> std::sort(size + 0, size + 3);
>
> I do lots of little stuff like this, which is very convenient.

In D:

    size.sort;

Pointers not needed.



More information about the Digitalmars-d mailing list