Search

January 11, 2022
General »
...At least a `static if(__VERSION__ < 2100) alias ProtoObject = Object;` as a kind of polyfill...
January 10, 2022
LDC »
...example, the write to `dst[0]` may alias with `s1[i]` so `s1[i]` needs...
January 10, 2022
Genel »
...aşağıdaki Çitring (!) biraz kafa karıştırıcı olabilir ama alias
> ile her şey daha basit oluyor. Elbette...
January 10, 2022
Genel »
...aşağıdaki Çitring (!) biraz kafa karıştırıcı olabilir ama alias ile her şey daha basit oluyor. Elbette...
January 10, 2022
Issues »
...is_same(alias value, T) = is(typeof(value) == T);

enum is_signed(alias value) = is...
January 10, 2022
Issues »
...Types[0])) {}
}

string[] toLines(Expression val) {
    return [];
}

alias Expression = SumType!(Scope, Return);

struct Return {
    Expression...
January 08, 2022
Issues »
...com/dlang/dmd/pull/13476

---
module object;

alias size_t = typeof(int.sizeof);
extern(C...
January 06, 2022
General »

(But in general, yes, using `alias this` was my initial proposal and I once thought...
January 06, 2022
General »
...Again, why is that different from the alias case? Furthermore, why would you use this...
January 06, 2022
General »
...for it.

Just like if you did:

```d
struct S {
  string opArgs;
  alias opArgs this;
}
```
255 256 257 258 259 260 261 262 263 264 265
Next ›   Last »