May 16, 2022 Issues » [Issue 23112] New: code passes @nogc, allocates anyway | |||
|---|---|---|---|
| |||
...allocates, bypassing @nogc and -vgc.
struct Forward(alias F) {
auto opCall(Ts...)(Ts args) {
return... | |||
May 16, 2022 General » Re: ImportC can now automatically run the preprocessor | |||
|---|---|---|---|
| |||
...yourstruct.item So it is basically an `alias this` style forwarder done as a C... | |||
May 15, 2022 Duyuru » Re: Pazar Sohbeti: 15 Mayıs'22, TSİ.11 | |||
|---|---|---|---|
| |||
...expressions alias sum = partial!(binOp, Op.Plus); alias diff = partial!(binOp, Op.Minus); alias prod... | |||
May 14, 2022 General » Const hole | |||
|---|---|---|---|
| |||
...d
import std.sumtype;
void main() @safe
{
alias MyType = SumType!(int, char[]);
auto mt = const... | |||
May 13, 2022 Issues » [Issue 23109] ICE: AssertError@src/dmd/dclass.d(449): Assertion failure | |||
|---|---|---|---|
| |||
...100 compiler. Minimal object.d: --- module object; alias size_t = typeof(int.sizeof); class Object... | |||
May 13, 2022 Issues » [Issue 23109] New: ICE: AssertError@src/dmd/dclass.d(449): Assertion failure | |||
|---|---|---|---|
| |||
...data;
enum SMALLARRAYCAP = 1;
T[SMALLARRAYCAP] smallarray;
}
alias Ensures = Array!Ensure;
---
module dmd.func;
import... | |||
May 13, 2022 Learn » Re: Template shenannigans with multiple datatypes | |||
|---|---|---|---|
| |||
...conv : to;
alias Pointer(T) = T*;
class MultiGraph(Ts...){ // Ts == (float, double, int)
alias DataSources... | |||
May 13, 2022 Issues » [Issue 23107] dtor incorrectly skipped | |||
|---|---|---|---|
| |||
...id=22536 (not restricted to array literals). And the runtime one related to `alias this`. -- | |||
May 13, 2022 Issues » [Issue 23107] New: dtor incorrectly skipped | |||
|---|---|---|---|
| |||
...this.dtors = _dtors; }
~this() { ++*dtors; }
int* dtors;
alias dtors this;
}
int* explicit(int* dtors) { return... | |||
May 13, 2022 Learn » Re: Template shenannigans with multiple datatypes | |||
|---|---|---|---|
| |||
...import std.conv : to;
alias Pointer(T) = T*;
class MultiGraph(Ts...){
alias DataSources = staticMap!(Pointer... | |||
Copyright © 1999-2021 by the D Language Foundation