Search

December 20, 2009
General »
...array[from] >= pivot && array[to-1] < pivot)
      swap(array[from], array[to-1]);
    if (array...
December 17, 2009
General »
...same scope, so you can swap a and b
	void swap(scope?(int)* a, scope...
December 09, 2009
Issues »
...nom ^^= b;
        denom  ^^= b;
        if (b < 0) {
            swap(nom, denom);
        }
        return this;
    }


I have also...
December 08, 2009
Issues »
http://d.puremagic.com/issues/show_bug.cgi?id=2928


Lutger <lutger.blijdestijn@gmail.com...
December 06, 2009
Druntime »
...rel)
}

(atomicStoreIf is equivalent to atomic_compare_swap in C++)

The Atomic struct could probably...
December 03, 2009
General »
...case of array sorting, if you use swap() throughout against elements of the array, the...
November 29, 2009
c++.stlsoft »
BTW, having the (helpful) swap() method already makes this a "non-pure" immutable RAII, doesn...
November 28, 2009
c++.stlsoft »
...we got here all is well...
   tmp.swap(myWAVFile_);


   // 3. then... every time I want...
November 26, 2009
c++.stlsoft »
...variable to open the file and then swap.

or

2. If memory_mapped_file had...
November 17, 2009
General »
...t mind.

you'd also have to swap the precedence of assignment and comma, or...
124 125 126 127 128 129 130 131 132 133 134
Next ›   Last »