February 01, 2023 Issues » [Issue 11907] No undeclared identifier error in lambda alias argument | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=11907 Nick Treleaven <nick@geany.org> changed... | |||
February 01, 2023 General » Re: RfC for language feature: rvalue struct | |||
|---|---|---|---|
| |||
...struct S
{
private int a_;
public rvalue alias a = this.a_;
}
```
But then we're... | |||
January 30, 2023 General » Re: RfC for language feature: rvalue struct | |||
|---|---|---|---|
| |||
...variable with something like Haskell arrows [1]:
```
alias updateTimes = visit => visit
.rebuild!(a => a.arrival... | |||
January 30, 2023 Genel » Re: enum'lara nitelikli CT işlevi yükleme | |||
|---|---|---|---|
| |||
...tanımlanabiliyor:
```d
struct S {
float a, b;
alias opBin = float delegate();
opBin[string] ops;
}
void... | |||
January 30, 2023 General » Re: RfC for language feature: rvalue struct | |||
|---|---|---|---|
| |||
...d
this(R)(R[] data) { opCall(data); }
alias opCall this;
@property opCall() inout { return data... | |||
January 29, 2023 General » Re: RfC for language feature: rvalue struct | |||
|---|---|---|---|
| |||
...data), data);
}
}
unittest
{
S!char test1, test2;
alias TestType = typeof(test1.data);
import std.traits... | |||
January 28, 2023 Learn » Re: hasUDA alternatives? | |||
|---|---|---|---|
| |||
...alias earlyFuns = Filter!(isEarlyFun, this.allEventHandlerFunctionsInModule);
///Pseudo code expanded representation:
template setupFuns alias pred)
{
alias... | |||
January 28, 2023 Learn » hasUDA alternatives? | |||
|---|---|---|---|
| |||
...Timing.cleanup); alias hasSpecialTiming = templateOr!(isSetupFun, isEarlyFun, isLateFun, isCleanupFun); alias isNormalEventHandler = templateNot!hasSpecialTiming; alias setupFuns... | |||
January 26, 2023 Issues » [Issue 23657] New: [REG2.101] Incorrect error escape reference to stack allocated value | |||
|---|---|---|---|
| |||
...length];
}
}
struct SmallSet(K, ushort capacity) {
private alias V = ubyte[1];
private SmallTable!(K, V... | |||
January 26, 2023 Issues » [Issue 23655] New: __traits(toType) shatters modularity | |||
|---|---|---|---|
| |||
...is a bad feature regardless.
```
struct S {};
alias t = __traits(toType, "S6totype1S");
```
then make a... | |||
Copyright © 1999-2021 by the D Language Foundation