5 days ago Learn » Re: volatile struct definition for peripheral control registers | |||
|---|---|---|---|
| |||
...format;
import std.stdio : writeln;
void main()
{
enum text = "sixtwoone";
auto test = FixedStr!22("Nums... | |||
5 days ago Learn » Re: Variable modified by different threads. | |||
|---|---|---|---|
| |||
...value);
}
}
auto getValue()
{
synchronized(mutex)
{
return gInt;
}
}
}
enum INC = 100;
void incrementInThread(int incrementValue)
{
for... | |||
5 days ago Learn » Re: Variable modified by different threads. | |||
|---|---|---|---|
| |||
...atomicOp!"+="(increment);
}
}
void main() {
// Spawn some threads.
enum totalThreads = 3;
foreach (i; 0 .. totalThreads) {
const... | |||
6 days ago Learn » Re: How can I have those "template instance recursive expansion" errors under control? | |||
|---|---|---|---|
| |||
...t N){}
enum isdata(T:data!(S,N),S,size_t N)=true;
enum isdata... | |||
6 days ago Issues » [Issue 24880] to!string with inout enum argument fails to compile | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24880 --- Comment #2 from dlangBugzillaToGithub <robert.schadek... | |||
6 days ago Issues » [Issue 21639] Inconsistent output for enum value when calling "text" vs "to!string" | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=21639 --- Comment #1 from dlangBugzillaToGithub <robert.schadek... | |||
6 days ago Issues » [Issue 21168] std.utf.decode front/back should be able to decode using enum character types | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=21168 --- Comment #1 from dlangBugzillaToGithub <robert.schadek... | |||
6 days ago Issues » [Issue 21112] std.conv.to fails to convert to 'typedef' like enum | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=21112 --- Comment #1 from dlangBugzillaToGithub <robert.schadek... | |||
6 days ago Issues » [Issue 19547] New 2.082 Attributes on Enum Member prevent from formatting | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=19547 --- Comment #2 from dlangBugzillaToGithub <robert.schadek... | |||
6 days ago Issues » [Issue 17542] DSON conversion of enums misses enum name | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=17542 --- Comment #1 from dlangBugzillaToGithub <robert.schadek... | |||
Copyright © 1999-2021 by the D Language Foundation