www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15806] New: DirEntry interface inconsistency


          Issue ID: 15806
           Summary: DirEntry interface inconsistency
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: freeslave93 gmail.com

DirEntry on Windows has most methods nothrow, pure and const, while on Posix
they can throw and are mutable.

So when one developed application on Windows they can get unexpected problems
on Posix, e.g. const(DirEntry) will not compile, nothrow functions will not
compile and code will occasionally throw.

Mar 17 2016