Share via


valarray::free

Frees the memory used by the valarray.

void free();

Remarks

This nonstandard function is equivalent to assigning an empty valarray. For example:

valarray<T> v;
v = valarray<T>(); // equivalent to v.free()

Requirements

Header: <valarray>

Namespace: std

See Also

Reference

valarray Class