[Issue 1997] Better type inference for templated types

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 28 01:58:11 PDT 2017


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

Simen Kjaeraas <simen.kjaras at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #3 from Simen Kjaeraas <simen.kjaras at gmail.com> ---
This issue is not fixable in the general case - constructor arguments do not
necessarily line up with type arguments. As pointed out above, the correct fix
is to use a factory function.

--


More information about the Digitalmars-d-bugs mailing list