C++ valarray Library - Function destructor



Description

It destroys the valarray after calling each of the contained elements' destructors.

Declaration

Following is the declaration for std::valarray::~valarray function.

~valarray();

C++11

~valarray();

Parameters

none

Return Value

none

Exceptions

Basic guarantee − if any operation performed on the elements throws an exception.

Data races

All elements effectively copied are accessed.

valarray.htm
Advertisements