| Function reserve Increases the capacity. Size reserve(object, new_capacity [, resize_tag]) Parameters
object | A container. Types: Block String, Packed String, std::basic_string, String
new_capacity | The new capacity object will get.
resize_tag | Specifies the strategy that is applied for changing the capacity. (optional) Types: Overflow Strategy Default: Specified by DefaultOverflowExplicit.
Return Values The ammout of the requested capacity that was available. That is the function returns the minimum of new_capacity and capacity(me). Metafunctions: Size Remarks At the end of the operation, capacity(me) can be larger than new_capacity. If new_capacity is smaller than capacity(me) at the beginning of the operation, the operation need not to change the capacity at all. This operation does not changes the content of object. Note: This operation may invalidate iterators of object. See Also capacity, fill, resize, shrinkToFit SeqAn - Sequence Analysis Library - www.seqan.de