D1: std.md5: corrections for the given example
    Stewart Gordon 
    smjg_1998 at yahoo.com
       
    Fri Sep 18 15:27:31 PDT 2009
    
    
  
notna wrote:
> grauzone schrieb:
<snip>
>> http://d.puremagic.com/issues/enter_bug.cgi
> 
> ???
> 
> What do you wanna tell us?
Where to report bugs.
> That
>   while (auto len = file.readBlock(buffer.ptr, buffer.sizeof))
> has to work and does not because it's a bug?
If you want to know whether a piece of code is legal or not, try reading 
the D documentation.
> And that's why you think a bug report should be opened?
No, that this code example in the Phobos documentation is wrong and 
therefore a bug report should be opened.
Stewart.
    
    
More information about the Digitalmars-d-learn
mailing list