[Issue 10607] New: DirEntry has no constructor

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 11 02:46:55 PDT 2013


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

           Summary: DirEntry has no constructor
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: monarchdodra at gmail.com


--- Comment #0 from monarchdodra at gmail.com 2013-07-11 02:46:53 PDT ---
A DirEntry can be constructed via "dirEntry(path)", however, "DirEntry(path)"
will NOT construc a DirEntry.

Also, it is possible to intiailize a DirEntry from another DirEntry:
DirEntry a;
DirEntry b = DirEntry(a);
This actually creates a non-initialized DirEntry, and the construct should not
be accepted anyways.

-- 
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