[Issue 14062] Not pure std.variant.Variant ctor

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jan 31 04:32:28 PST 2015


https://issues.dlang.org/show_bug.cgi?id=14062

sinkuupump at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sinkuupump at gmail.com

--- Comment #1 from sinkuupump at gmail.com ---
introduced by: https://github.com/D-Programming-Language/phobos/pull/2147

I'm not sure this can be fixed. opAssign(called by constructor) and destructor
of Variant are changed to call the handler, and it's impure.

--


More information about the Digitalmars-d-bugs mailing list