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