Curl support RFC

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Mar 14 10:46:38 PDT 2011


On 3/14/11 10:06 AM, Jonas Drewsen wrote:
> const(ubyte)[] for input
> void[] for output
>
> that sounds reasonable. I guess that if everybody can agree on this then
> the all of phobos (e.g. std.file) should use the same types?

Move the const from the first to the second line :o). I see no reason 
why user code can't mess with the buffer once read.

Yes, I agree std.file et al should switch to ubyte[].

Andrei



More information about the Digitalmars-d mailing list