dennis luehring:

and how would it look to preserve the const if auto would auto-rip it of?

You could write:

immutable j = n;

For every default behavour you need a way to implement the other nicely :-)

Currently for the problem of the OP you can use this:

Unqual!(typeof(n)) j = n;

Bye,
bearophile

Reply via email to