September 23 Learn » mod of negative number | |||
|---|---|---|---|
| |||
...writeln("Val = ", -1 % Q);
return 0;
}
\</code>
Print
Val = 5568
Was hoping for 1.
I... | |||
September 23 Issues » [Issue 24781] New: alias this on inner structs have wrong behaviour | |||
|---|---|---|---|
| |||
...foo.foobar.humm); } --- It is expected to print `false` but runs the `assert(0)`. `--preview... | |||
September 23 Issues » [Issue 24780] New: Errors in Using "alias this = arr" within a Class | |||
|---|---|---|---|
| |||
...writeln(a); // output err: [] } ``` When attempting to print the value of variable a for the... | |||
September 20 Issues » [Issue 24772] Casting class references to void* should be @safe | |||
|---|---|---|---|
| |||
...debug {} just because I'm trying to print out the pointer value of a class... | |||
September 20 Issues » [Issue 24774] New: Input range + filter + chain => First element vanishes | |||
|---|---|---|---|
| |||
...x>10);
auto r2 = only(100);
// Will print [7.8,9,10,100]
// 6 is... | |||
September 13 General » Re: Standard way to supply hints to branches | |||
|---|---|---|---|
| |||
...implicitly unlikely
print("early exit")
return
}
// look ma - val is in scope here!
print("val... | |||
September 11 General » better debugging for d3 prototype | |||
|---|---|---|---|
| |||
...unmixing", as I think this enables better print-debuging api, so I made a prototype... | |||
September 09 Learn » Re: Is it possible to use templates to implement something like the `@show` macro from the Julia programming langauge in D? | |||
|---|---|---|---|
| |||
...should be the most common form of print-based debugging. It also seems to be... | |||
September 08 Learn » Is it possible to use templates to implement something like the `@show` macro from the Julia programming langauge in D? | |||
|---|---|---|---|
| |||
...I want a way to create a print command that behaves like `@show` from Julia... | |||
August 30 General » Re: interpolation proposals and safety | |||
|---|---|---|---|
| |||
...have figured out how to make it print all the fields via a runtime interface... | |||
Copyright © 1999-2021 by the D Language Foundation