public member function
Destroys the valarray after calling each of the contained elements' destructors (if any).
Depends on library implementation (operations may be parallelized).
Invalidates all iterators, references and sub-arrays of the valarray.
The object and all its contained elements are destroyed.
No-throw guarantee: never throws exceptions.