c++ - what's the meaning of *& -
i java coder , not familar c++ language. right now,i read following code:
void method(a* a,a*& b); *a; *b; method(a,b);
and question is: what's meaning of "*&"?does means represent value of b itself? thx
b
reference pointer of a
.
so if method
sets b
, b
in scope of call changed.
Comments
Post a Comment