www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1397] New: BufferedFile HANDLE constructor needs default parameter

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

           Summary: BufferedFile HANDLE constructor needs default parameter
           Product: D
           Version: 2.000
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Phobos
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: regan netmail.co.nz


This constructor for BufferedFile in std.stream:

this(HANDLE hFile, FileMode mode, uint buffersize)

should probably have a default parameter value for the buffersize, eg:

this(HANDLE hFile, FileMode mode, uint buffersize = DefaultBufferSize)


-- 
Aug 03 2007