Either way, you are right, and my comment should have been: 1) constraint 2) providing clues to developers 3) providing clues to optimizer.
I agree that const is useful for the other reasons you mention.
I agree that const is useful for the other reasons you mention.