[#bsl-vector-0a0-reserve] = xref:bsl.adoc[bsl]::xref:bsl/vector-0a0.adoc[vector<signed char>]::reserve :relfileprefix: ../../ :mrdocs: Change the capacity of this vector to the specified `newCapacity`. If an exception is thrown (other than by the move constructor of a non‐copy‐insertable `value_type`), `*this` is unaffected. Throw `bsl::length_error` if `newCapacity > max_size()`. This method requires that the (template parameter) type `VALUE_TYPE` be `move‐insertable` into this vector (see {Requirements on `VALUE_TYPE`}). Note that the capacity of this vector after this operation has completed may be greater than `newCapacity`. == Synopsis Declared in `<bslstl_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void reserve(xref:bsl/vector-0a0/size_type.adoc[size_type] newCapacity); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#