On Friday, 24 July 2015 at 21:12:57 UTC, Jonathan M Davis wrote:
Well, regardless of whether mimicking inout like we're talking about with RedBlackTree should be considered defined behavior or not, I think that the spec should be updated so that the situation is clearer. It needs to be clear to the community at large that you _cannot_ be casting away const and mutating simply because you know that the data is mutable underneath rather than immutable.

Pull request for that:
https://github.com/D-Programming-Language/dlang.org/pull/1047

Reply via email to