October 17 General » Re: Move Constructor Syntax | |||
|---|---|---|---|
| |||
...t;
int x;
// (no move constructor)
}
void main(){
S s0;
S s1=move(s0); // must... | |||
October 17 General » Re: Move Constructor Syntax | |||
|---|---|---|---|
| |||
...is fixed, but it should not be the main motivation for special move constructor syntax. | |||
October 16 General » Re: Move Constructor Syntax | |||
|---|---|---|---|
| |||
...S s = S(j++);
return s;
}
}
void main() {
S a, b, c;
a = S(1... | |||
October 16 General » Re: Move Constructor Syntax | |||
|---|---|---|---|
| |||
...this.i = c;
}
alias i this;
}
void main() {
S s1, s2, s3;
int i = 1... | |||
October 16 Announce » Just another QR code library | |||
|---|---|---|---|
| |||
...based on Project Nayuki's library. The main idea behind it was to create something... | |||
October 16 Issues » [Issue 24811] Cant compile C code | |||
|---|---|---|---|
| |||
...8 #define SDL_MAIN_USE_CALLBACKS 1 /* use the callbacks instead of main$ #include <SDL3... | |||
October 15 General » Re: Move Constructor Syntax | |||
|---|---|---|---|
| |||
...count; }
}
int count;
enum value = 42;
void main()
{
auto s1 = S(value);
auto s2 = S... | |||
October 15 General » Re: Move Constructor Syntax | |||
|---|---|---|---|
| |||
...this (int i) { }
this (S s) { }
}
void main() {
S s1, s2;
s1 = S(1);
s2... | |||
October 15 Issues » [Issue 24819] Optimizer changes result of float calculations on 32-bit | |||
|---|---|---|---|
| |||
...math;
return core.math.sqrt(x);
}
void main()
{
double q = -1.0;
double r = q... | |||
October 15 Issues » [Issue 24819] New: Optimizer changes result of float calculations on 32-bit | |||
|---|---|---|---|
| |||
...different result for the following code:
```
void main()
{
double[4] y;
cubic_roots(-3.016658e... | |||
Copyright © 1999-2021 by the D Language Foundation