June 14, 2022 General » Re: Adding a new design constraint to D | |||
|---|---|---|---|
| |||
`alias this` is a weird special case. It doesn't really behave like anything else... | |||
June 14, 2022 General » Re: Adding a new design constraint to D | |||
|---|---|---|---|
| |||
...think about it as being similar to 'alias this', which seems to behave differently: ```d... | |||
June 14, 2022 Learn » Bug in dmd? | |||
|---|---|---|---|
| |||
...source/argparse/help.d#L27-L47):
```d
alias CC = SumType!(AA,BB);
struct AA {}
struct... | |||
June 14, 2022 General » Re: Adding a new design constraint to D | |||
|---|---|---|---|
| |||
...a. } ``` ```d module b; import a; private alias x = a.x; ``` File systems work in... | |||
June 13, 2022 Learn » Re: Failure due to memcpy being called at compile time | |||
|---|---|---|---|
| |||
...sumtype;
struct Tuple
{
void opAssign(Tuple rhs) {}
}
alias ParseErrorOr = SumType!Tuple;
auto parserOr() {
ParseErrorOr cur... | |||
June 13, 2022 Learn » Re: Failure due to memcpy being called at compile time | |||
|---|---|---|---|
| |||
...ParseErrorOr!T(x); }
auto parserOr(I,alias f, alias g)(I i) {
auto cur = f... | |||
June 13, 2022 Learn » Failure due to memcpy being called at compile time | |||
|---|---|---|---|
| |||
...d
import std;
struct ParseError { string msg; }
alias ParseErrorOr(T) = SumType!(ParseError,T);
auto parseErrorOr... | |||
June 13, 2022 Genel » Re: Statik Dizilerin Ters (reverse => column x row) Kurulması | |||
|---|---|---|---|
| |||
...dizisi, yani en büyük birim.
*/
void main()
{
alias tür = ubyte;
// A- 2 sat, 3 süt... | |||
June 12, 2022 Issues » [Issue 23178] Unknown error using alias to `__traits` evaluated as expression | |||
|---|---|---|---|
| |||
...14203 "Fix Issue 23178 - Unknown error using alias to `__traits` evaluated as expression" was merged... | |||
June 12, 2022 Issues » [Issue 23178] Unknown error using alias to `__traits` evaluated as expression | |||
|---|---|---|---|
| |||
...14203 "Fix Issue 23178 - Unknown error using alias to `__traits` evaluated as expression" fixing this... | |||
Copyright © 1999-2021 by the D Language Foundation