casting away const and then mutating

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 24 13:20:45 PDT 2015


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?


More information about the Digitalmars-d mailing list