LuckyLucks
asked on
return type
HI
Why would a function returning B& cause a memory leak? B,A are two C++ classes.
Eg
B& A::myfunction(){ ....}
thanks
Why would a function returning B& cause a memory leak? B,A are two C++ classes.
Eg
B& A::myfunction(){ ....}
thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.