[Issue 10186] default construction is disabled even if default ctor declared

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 8 10:59:24 PDT 2013


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


Max Samukha <samukha at voliacable.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |samukha at voliacable.com


--- Comment #6 from Max Samukha <samukha at voliacable.com> 2013-10-08 10:59:20 PDT ---
And, with v2.064-devel-64d739f, C.s is still assigned from a temporary object
instead of being constructed directly. That defeats the purpose of "@disable
this", because assignment assumes that the target object has been properly
constructed. And, in the presence of "@disable this", "set to init" does not
qualify for "properly constructed".

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