Thread overview
[Issue 12944] std.variant does not observe value semantics for large value types.
Jun 19, 2014
Kapps
Dec 17, 2022
Iain Buclaw
June 19, 2014
https://issues.dlang.org/show_bug.cgi?id=12944

--- Comment #1 from Kapps <opantm2+dbugs@gmail.com> ---
Also worth noting that fixing this would require all peek and operations that alter the value (i.e., opIndexAssign) to allocate if storing a reference to another Variant. https://github.com/D-Programming-Language/phobos/pull/2188#issuecomment-44763385 has some discussion on this. It could get somewhat expensive, but would only be in the rare situations where this bug could be observed.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=12944

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 01
https://issues.dlang.org/show_bug.cgi?id=12944

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/phobos/issues/10062

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--