January 11, 2022 General » Re: Discussion Thread: DIP 1042--ProtoObject--Community Review Round 1 | |||
|---|---|---|---|
| |||
...At least a `static if(__VERSION__ < 2100) alias ProtoObject = Object;` as a kind of polyfill... | |||
January 10, 2022 LDC » Re: auto vectorization of interleaves | |||
|---|---|---|---|
| |||
...example, the write to `dst[0]` may alias with `s1[i]` so `s1[i]` needs... | |||
January 10, 2022 Genel » Re: GBS-2: Şablon ve Yükleme özellikli yapı (Çitring) | |||
|---|---|---|---|
| |||
...aşağıdaki Çitring (!) biraz kafa karıştırıcı olabilir ama alias > ile her şey daha basit oluyor. Elbette... | |||
January 10, 2022 Genel » GBS-2: Şablon ve Yükleme özellikli yapı (Çitring) | |||
|---|---|---|---|
| |||
...aşağıdaki Çitring (!) biraz kafa karıştırıcı olabilir ama alias ile her şey daha basit oluyor. Elbette... | |||
January 10, 2022 Issues » [Issue 22663] New: Module is not recognized inside an "if" | |||
|---|---|---|---|
| |||
...is_same(alias value, T) = is(typeof(value) == T); enum is_signed(alias value) = is... | |||
January 10, 2022 Issues » [Issue 22662] New: ICE caused by forward reference | |||
|---|---|---|---|
| |||
...Types[0])) {}
}
string[] toLines(Expression val) {
return [];
}
alias Expression = SumType!(Scope, Return);
struct Return {
Expression... | |||
January 08, 2022 Issues » [Issue 22659] New: [REG master] Error: declaration '(S[2] arr = __error__;)' is not yet implemented in CTFE | |||
|---|---|---|---|
| |||
...com/dlang/dmd/pull/13476 --- module object; alias size_t = typeof(int.sizeof); extern(C... | |||
January 06, 2022 General » Re: Worst ideas/features in programming languages? | |||
|---|---|---|---|
| |||
(But in general, yes, using `alias this` was my initial proposal and I once thought... | |||
January 06, 2022 General » Re: Worst ideas/features in programming languages? | |||
|---|---|---|---|
| |||
...Again, why is that different from the alias case? Furthermore, why would you use this... | |||
January 06, 2022 General » Re: Worst ideas/features in programming languages? | |||
|---|---|---|---|
| |||
...for it.
Just like if you did:
```d
struct S {
string opArgs;
alias opArgs this;
}
``` | |||
Copyright © 1999-2021 by the D Language Foundation