http://d.puremagic.com/issues/show_bug.cgi?id=9099
Walter Bright <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Component|DMD |druntime --- Comment #2 from Walter Bright <[email protected]> 2012-12-26 02:52:19 PST --- The problem is that atomicLoad() only works with POD (Plain Old Data) types. Structs with constructors are not POD. Non-POD structs are returned with a different calling convention than POD, hence the crash. The fix is for atomicLoad() to reject attempts to instantiate it with non-POD types. The test case here should fail to compile. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
