I wonder if there is a way to check a pointer\'s validity besides the common assert(NULL != ptr). I tried the following to intentionally provoke an "access
assert(NULL != ptr)