On 07/24/2015 10:08 PM, Steven Schveighoffer wrote:
We can start with "casting away const and mutating, even if you know the underlying data is mutable, is UB, except for these situations:..." And relax from there.
But what is the point?
Timon Gehr via Digitalmars-d Fri, 24 Jul 2015 13:26:00 -0700
On 07/24/2015 10:08 PM, Steven Schveighoffer wrote:
We can start with "casting away const and mutating, even if you know the underlying data is mutable, is UB, except for these situations:..." And relax from there.
But what is the point?