Having a problem with objects, not needed any more but still having references. Result: size of allocated memory is constantly growing due to not collected objects.
I\'am trying to return a string from a function but it doesn\'t compile. When I replace the std::string& type with int& it compiles, however I want to return additionally to the boolean a std: