Export (0) Print
Expand All

valarray::resize

Visual Studio 6.0
valarray::resize
void resize(size_t n, const T& c = T());

The member function ensures that size() henceforth returns n. If it must lengthen the controlled sequence, it appends elements with value c. Any pointers or references to elements in the controlled sequence are invalidated.

Show:
© 2014 Microsoft