[Issue 15806] New: DirEntry interface inconsistency

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Mar 17 05:55:32 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=15806

          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 at puremagic.com
          Reporter: freeslave93 at 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.

--


More information about the Digitalmars-d-bugs mailing list