Sorry, in your original post I missed that one declaration was const while the other was not.
So the examples you gave in your reply are functionally equivalent. The examples in your
original post are not, since in the first case s_mem is changeable at runtime whereas in the
second case it is not.