denizzzka:

How to pass immutable to new?

One solution:

struct Cell {}
void main() {
    auto s = new immutable(Cell)();
}

Bye,
bearophile

Reply via email to