Array clear() doesn't call destructor of class?

On an array like this:

why does clear() not call the destructor of the MyClass?

while in this case:

it does?

Pointers don’t have destructors.

I think you want to use OwnedArray.