Search

3 days ago
DIP Ideas »
...as its class, not a child.

```d
import std.stdio;

void main() {
    Child child = new...
4 days ago
General »
...d

```d
module app;

import std.stdio;

void main()
{
	import serialise;
	import std : writeln;

	writeln...
4 days ago
General »
...47 UTC, Max Samukha wrote:



The static import is a leftover from a previous iteration...
4 days ago
General »
...import std.stdio;
    writeln("A.serialize");
}

---
module b;

struct B
{
}

void serialise(void[], B)
{
    import...
4 days ago
General »
...thingMod = getModuleForThing!thing;
      mixin(import " ~  thingMod ~ ";");
      import default_serialise : serialise; // re-import at inner scope...
4 days ago
Learn »
...make everything happy:

```d
module myproj.volatile;

import core.volatile;

struct Volatile(T)
{
    private T...
4 days ago
Learn »
...in the data
}

import std.range  : chunks, put;
import std.string : format;
import std.stdio...
5 days ago
Learn »
...T)` struct template:

```d
module myproj.volatile;

import core.volatile;

struct Volatile(T)
{
    T v...
5 days ago
Learn »
...as shared and as not shared ?

```d
import std.stdio;


shared User[] users;


shared class...
5 days ago
Learn »
...the best method?

```d
import core.thread;
import core.atomic;
import core.sync.mutex;

struct...
1 2 3
Next ›   Last »