[Issue 7191] ctor/opAssign doesn't play nice with field initialization

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 17 15:44:33 PDT 2013


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #2 from bearophile_hugs at eml.cc 2013-09-17 15:44:32 PDT ---
(In reply to comment #1)

> I'm not sure whether or not we want to support this. Should field
> initialization allow implicit calls to a ctor of that field?

I am not sure, but I think the current behavour is acceptable. If you want a
different behavour in Line you can add a ctor to it.

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