Hi,
References introduced make things much more complicated. e.g.
int a;
void f(int &n);
void g(int *p);
Isn't g(&a) much more clear than f(a), when we would change the value of
the lvalue a ?
Are there any efficiency differences ?
Is reference a must in c++ ?
thanks.
--
William Xuuu
Comment