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

kinke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from kinke <[email protected]> ---
IMO, a general problem of this method is the ambiguity for class types -
initializer for a class *ref* or a class *instance*? [It's the latter.]

There's also a tight interconnection with the core.lifetime.emplace() template,
which uses it for classes and non-zero-init structs. emplace() takes a pointer
to a class ref to initialize the ref with null, and a void[] to emplace a class
instance.

--

Reply via email to