@:laserlight: Oh, I see, I'm very sorry because I have a basic mistake here
As you know: Pointer to Pointer look like:
Code:
int a=5;
int*p=&a;
int**p=&p;
Because above code, may I have this question: if C++ agree have <Pointer to reference> and <reference to reference>, So does It looks like:
Code:
int a=5;
int &ref=a;
int*& ptr=&ref; //pointer to reference
int&& ref_ref=ref;//reference to reference
I know above code is very funny, but I still want to know: if my supposition is true, so pointer to ref and ref to ref looks like that, huh :-?
Thanks for all