[Issue 3341] New: Dummy stream

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 22 11:24:26 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3341

           Summary: Dummy stream
           Product: D
           Version: 2.032
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: dsimcha at yahoo.com


--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2009-09-22 11:24:25 PDT ---
If std.stream is going to stay around much longer (not necessarily
recommended), a simple but useful enhancement would be to include a dummy
output stream, similar to /dev/null.  This would be useful when a function or
block of code expects an output stream, and you want to simply dispose of the
output.

If std.stream is going to be deprecated in the foreseeable future, then
whatever replaces it should have this feature.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list