On Thursday, 29 December 2016 at 22:54:35 UTC, Ali Çehreli wrote:

Can you explain that behavior?

What about: http://dlang.org/spec/const3.html#implicit_conversions
"An expression may be converted from mutable or shared to immutable if the expression is unique and all expressions it transitively refers to are either unique or immutable."

Reply via email to