October 18 Learn » Re: Scope & Structs | |||
|---|---|---|---|
| |||
...nogc:
this() scope {}
void method1() scope {}
scope { // ok
void method2() {}
}
scope: // no indication at function... | |||
October 16 Issues » [Issue 24811] Cant compile C code | |||
|---|---|---|---|
| |||
...main.h> // clang -c SDL3.c # compile OK ldc -c SDL3.c # compile ERRORS /usr... | |||
October 15 Learn » Re: Error when compiling with C libs | |||
|---|---|---|---|
| |||
...c lib.c # compile OK dmd -c lib.c # compile OK with WARNING lib.c... | |||
October 15 Learn » Re: Error when compiling with C libs | |||
|---|---|---|---|
| |||
...c lib.c # compile OK dmd -c lib.c # compile OK with WARNING lib.c... | |||
October 15 Issues » [Issue 24811] Cant compile C code | |||
|---|---|---|---|
| |||
...c lib.c # compile OK dmd -c lib.c # compile OK with WARNING lib.c... | |||
October 13 Issues » [Issue 24811] New: Cant compile C code | |||
|---|---|---|---|
| |||
...double _Float64x; // clang -c lib.c # compile OK dmd -c lib.c # compile ERRORS lib... | |||
October 13 Learn » Re: Scope & Structs | |||
|---|---|---|---|
| |||
...f()
{
int i;
scope s = S(&i); // OK (scope will be inferred if missing)
return... | |||
October 13 General » Re: Move Constructors - Converting Lvalues to Rvalues | |||
|---|---|---|---|
| |||
...s=2; // ok, actually does `S s=S(2)`
S t=s; // ok, actually does... | |||
October 10 Issues » [Issue 20876] generated constructor always inout regardless of ability of fields to use inout | |||
|---|---|---|---|
| |||
...main()
{
{
shared S original;
S copy = original; // ok
}
{
shared T original;
T copy = original; // fails... | |||
October 06 Learn » Re: Genuine copy of an element from an associative array | |||
|---|---|---|---|
| |||
...dup; I think casting away const is OK because the AA produced by `dup` is... | |||
Copyright © 1999-2021 by the D Language Foundation