January 20, 2023 General » Re: Trying to use Mir ion, its a perfect example of the failure of D's attribute system | |||
|---|---|---|---|
| |||
...D has symbol variables, e.g. template `alias` parameters. * D has 1 type constructor variable... | |||
January 20, 2023 General » Re: Trying to use Mir ion, its a perfect example of the failure of D's attribute system | |||
|---|---|---|---|
| |||
...template opApplyFromImpl(alias impl, protoDG, alias _WithAnyCombinationOfAttributes = WithAnyCombinationOfAttributes)
{
static foreach (DG; _WithAnyCombinationOfAttributes!protoDG)
alias opApply... | |||
January 19, 2023 General » Re: New blog post on the cost of compile time | |||
|---|---|---|---|
| |||
...d
template RT(alias sym) {
static if(is(typeof(sym) R == return))
alias RT = R... | |||
January 19, 2023 Learn » Covariance for [] | |||
|---|---|---|---|
| |||
...popFront();
}
class RangeWrapper(TRange) : Range!(ForeachType!(TRange))
{
alias TValue = ForeachType!(TRange);
private TRange _range;
this... | |||
January 19, 2023 Issues » [Issue 23598] Another nasty forward reference bug | |||
|---|---|---|---|
| |||
...it cannot set `aliasdecl` because the two `alias sort` assignments are hidden behind conditional compilation... | |||
January 19, 2023 Issues » [Issue 23598] Another nasty forward reference bug | |||
|---|---|---|---|
| |||
...0) {
alias x = f!(a[0]);
alias sort = a;
}
else
alias sort = a;
}
alias SortedItems... | |||
January 18, 2023 General » Re: New blog post on the cost of compile time | |||
|---|---|---|---|
| |||
...ReturnType(alias func)
if (isCallable!func)
{
static if (is(FunctionTypeOf!func R == return))
alias ReturnType... | |||
January 17, 2023 General » Re: Multiple alias this and alias this in classes | |||
|---|---|---|---|
| |||
...of C/C++. In the case of alias this, we should be able to point... | |||
January 17, 2023 General » Re: Multiple alias this and alias this in classes | |||
|---|---|---|---|
| |||
In some areas, D already feels like this. Errors in function literals are an especially... | |||
January 17, 2023 General » Re: Multiple alias this and alias this in classes | |||
|---|---|---|---|
| |||
...2. alias this 3. overloading 4. implicit conversion 5. multiple inheritance 6. multiple alias this... | |||
Copyright © 1999-2021 by the D Language Foundation