A TArray's bug

I found a TArray container’s bug.

Look code;




In Array.h of 4.19.2
From this snap. We can find not matter the element in container or not, Add function and Remove function must throw a exception.
Why i say like this?
Because when i send this snap to my chat group, some one told me the CheckAddress function will throw exception when element didn’t in container.
The macro checkf’s parameter is not important in here. I think. So skip this to the logic.
A bug in TArray.
Isn’t it?