October 02, 2007 Learn » Re: integer max, min? | |||
|---|---|---|---|
| |||
...There's also no standard swap() function like: void swap(T)(ref T a, ref... | |||
September 20, 2007 General » Re: Sometimes, all you need is some simple drawing primitives | |||
|---|---|---|---|
| |||
...y0) > abs(x1 - x0);
void turn() { swap(x0, x1); swap(y0, y1); }
if (steep) { if... | |||
September 19, 2007 General » Sometimes, all you need is some simple drawing primitives | |||
|---|---|---|---|
| |||
...y0) > abs(x1 - x0);
void turn() { swap(x0, x1); swap(y0, y1); }
if (steep) { if... | |||
September 11, 2007 General » Re: Const sucks | |||
|---|---|---|---|
| |||
...matter, what matters is: how would one swap two elements in the array? -- Bruno Medeiros... | |||
September 10, 2007 Announce » Re: DMD 1.021 and 2.004 releases | |||
|---|---|---|---|
| |||
...state onto the stack, which will then swap in a different set of regexes, until... | |||
August 30, 2007 General » [OT] GC without paging | |||
|---|---|---|---|
| |||
...does a garbage collection run, it will swap in the evicted page which will cause... | |||
August 23, 2007 General » Re: Can dmd compile with my own runtime library? | |||
|---|---|---|---|
| |||
...allocation to be implemented for TypeInfo_StaticArray.swap, but it deletes allocated memory (if any... | |||
August 11, 2007 General » Re: Few things II | |||
|---|---|---|---|
| |||
...items[j] = items[i]; | items[i] = aux; // swap | | static if(copy) items2 = items.dup; | if... | |||
August 11, 2007 General » Re: Few things II | |||
|---|---|---|---|
| |||
...items[j] = items[i]; items[i] = aux; // swap
items2 = items.dup;
result = dg(items2); if... | |||
August 08, 2007 General » Re: Checked exceptions [Re: Hijacking] | |||
|---|---|---|---|
| |||
...for exception safety, like C++ convection that swap() methods and destructors are exception free). So... | |||
Copyright © 1999-2021 by the D Language Foundation