re: The const issue VIEW POST


I totally agree, by placing the const on the right side we can read from right to left:

int foo;        // integer
int const foo;  // const integer
int* foo;       // pointer to integer
int const* foo; // pointer to constant integer
int& foo;       // reference to int
int const& foo; // reference to constant int
int const* const foo; // constant pointer to constant int
int const& const foo; // constant reference to constant int    
code of conduct - report abuse