November 30 Learn » How can I have those "template instance recursive expansion" errors under control? | |||
|---|---|---|---|
| |||
...cast(CT) fun(args); }
}
struct Vector(CT, int N)
if(N.inRange(2, 4))
{
... lots... | |||
November 30 General » Coroutines, can they slice and dice easier? | |||
|---|---|---|---|
| |||
...in dmd and ldc (without optimizations).
```d
int usesBranchTable(ubyte i) {
switch(i) {
static foreach... | |||
November 29 Learn » Re: Is there a way to Deferred binding symbol from dynamic library? | |||
|---|---|---|---|
| |||
...d __gshared int* foreignLib_some_integer; //to load: foreignLib_some_integer = cast(int*)loadSymbol(foreignLib... | |||
November 28 General » Re: Just a friendly reminder about using arrays in boolean conditions | |||
|---|---|---|---|
| |||
...import std;
void main ()
{
auto arr = typeid (int).initializer;
writeln (arr ! is null); // true
writeln... | |||
November 27 Genel » Re: AA Helper | |||
|---|---|---|---|
| |||
...Öğrenci notlarını tutan bir listemiz olsun:
```d
int[string] öğrenciNotları;
static this()
{
öğrenciNotları = [
"Ali": 85... | |||
November 27 Learn » Re: File-like option where the "file contents" comes from a string? | |||
|---|---|---|---|
| |||
...args)
{
writeln(lineCount(File(args[1], "r")));
}
int lineCount(File f) => f.byLine.walkLength;
unittest... | |||
November 26 Issues » [Issue 24884] backend generates wrong 32-bit code after inlining math with double[4] | |||
|---|---|---|---|
| |||
...2] - point3[2];
int p = cast(int) &abcd;
int q = cast(int) &point1;
abcd[0... | |||
November 26 Issues » [Issue 24883] New: Speculative template overload error escapes with `-preview=rvaluerefparam` | |||
|---|---|---|---|
| |||
...raises an error: ```D int toString(Writer)(ref Writer sink) => 3; int toString(void delegate... | |||
November 25 Issues » [Issue 19348] Struct casts should be better documented. | |||
|---|---|---|---|
| |||
...doesn't explain this error:
struct S {
int[2] i;
}
void main()
{
S s;
s... | |||
November 25 Issues » [Issue 24881] New: ICE on attempt to compare deref of two functions ptr | |||
|---|---|---|---|
| |||
...The following input
```
void function(int) a;
void function(int) b;
void main()
{
const c... | |||
Copyright © 1999-2021 by the D Language Foundation