G
Gernot Frisch
Hi,
just a stupid question:
int a(0),b(1);
int& ra = a;
int& rb = b;
ra = rb; // copies the data from b to a, right?
How would you copy the pointer to b in ra, so that ra points to b?
just a stupid question:
int a(0),b(1);
int& ra = a;
int& rb = b;
ra = rb; // copies the data from b to a, right?
How would you copy the pointer to b in ra, so that ra points to b?