Can anyone say that these rules below apply (I am not interested how you dereference not for that you must assign initial value when you declare reference) but if they can be used for the same think (say for pointer operations etc):
int b = 2;
int& a = b; equivalence with int *a = &b;
const int& a = b; equivalence with const int *const a = &b;
So if that applies can anyone provide me a solution how can I use a reference to represent?
const int *a = &b
int * const a = &b;
is this possible ?