November 21 Issues » [Issue 24869] Qualifier dropped from return type when AliasSeq is indexed with template argument | |||
|---|---|---|---|
| |||
...ref const(AliasSeq!(int)[0]) g() const;
pragma(msg, typeof(g)); // const ref const(int)()
-- | |||
November 21 DIP Ideas » Re: Separate meaning for "inline" and "force inline" | |||
|---|---|---|---|
| |||
The pragma itself does not have any additional behavior on it depending upon where it... | |||
November 20 DIP Ideas » Separate meaning for "inline" and "force inline" | |||
|---|---|---|---|
| |||
...understand correctly there are two meanings for `pragma(inline)`. 1. This means "the body of... | |||
November 18 Issues » [Issue 24865] New: __traits(hasMember, T, "__xdtor") is true in some cases where there is no __xdtor member | |||
|---|---|---|---|
| |||
...0] field; }
S6 s6;
pragma(msg, "S2: " ~ __traits(allMembers, S2).stringof);
pragma(msg, "S2: " ~ __traits... | |||
November 13 Issues » [Issue 24857] Unknown error while instantiating: __traits(compiles) hides the real issue | |||
|---|---|---|---|
| |||
...AllMembersInModule = y;
}
alias AllMembers = AllMembersInModule!(__traits(parent, {}));
pragma(msg, AllMembers); // added
```
Error: unknown, please file... | |||
November 11 Issues » [Issue 24854] New: An @disabled opAssign is generated when it doesn't need to be @disabled | |||
|---|---|---|---|
| |||
...hasMember, T, "opAssign"))
{
pragma(msg, "Overloads of opAssign for " ~ T.stringof);
pragma(msg, "---");
static foreach... | |||
November 08 Issues » [Issue 24229] Parser accepts fundamental types as primary expressions without dot identifier | |||
|---|---|---|---|
| |||
...things like this work: alias T = int; pragma(msg, int[T]); Before dmd 2.102... | |||
November 08 Learn » Error with -betterC | |||
|---|---|---|---|
| |||
...be added with the `-L` flag or `pragma(lib, ...)` Error: linker exited with status 1... | |||
October 31 DIP Development » Re: First Draft: Placement New Expression | |||
|---|---|---|---|
| |||
...the expression __traits(initSymbol, Type).length. ```d pragma(msg, __traits(initSymbol, Foo).length); struct Foo... | |||
October 25 Issues » [Issue 24835] New: hasElaborateAssign is true for structs where opAssign is disabled if a member variable has elaborate assignment | |||
|---|---|---|---|
| |||
...traits;
static struct S
{
void opAssign(S) {}
}
pragma(msg, "Has elaborate assignment: " ~ hasElaborateAssign!S.stringof... | |||
Copyright © 1999-2021 by the D Language Foundation