Pointer to const location, '&' and copy CTor

Hi,

is int foo(int&) same as int foo(int *const)?

if yes than in case of Copy Ctor why cant we have X(X* const) instead of X(X&)?
I don't think it is the same. pointer can point to NULL at run-time whereas for reference, it always "point" to something at run-time. Usually reference variables are strongly recommended but on some occasions pointer variables is needed instead.
Topic archived. No new replies allowed.