Nullptr and NULL question

Thanks for the example, it works for me too. I have no idea why my code was registering true. I edited my code, and recompiled again and it worked. I don’t understand why it was returning true. It would return true then attempt to access a value and crash.

If it happens again I will try to debug it more thoroughly.