4 days ago Learn » maybe a noreturn issue | |||
|---|---|---|---|
| |||
Not sure if that should compile
```d
int f()
{
while (true) {}
}
```
What I observe and... | |||
5 days ago Learn » Re: Variable modified by different threads. | |||
|---|---|---|---|
| |||
...mutex in order to increment a simple int. The CPU's atomic operation primitives already... | |||
5 days ago Learn » Search on Shared array and return | |||
|---|---|---|---|
| |||
...shared string username;
shared int age;
this(shared string username, shared int age)
{
this.username... | |||
5 days ago Learn » Re: Variable modified by different threads. | |||
|---|---|---|---|
| |||
...int gInt;
void initialize(int initialValue = 0)
{
mutex = new Mutex();
gInt = initialValue;
}
void increment(int... | |||
5 days ago Learn » Re: Variable modified by different threads. | |||
|---|---|---|---|
| |||
...private shared int gInt;
// Method to safely increment the global variable
void increment(int value... | |||
5 days ago Learn » Re: Variable modified by different threads. | |||
|---|---|---|---|
| |||
...variable that will be incremented collectively. shared int g; // This is the variable that will... | |||
5 days ago Learn » Re: How can I have those "template instance recursive expansion" errors under control? | |||
|---|---|---|---|
| |||
...enum isdata(T)=false;
unittest{
import std;
isdata!(int).writeln;
isdata!(data!(int,100)).writeln;
}
``` | |||
6 days ago Issues » [Issue 24533] clamp with smaller-than-int T1 fails to compile with literal parameters | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24533 --- Comment #1 from dlangBugzillaToGithub <robert.schadek... | |||
6 days ago Issues » [Issue 22280] [optimization]: std.conv.parse!(int, string) counts when doCount is false | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=22280 --- Comment #1 from dlangBugzillaToGithub <robert.schadek... | |||
6 days ago Issues » [Issue 21386] std.random.uniform!T(urng) when T is int/uint/long/ulong and urng.front is byte/ubyte/short/ushort is not supported but could be | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=21386 --- Comment #1 from dlangBugzillaToGithub <robert.schadek... | |||
Copyright © 1999-2021 by the D Language Foundation