[Issue 15782] [Reg 2.071-devel] something about the const/non-const types in TypeTuples changed
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Mar 11 04:22:18 PST 2016
https://issues.dlang.org/show_bug.cgi?id=15782
John Colvin <john.loughran.colvin at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |john.loughran.colvin at gmail.
| |com
--- Comment #2 from John Colvin <john.loughran.colvin at gmail.com> ---
If that test had used builtin types it would never have passed, it was a bug in
Alias when dealing with qualified user-defined types.
I understand that it's frustrating to have old code break, but having templates
like Alias & NoDuplicates strip qualifiers for user-defined types but not
builtins is definitely not an option. So we have 2 choices: it always strips or
it never strips. The second seems vastly preferable to me.
--
More information about the Digitalmars-d-bugs
mailing list