Berkeley DB Reference Version 5.3.35

resize

Function Details

void resize(size_type n,
    T t=T())
 

Resize this container to specified size n, insert values t if need to enlarge the container.

This function supports auto-commit.

Parameters

t

The value to insert when enlarging the container.

n

The number of elements in this container after the call.

See Also

http://www.cplusplus.com/reference/stl/vector/resize/

Class

db_vector