June 29, 2021 General » Re: Metaprogramming without templates | |||
|---|---|---|---|
| |||
...the function pointers to be initialized to dummy functions which do nothing. Let's have... | |||
June 14, 2021 Issues » [Issue 22021] pragma(mangle) not accepted in function body | |||
|---|---|---|---|
| |||
...mixin template ISR() {
enum dummy = 0;
alias impl = __traits(parent, dummy);
enum number = mixin(__traits... | |||
June 13, 2021 Issues » [Issue 22022] New: A function with pragma(mangle) mixed into a function body is missing from the binary | |||
|---|---|---|---|
| |||
...bar' in the generated object. To work around, nest the function in a dummy struct. -- | |||
June 13, 2021 Issues » [Issue 22021] New: pragma(mangle) not accepted in function body | |||
|---|---|---|---|
| |||
...unrecognized `pragma(mangle)`
To workaround, use a dummy struct:
void main() {
static struct S {
pragma... | |||
June 03, 2021 Announce » Re: From the D Blog: Driving with D | |||
|---|---|---|---|
| |||
At first, when I saw the title, I thought Ali applied some D code to... | |||
May 15, 2021 Learn » Re: struct destructor | |||
|---|---|---|---|
| |||
...C c=null;
@disable this();
this(int dummy) {
c=new C();
writeln("Constructor");
};//Constructor
~this... | |||
April 17, 2021 Issues » [Issue 21839] New: Strange output at Compile time | |||
|---|---|---|---|
| |||
...enum inter = {
struct Dummy{mixin(a);}
foreach(member_name; __traits(allMembers, Dummy)){
if(member_name... | |||
April 06, 2021 Issues » [Issue 21804] Type list (tuple) not expanded in delegate during IFTI | |||
|---|---|---|---|
| |||
...doing the right thing by first making a dummy instantiation which does not access `result`. -- | |||
February 27, 2021 General » Re: Discussion Thread: DIP 1035--@system Variables--Community Review Round 2 | |||
|---|---|---|---|
| |||
...struct DThinksThisIsSafe
{
union Storage { int value; void *dummy; }
Storage storage;
@safe ref int get() return... | |||
February 27, 2021 General » Re: Discussion Thread: DIP 1035--@system Variables--Community Review Round 2 | |||
|---|---|---|---|
| |||
...Unsafe(T)
{
union Storage { T value; void* dummy; }
Storage storage;
ref T get() { return Storage... | |||
Copyright © 1999-2021 by the D Language Foundation