I totally agree, by placing the const on the right side we can read from right to left:
intfoo;// integerintconstfoo;// const integerint*foo;// pointer to integerintconst*foo;// pointer to constant integerint&foo;// reference to intintconst&foo;// reference to constant intintconst*constfoo;// constant pointer to constant intintconst&constfoo;// constant reference to constant int
re: The const issue VIEW POST
FULL DISCUSSIONI totally agree, by placing the const on the right side we can read from right to left: