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

Alex Rønne Petersen xtzgzorex at gmail.com
Mon May 14 18:29:56 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

While we're at it, do we want to keep std.outbuffer?

-- 
- Alex


More information about the Digitalmars-d mailing list