review reference function in C++