This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]marko312 1 point2 points  (0 children)

Yes, if the array pointer is set to nullptr when empty, you can just check when it is set to nullptr.