--- Comment #4 from 2011-05-06 12:47:28 PDT ---
(In reply to comment #3)
> *Shouldn't* post-blit be invokable by calling <File(file)>?  Wouldn't this be 
> a
> desirable behavior?

Sorry, got distracted by the 'this.file = new File(...)' part because of your
'File file;' :).

No it should not call post-blit directly, because is possible to *declare* such
a constructor. The problem is, should D define the implicitly-defined copy
constructor which does:

    struct S {
      this(ref S s) {
        this = s;  // implicitly calls the postblit


> At the line above marked "DOESN'T WORK", the compiler refuses to allocate a 
> new
> default-initialized File struct.  This is a problem

This problem is the same as issue 4249.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to