On Monday, 8 April 2013 at 13:13:22 UTC, Dicebot wrote: > Casting away D const is undefined behavior. It is still not for > single-threaded C++11 code AFAIK. That may make an important > difference for optimization opportunities. Minor correction, it is undefined to modify a const reference.