I think you've got it backwards. I learned to read pointer decls from right-to-left, so const int * is a (mutable) pointer to an int which is const while int *const is a const pointer to a (mutable) int.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: