July 22, 2010 General » Re: Are iterators and ranges going to co-exist? | |||
|---|---|---|---|
| |||
...Dcollections has a feature where you can swap the underlying implementation for something completely different... | |||
July 21, 2010 General » Re: Are iterators and ranges going to co-exist? | |||
|---|---|---|---|
| |||
...auto k = f(r);
while (k != r)
{
swap(r, k);
k = f(k);
}
}
This doesn... | |||
July 17, 2010 Genel » opAssign'ın parametresi 'kopyalanan türden' olmalı | |||
|---|---|---|---|
| |||
...zaman harcanmamış oluyor.
*
* (swap std.algorithm'de tanımlıdır ve her türle çalışır)
*/
swap(dizi, sağdaki... | |||
July 16, 2010 Learn » Re: Is the memory address of classinfo the same for all instances of a class? | |||
|---|---|---|---|
| |||
...a simple string checksum to the front? Then swap classinfo.name for f(classinfo.name). | |||
July 02, 2010 Phobos » [phobos] std.algorithm.sort slow as molasses | |||
|---|---|---|---|
| |||
...nested function that took reference parameters (ie. swap) wasn't inlined either, so I changed... | |||
June 22, 2010 General » Re: Latest string_token Code | |||
|---|---|---|---|
| |||
...overlap.charset);
negated = false;
rhs.negated = false;
swap(charset, rhs.charset);
normalise();
overlap.normalise();
rhs... | |||
June 22, 2010 General » Re: Latest string_token Code | |||
|---|---|---|---|
| |||
...overlap.charset);
negated = false;
rhs.negated = false;
swap(charset, rhs.charset);
normalise();
overlap.normalise();
rhs... | |||
June 22, 2010 General » Latest string_token Code | |||
|---|---|---|---|
| |||
...overlap_._charset); _negated = false; rhs_._negated = false; swap(_charset, rhs_._charset); normalise(); overlap_.normalise(); rhs... | |||
June 20, 2010 General » Re: Combsort comparison | |||
|---|---|---|---|
| |||
...range: walkLength, isForwardRange, hasSwappableElements; import std.algorithm: swap, binaryFun; import std.c.stdlib: malloc; import... | |||
June 20, 2010 General » Re: Combsort comparison | |||
|---|---|---|---|
| |||
...if (binaryFun!less(right.front, left.front)) {
swap(left.front, right.front);
swapped = true;
}
}
Quite... | |||
Copyright © 1999-2021 by the D Language Foundation