std::valarray::resize
cppreference.com
[] |
Google. . , . , . |
<metanoindex/>
<tbody> </tbody> void resize( std::size_t count, T value = T() ); |
||
valarray
count. ,
count, value.:
If the current size is less than
count, additional elements are appended and initialized with value.count, valarray count.:
If the current size is greater than
count, the valarray is reduced to its first count elements.| count | ||
| value |
()
| : |
.
| valarray (public -) |