October 25 Issues » [Issue 24834] New: opAssign is not generated for structs with copy constructors | |||
|---|---|---|---|
| |||
...behavior, e.g.
---
struct S
{
this(this) {}
}
pragma(msg, __traits(allMembers, S));
---
prints
---
AliasSeq!("__postblit... | |||
October 22 Learn » Re: Function names, Lib used from C and D | |||
|---|---|---|---|
| |||
pragma mangle modifies how the symbol name will appear to the linker. ```d pragma(mangle... | |||
October 19 Learn » Re: List classes at compile time | |||
|---|---|---|---|
| |||
...module";
pragma(msg, __traits(allMembers, __traits(parent, foo))); // prints AliasSeq!("object", "std", "dummy", "foo")
//pragma... | |||
October 15 Issues » [Issue 24819] Optimizer changes result of float calculations on 32-bit | |||
|---|---|---|---|
| |||
...live.nl> ---
Reduced:
```
import core.stdc.stdio;
pragma(inline, true)
double sqrt(double x)
{
static... | |||
October 14 Issues » [Issue 24815] New: betterC can not use alloca() | |||
|---|---|---|---|
| |||
...be added with the `-L` flag or `pragma(lib, ...)` Error: linker exited with status 1... | |||
October 14 Issues » [Issue 24814] New: betterC not able to use core.stdc.stdarg | |||
|---|---|---|---|
| |||
...stdarg1.d: ```d import core.stdc.stdarg; pragma(printf) public extern(C) int wrap_printf... | |||
October 13 DIP Ideas » Re: explicitly temporary or permanent alias | |||
|---|---|---|---|
| |||
...something like this, it would be a pragma as a hint instead. That doesn't... | |||
October 11 Learn » Re: (How) can reflection recoginzie `extern` variables? | |||
|---|---|---|---|
| |||
```d extern int x; int y; pragma(msg, __traits(isSame, y, x)); ``` I tried it... | |||
October 11 Issues » [Issue 24791] pragma(msg, BasicType TypeSuffix) doesn't parse | |||
|---|---|---|---|
| |||
...obvious bug: pragma(msg, int); // > int pragma(msg, int*); // > int* alias X = int; pragma(msg... | |||
October 11 General » Re: betterC and core.stdc modules; betterC and varargs routines | |||
|---|---|---|---|
| |||
...extern(C) void va_end(void* ap){}
pragma(printf)
public extern(C) int wrap_printf... | |||
Copyright © 1999-2021 by the D Language Foundation