[Issue 16465] Template alias does not get unwrapped in templated functions
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Sep 11 07:06:52 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16465
Sky Thirteenth <sky.13th.95 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|DUPLICATE |---
--- Comment #4 from Sky Thirteenth <sky.13th.95 at gmail.com> ---
(In addition to Sky Thirteenth from comment #3)
> (In reply to b2.temp from comment #2)
> > This is not a bug, this is issue 6082. IFTI doesn't support this yet.
> >
> > *** This issue has been marked as a duplicate of issue 6082 ***
>
> Sorry, but not we have some misunderstanding.
>
> Question is not about a constructors. It about a types.
>
> Here is more clear example: https://dpaste.dzfl.pl/2c8e1c350182
Template aliases does not work correct while it used with template functions.
Compiler just somehow can't understand that is the same type, rather than
different.
--
More information about the Digitalmars-d-bugs
mailing list