On Tuesday, 3 August 2021 at 11:55:51 UTC, Paul Backus wrote:

You can't assign a `ref` to a variable; if you try, a copy is created.

What you can do instead is use a pointer:

```d
Unique!myType* rs = &query();
```

Thanks. I feared that. So something like

```
ref T var = ...
```

does not exist (yet)?

Reply via email to