October 15 DIP Ideas » Re: Allow Conditional Compilation Inside Enum Declaration | |||
|---|---|---|---|
| |||
...format!"%s = %s,"(num++);
}
return str ~ "}";
}();
//...
}
void main()
{
enum Names
{ // mod 1, 0
Andy, Ali... | |||
October 15 Issues » [Issue 24817] New: UDA on nested template does not work | |||
|---|---|---|---|
| |||
...assert(__traits(getAttributes, bar)[0] == 3);
void main() {
@(3)
int ffoo() => 0;
static assert(__traits... | |||
October 15 Learn » Would appreciate some help porting Q3VM to D (mainly C macros and type conversions) | |||
|---|---|---|---|
| |||
...https://gist.github.com/markusbkk/442a571353a48c5377c503e7d02570fb My main problem are the macro functions at line... | |||
October 15 General » Re: Move Constructor Syntax | |||
|---|---|---|---|
| |||
...this.i = c;
}
alias i this;
}
void main() {
S s1, s2, s3;
int i = 1... | |||
October 14 Issues » [Issue 24815] New: betterC can not use alloca() | |||
|---|---|---|---|
| |||
...ld: alloca1.o: in function `main': alloca1.d:(.text.main[main]+0x21): undefined reference to... | |||
October 14 Issues » [Issue 24814] New: betterC not able to use core.stdc.stdarg | |||
|---|---|---|---|
| |||
...end(ap);
return rc;
}
extern(C) void main() {
wrap_printf("Foo\n");
}
```
```
$ dmd -betterC stdarg1... | |||
October 14 Learn » Float swap using bswap produces different values | |||
|---|---|---|---|
| |||
...assert(false, "Unsupported T: " ~ T.stringof);
}
void main () {
float[1] floatswapBuffer = [3.14f];
writeln(floatswap... | |||
October 14 General » Re: Move Constructor Syntax | |||
|---|---|---|---|
| |||
...this(typeof(this));
}
void fun(S);
void main()
{
S a;
fun(a);
}
```
When the fun... | |||
October 13 Learn » Error when compiling with C libs | |||
|---|---|---|---|
| |||
...L-lpng -L-lm -L-lz tilengine_main.d /usr/include/bits/floatn-common.h... | |||
October 13 General » move+forward as intrinsics, incl. revised forward semantics for perfect forwarding | |||
|---|---|---|---|
| |||
...this() {
printf("dtor: %p\n", &this);
}
}
void main() {
{
auto lval = S(1);
printf("lval: %p... | |||
Copyright © 1999-2021 by the D Language Foundation