Resize a vector and shrink its capacity to fit.
Synopsis
Declared in <folly/container/FBVector.h>
template<
class T,
class A>
void
compactResize(
fbvector<T, A>* v,
size_t sz);
Parameters
Name |
Description |
v |
The vector to resize. |
sz |
The new size. |
Created with MrDocs