const T
and
T const
are identical. Pay attention to pointer precedence, however:
char const*
is a pointer to a constant char (array), while
char* const
is a constant pointer to a mutable char (array)const T
and
T const
are identical. Pay attention to pointer precedence, however:
char const*
is a pointer to a constant char (array), while
char* const
is a constant pointer to a mutable char (array)