<div dir="ltr"><div>2013/11/11 Daniel Davidson <span dir="ltr"><<a href="mailto:nospam@spam.com" target="_blank">nospam@spam.com</a>></span><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
>From this thread (<a href="http://forum.dlang.org/post/mailman.89.1383248384.9546.digitalmars-d-learn@puremagic.com" target="_blank">http://forum.dlang.org/post/<u></u>mailman.89.1383248384.9546.<u></u>digitalmars-d-learn@puremagic.<u></u>com</a>) I was under the impression that const/immutable and postblits don't mix. This DIP seems to be trying to address that. One of the potential workarounds to this issue was the idea of struct copy constructors. This is what I was referring to. With this proposal, is there still a need for struct copy constructors?<br>
</blockquote><div><br></div><div>1.5 years ago, I did asked to Andrei about the postbit issue.</div><a href="http://forum.dlang.org/thread/CAFDvkcvvL8GxHQB=Rw9pTm-uxOKzNGVQNDv9w5Os3SkQCc=DLQ@mail.gmail.com"><br class=""></a><div>
<a href="http://forum.dlang.org/thread/CAFDvkcvvL8GxHQB=Rw9pTm-uxOKzNGVQNDv9w5Os3SkQCc=DLQ@mail.gmail.com">http://forum.dlang.org/thread/CAFDvkcvvL8GxHQB=Rw9pTm-uxOKzNGVQNDv9w5Os3SkQCc=DLQ@mail.gmail.com</a>  </div><div><br>
</div><div><div>Andrei had thought that the issue will be fixed by adding "copy constructor" in D.</div><div>However I believed that the postblit concept would be able to improved more. So I couldn't convince about his thought.</div>
</div><div><br></div><div>DIP49 is the final conclusion of my belief. I can say that copy constructor is unnecessary in D.</div><div><br></div><div>Kenji Hara</div></div></div></div>