[Issue 9665] Structure constant members can not be initialized if have opAssign

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 9 09:16:41 PST 2013


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



--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-03-09 09:16:40 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > This is unfixable problem, if I'm not mistaken.
> > 
> > What if opAssign is const/inout?
> 
> It would be invoked, but you cannot do any meaningful operation in it.

I see. Is there any use for a const opAssign?

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