In the examples that I saw the arguments were passed by reference in the following way:
void AddOne(int &y)
In the code that I have I see the following syntax:
void AddOne(int& y)
I wonder if it is the same or the second case is somehow different from the first one.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…