deprecating std.stream, std.cstream, std.socketstream

Alex Rønne Petersen xtzgzorex at gmail.com
Sun May 13 14:43:18 PDT 2012


On 13-05-2012 23:38, Walter Bright wrote:
> This discussion started in the thread "Getting the const-correctness of
> Object sorted once and for all", but it deserved its own thread.
>
> These modules suffer from the following problems:
>
> 1. poor documentation, dearth of examples & rationale
>
> 2. toHash(), toString(), etc., all need to be const pure nothrow, but
> it's turning out to be problematic for doing it for these classes
>
> 3. overlapping functionality with std.stdio
>
> 4. they should present a range interface, not a streaming one

I'm all for it. I haven't used any of them, ever, and probably never 
will. Their APIs aren't particularly appealing, honestly.

-- 
- Alex


More information about the Digitalmars-d mailing list