[Issue 11331] Inefficient initialization of struct with members = void
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 23 09:26:16 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11331
Dicebot <public at dicebot.lv> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |public at dicebot.lv
--- Comment #1 from Dicebot <public at dicebot.lv> 2013-10-23 09:26:14 PDT ---
Erm, isn't it by spec? `void` initializer is targeted for variables, not member
fields. Here it just says that relevant `T.init` part can be garbage.
Fixing this issue would imply that there are no more guaranteed deterministic
T.init values for all types.
--
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