February 17, 2022 Issues » [Issue 21674] [REG v2.086] `alias this` triggers wrong deprecation message on function call | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=21674 --- Comment #7 from Iain Buclaw <ibuclaw... | |||
February 17, 2022 Issues » [Issue 21674] [REG v2.086] `alias this` triggers wrong deprecation message on function call | |||
|---|---|---|---|
| |||
...bool _state;
alias _state this;
}
struct S1 {
@property auto ref entry() { return *getPtr(); }
alias entry... | |||
February 17, 2022 Issues » [Issue 22775] The __traits does not see the scope attribute | |||
|---|---|---|---|
| |||
...S s) {
return 2*s.x;
}
}
alias getMemberType(alias O, string name)=typeof(__traits(getMember... | |||
February 15, 2022 Learn » Re: split Error - no overload matches | |||
|---|---|---|---|
| |||
...should accept this is: ```d auto split(alias isTerminator, Range)(Range range) if (isForwardRange!Range... | |||
February 15, 2022 Issues » [Issue 22540] Instantiation modifies dependant type of value / alias template parameters | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=22540 RazvanN <razvan.nitu1305@gmail.com> changed... | |||
February 15, 2022 Issues » [Issue 14501] template result is reused for equal but non-identical alias arguments | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=14501 RazvanN <razvan.nitu1305@gmail.com> changed... | |||
February 12, 2022 Learn » Re: Is there an equivavlent to C# boxing in D? | |||
|---|---|---|---|
| |||
...this?
>
> --------
> final class Boxed(T) {
> T payload;
> alias payload this; // caveat: probably not a good... | |||
February 12, 2022 Learn » Re: Is there an equivavlent to C# boxing in D? | |||
|---|---|---|---|
| |||
[...] Without alias this it would be harder to pull off, yes. So this particular use... | |||
February 12, 2022 Learn » Re: Is there an equivavlent to C# boxing in D? | |||
|---|---|---|---|
| |||
...type but that's not much. If alias this would be removed in D, would... | |||
February 11, 2022 Learn » Re: Is there an equivavlent to C# boxing in D? | |||
|---|---|---|---|
| |||
...this?
--------
final class Boxed(T) {
T payload;
alias payload this; // caveat: probably not a good... | |||
Copyright © 1999-2021 by the D Language Foundation