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