I dun a DIP, possibly the best DIP ever
WebFreak001
d.forum at webfreak.org
Fri Apr 24 06:37:42 UTC 2020
On Friday, 24 April 2020 at 06:32:16 UTC, Walter Bright wrote:
> [...]
>
>> // replace staticMap
>> alias staticMap(alias F, T...) = F!T...;
>
> alias staticMap(alias F, T...) = F!T;
>
> [...]
this would be a breaking change:
currently:
template F(T...)
{
}
alias staticMap(alias F, T...) = F!T;
pragma(msg, staticMap!(F, int, short).stringof);
-> F!(int, short)
but with that change suddenly:
pragma(msg, staticMap!(F, int, short).stringof);
-> SomeTuple!(F!int, F!short)
More information about the Digitalmars-d
mailing list