Should it compile?

```d
import std.algorithm.mutation;

void main() {
    const char a = void;
    const char b ='b';
moveEmplace(b, a); // mutation.d: Error: cannot modify const expression target
    assert(a == 'b');
}
```
I think, it should.

Reply via email to