Search

June 14, 2022
General »
`alias this` is a weird special case. It doesn't really behave like anything else...
June 14, 2022
General »
...think about it as being similar to 'alias this', which seems to behave differently:

```d...
June 14, 2022
Learn »
...source/argparse/help.d#L27-L47):
```d
alias CC = SumType!(AA,BB);
struct AA {}
struct...
June 14, 2022
General »
...a.
}
```

```d
module b;

import a;

private alias x = a.x;
```

File systems work in...
June 13, 2022
Learn »
...sumtype;

struct Tuple
{
	void opAssign(Tuple rhs) {}
}

alias ParseErrorOr = SumType!Tuple;

auto parserOr() {
	ParseErrorOr cur...
June 13, 2022
Learn »
...ParseErrorOr!T(x); }

auto parserOr(I,alias f, alias g)(I i) {
  auto cur = f...
June 13, 2022
Learn »
...d
import std;

struct ParseError { string msg; }

alias ParseErrorOr(T) = SumType!(ParseError,T);
auto parseErrorOr...
June 13, 2022
Genel »
...dizisi, yani en büyük birim.
 */
void main()
{
  alias tür = ubyte;

// A- 2 sat, 3 süt...
June 12, 2022
Issues »
...14203 "Fix Issue 23178 - Unknown error using alias to `__traits` evaluated as expression" was merged...
June 12, 2022
Issues »
...14203 "Fix Issue 23178 - Unknown error using alias to `__traits` evaluated as expression" fixing this...
211 212 213 214 215 216 217 218 219 220 221
Next ›   Last »