[Issue 14361] [SDC] Allow aliasing integer and other literals
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 2 16:27:49 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=14361
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick at geany.org
--- Comment #9 from Nick Treleaven <nick at geany.org> ---
Template alias parameters can accept literal values, so it is inconsistent that
alias declarations cannot. It is also awkward for generic code, hence the
std.meta.Alias template. Making alias consistent would help with language
simplification & learning.
--
More information about the Digitalmars-d-bugs
mailing list