5 days ago Learn » Re: Variable modified by different threads. | |||
|---|---|---|---|
| |||
...d import std.conv, std.stdio; import core.sync.mutex; import core.atomic; import core... | |||
6 days ago Learn » Re: Variable modified by different threads. | |||
|---|---|---|---|
| |||
...differences: import core.atomic; import core.thread; import std.concurrency; import std.conv; import std... | |||
6 days ago Learn » Re: Variable modified by different threads. | |||
|---|---|---|---|
| |||
...line! ``` import core.atomic : atomicFetchAdd; import std.concurrency : spawn; import core.time : msecs; import core... | |||
6 days ago Learn » Re: How can I have those "template instance recursive expansion" errors under control? | |||
|---|---|---|---|
| |||
...N)=true;
enum isdata(T)=false;
unittest{
import std;
isdata!(int).writeln;
isdata!(data!(int... | |||
6 days ago Learn » Re: How can I have those "template instance recursive expansion" errors under control? | |||
|---|---|---|---|
| |||
...This fails in a separate module:
```d
import het.math; void main(){ auto img = image2D... | |||
6 days ago Learn » Re: Plot one pixel in blue on a canvas | |||
|---|---|---|---|
| |||
...the alternate syntax using `with` statement).
```d
import chitra;
void main()
{
auto ctx = new Chitra... | |||
6 days ago Learn » Re: Plot one pixel in blue on a canvas | |||
|---|---|---|---|
| |||
...d
Example for your use case,
```d
import chitra;
void main()
{
auto ctx = new Chitra... | |||
6 days ago Issues » [Issue 21943] `static import std; ` should allow accessing all public Phobos symbols by their FQN | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=21943 --- Comment #1 from dlangBugzillaToGithub <robert.schadek... | |||
6 days ago Issues » [Issue 21907] The number of templates instantiated when doing just `import std;` is too damn high | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=21907 --- Comment #1 from dlangBugzillaToGithub <robert.schadek... | |||
6 days ago General » Re: Variable notation | |||
|---|---|---|---|
| |||
...void Check(T)(T obj) {
import std.stdio : writeln;
import std.traits : hasUDA;
static if... | |||
Copyright © 1999-2021 by the D Language Foundation