I know that casting away const-ness should be done with care, and any attempt to remove const-ness from an initially const object foll
const
This particular example happens to be safe (have well defined behavior) because there is no write to an object which is declared const.