D
D. Susman
Hi,
Say I have a vector v. Is there a way to limit its size (capacity?)
initially so that it does not grow due to insertions? Would setting
the capacity as a fixed number do the trick? If so, what happens when
capacity is reached?
Thanks.
Say I have a vector v. Is there a way to limit its size (capacity?)
initially so that it does not grow due to insertions? Would setting
the capacity as a fixed number do the trick? If so, what happens when
capacity is reached?
Thanks.