On Tuesday, 29 November 2016 at 10:46:04 UTC, drug wrote:
I had the following code:
```
import std.algorithm: equal;

[...]

You are not calling the (identity) opAssign here, but postblit.

To call identity opAssign, you need an already constructed instance:

```
Data mutable_data;
mutable_data = const_data;
```

Reply via email to