[Issue 14912] Move initialisation of GC'd struct and class data from the callee to the caller

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Aug 13 07:54:12 PDT 2015


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

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com

--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Wouldn't it be enough to simply change the call to the opaque function
_d_newitemT(TypeInfo ti) to a template _d_newitem!(T)() ?

I don't want to put more special code in the compiler if possible.

--


More information about the Digitalmars-d-bugs mailing list