On Saturday, 22 August 2020 at 21:52:53 UTC, Paul Backus wrote:
On Saturday, 22 August 2020 at 21:45:35 UTC, data pulverizer
wrote:
AliasSeq's don't nest and automatically expand when you use
them, so when you write
MyTemplate!(Nothing, types)
it gets expanded to
MyTemplate!(bool,
On Saturday, 22 August 2020 at 21:45:35 UTC, data pulverizer
wrote:
Hi all,
just wandering if this is a bug, I certainly didn't expect the
output:
```d
alias AliasSeq(T...) = T;
alias Nothing = AliasSeq!();
template MyTemplate(S, Args...)
{
pragma(msg, "Args: ", Args);
}
void main()
{
Hi all,
just wandering if this is a bug, I certainly didn't expect the
output:
```d
alias AliasSeq(T...) = T;
alias Nothing = AliasSeq!();
template MyTemplate(S, Args...)
{
pragma(msg, "Args: ", Args);
}
void main()
{
alias types = AliasSeq!(bool, string, ubyte, short, ushort);
alias