http://d.puremagic.com/issues/show_bug.cgi?id=3923
--- Comment #4 from bearophile_h...@eml.cc 2010-08-07 06:30:59 PDT ---
It's not just a problem of documentation. std.algorithm is modelled on the C++
STL algorithms, they are efficient and they are useful in many cases. But not
all D
http://d.puremagic.com/issues/show_bug.cgi?id=4545
--- Comment #3 from Jacob Carlborg d...@me.com 2010-08-07 07:01:32 PDT ---
(In reply to comment #2)
I'm not sure. The existence of .funcptr seems to contradict
http://www.digitalmars.com/d/1.0/type.html#delegates
There are no
http://d.puremagic.com/issues/show_bug.cgi?id=4545
--- Comment #4 from Stewart Gordon s...@iname.com 2010-08-07 07:21:22 PDT ---
(In reply to comment #3)
(In reply to comment #2)
I'm not sure. The existence of .funcptr seems to contradict
DBloke:
The code was
for(ubyte cnt = 3; cnt 0; --cnt)
{
...
code here
}
This program:
import std.stdio: writeln;
void main() {
for (ubyte i = 3; i 0; --i) {
writeln(i);
}
}
Prints with dmd 2.047:
3
2
1
It's better to use the D.learn newsgroup for such