resize

Resizes an array and initializes the elements

  void resize(size_t sz, T c = T());
  
Remarks

If no object is provided the array is initialized with the default constructor.