> But if you don't add the bool checks you might get segmentation fault. > Or am I missing something? > In D all pointers are zero-filled on initialization so it counts as a bool for me and null is the same as if you had a *.init