I know that destructor is used to destroy global pointers in a class but do i need them to destroy normal variables like int or std::string?

how about array like int num[2]?

what variable types should be destroyed in destructor?

for example:

```
class myclass
{
public:
   myclass()
   ~myclass()
   {
      delete num;
      delete ar_num;
      delete str;
   }
private:
   int num;
   std::string str;
   int ar_num[2] = {0,1}; 
}

```