June 19, 2023 Learn » Re: is ref inout redundant in: ref inout(T) opIndex(size_t index) | |||
|---|---|---|---|
| |||
...int m; static assert(is(typeof(c[0]) == const(int))); static assert(is(typeof(i... | |||
June 19, 2023 Learn » Using C++ Classes From D: dmd cannot link, while ldc segfault | |||
|---|---|---|---|
| |||
...d1);
assert(d1 is null);
auto d2 = createInstance(42);
writeln(d2.field);
deleteInstance(d2);
assert... | |||
June 17, 2023 General » Better error message for endless recursion (or other segfaults) on linux | |||
|---|---|---|---|
| |||
...simpler to make a new handler using `assert(0)`. I also think it can be... | |||
June 16, 2023 Issues » [Issue 23996] pragma(assume) | |||
|---|---|---|---|
| |||
...Comment #2 from timon.gehr@gmx.ch --- `assert(expr)` does not fit the bill because... | |||
June 16, 2023 Issues » [Issue 23996] pragma(assume) | |||
|---|---|---|---|
| |||
...from elpenguino+D@gmail.com --- I think assert(expr) could provide this functionality. Maybe with... | |||
June 16, 2023 General » Re: assert and static assert and code generation | |||
|---|---|---|---|
| |||
...require the expression and message in an `assert` to be `pure` and `const`. That would... | |||
June 16, 2023 General » D’s delegates — The good, the bad, and the ugly | |||
|---|---|---|---|
| |||
...cannot affect values: ```d int x = 0; assert(x == 0); // passes auto dg = () const => x... | |||
June 16, 2023 General » Re: assert and static assert and code generatio | |||
|---|---|---|---|
| |||
LDC can't see the assertion at all, it's gone by the time the... | |||
June 16, 2023 General » Help! | |||
|---|---|---|---|
| |||
...are all over the place. For instance: ``` assert([0, 1, 2, 3].slide(2).equal... | |||
June 16, 2023 Learn » Re: C++'s this() equivalent? | |||
|---|---|---|---|
| |||
...return this_; } string name; } auto m = Man(); assert(m.name == defaultName); ``` Do note that one... | |||
Copyright © 1999-2021 by the D Language Foundation