Attempting to post an easier to read/debug example of a question I posted earlier. The A-object in main.cpp, which is passed by reference into a B-object seems to end up bei