March 31, 2018 General » Re: #dbugfix Issue 16486 200$ | |||
|---|---|---|---|
| |||
Depends greatly on what ParamsMap does. Probably the simplest counterexample:
alias ParamsMap(T...) = int;
So... | |||
March 30, 2018 General » Re: #dbugfix Issue 16486 200$ | |||
|---|---|---|---|
| |||
Can the case where the name of original template in scope of the alias template... | |||
March 30, 2018 General » Re: #dbugfix Issue 16486 200$ | |||
|---|---|---|---|
| |||
This works, but ugly... template testFunction(T, U = TestAlias!T, alias V = TemplateOf!(U), W... | |||
March 30, 2018 General » Re: #dbugfix Issue 16486 200$ | |||
|---|---|---|---|
| |||
It's a feature request, according to the comments. So before anyone goes wasting their... | |||
March 30, 2018 General » Re: #dbugfix Issue 16486 200$ | |||
|---|---|---|---|
| |||
Doesn't extend to multiple template parameters that well... import std.traits : TemplateOf; struct TestType... | |||
March 30, 2018 General » Re: #dbugfix Issue 16486 200$ | |||
|---|---|---|---|
| |||
What about something like this (using the reduced example from the bug report): import std... | |||
March 30, 2018 General » Re: #dbugfix Issue 16486 200$ | |||
|---|---|---|---|
| |||
This is supported in https://github.com/tgehr/d-compiler It has explicit "unknown" types... | |||
March 30, 2018 General » Re: #dbugfix Issue 16486 200$ | |||
|---|---|---|---|
| |||
Ah that is an interesting bug which further demonstrates that templates are a tricky thing... | |||
March 30, 2018 General » Re: #dbugfix Issue 16486 200$ | |||
|---|---|---|---|
| |||
Given the recent blog post on std.variant, it occurs to me that this enhancement... | |||
March 30, 2018 General » #dbugfix Issue 16486 200$ | |||
|---|---|---|---|
| |||
Hello, Bugfix for the Issue 16486 [1] (originally [2]) is required for mir-algorithm types... | |||
Copyright © 1999-2021 by the D Language Foundation