https://issues.dlang.org/show_bug.cgi?id=22552
kinke <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from kinke <[email protected]> --- (In reply to Stanislav Blinov from comment #0) > That's because moveEmplace simply blits NotNested.init into a. Instead it > probably should move things fieldwise and avoid wiping context pointers in > fields that are nested structs. Blitting the whole thing at once is still fine, but the problem arises with the T.init reset of the source instance. It would probably really have to reset the fields recursively in order not to clear any context pointers. There should IMO still be a fast path for the very common case of no nested context pointers. --
