March 08, 2021 Issues » [Issue 21688] New: CTFE has floats and doubles that exceed float.max and double.max | |||
|---|---|---|---|
| |||
...assert(is (typeof(f(f1)) == float));
static assert...enum f1 = float.max;
pragma(msg, f(f1... | |||
February 19, 2021 Learn » Re: Creating 1000 instances | |||
|---|---|---|---|
| |||
...new int[4][4];
pragma(msg, typeof(a...of arrays for you:
assert(e[0].length... | |||
February 04, 2021 Learn » Re: std.typecons rebindable + tuple with const class gives warning | |||
|---|---|---|---|
| |||
...trusted ulong()` according to pragma(msg, typeof(Object...pure @safe nothrow @nogc
{
assert(0, "Not implemented... | |||
February 01, 2021 Learn » Re: Quick question | |||
|---|---|---|---|
| |||
...static assert (a.sizeof == C.sizeof); pragma(msg, "Size of the reference: ", a.sizeof); pragma... | |||
January 31, 2021 Issues » [Issue 21471] Backend assertion triggered with `-checkation=context` and `-inline` | |||
|---|---|---|---|
| |||
...void main()
{
auto c = 0;
assert(isClose(c, exp(1)));
}
pragma(inline, true)
real exp... | |||
January 12, 2021 General » Re: Why does D not have generics? | |||
|---|---|---|---|
| |||
...T* obj){ self = obj; }
pragma(inline,true) void...obj.as_StackConcept();
static assert (is_StackConcept!(typeof... | |||
January 08, 2021 General » Re: Feedback Thread: DIP 1039--Static Arrays with Inferred Length--Community Review Round 1 | |||
|---|---|---|---|
| |||
...a1 = "cerise".staticCharArray;
static assert(is(typeof(a1...2].staticArray, [3, 4]];
pragma(msg, typeof(a4... | |||
November 21, 2020 General » Re: spec: Function types | |||
|---|---|---|---|
| |||
...pragma(msg, typeof(fun).stringof); // int(int x) alias funType = int(int x); static assert... | |||
October 29, 2020 Issues » [Issue 21349] New: copy and postblit constructors aren't compatible | |||
|---|---|---|---|
| |||
...pragma(inline, false);
}
}
void main()
{
C c;
auto d = c;
assert(d.sOld.s);
assert... | |||
October 25, 2020 Learn » Re: Template pattern delegate? | |||
|---|---|---|---|
| |||
...is (ReturnType!Func == int)) {
pragma(msg, format!"\n...file, line, functionName));
static assert(false);
}
void printError... | |||
Copyright © 1999-2021 by the D Language Foundation