I think algorism makes a good point. You can easily cast away const-ness. I think just like the inline decoration, the compiler knows what's actually being written to and will decide on its own const-ness. If anything, const just makes it very easy to maintain, read and reason about your code. The compiler is your instruction generator so it knows what's being written to and what's being read from. const might just be more for the sake of humans.