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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 11 07:08:48 PDT 2013


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



--- Comment #8 from Kenji Hara <k.hara.pg at gmail.com> 2013-10-11 07:08:46 PDT ---
(In reply to comment #6)
> 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".

The issue has been already filed in bug 9665.

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