I think this question is best asked with a small code snippet I just wrote:
#include using namespace std; class BasicClass { public: B
When you store a reference to an object that has ended its lifetime, accessing it is undefined behavior. So anything can happen, it can work, it can fail, it can crash, and as it appears I like to say it can order a pizza.