C++ function call by reference
C++ function reference
do not return non-const reference
int GetFunc(){}
int& GetFunc(){}
return copy or return reference
Last updated
Was this helpful?
C++ function reference
do not return non-const reference
int GetFunc(){}
int& GetFunc(){}
return copy or return reference
Last updated
Was this helpful?