Grow policy define how the vector should grow every time we exceed the size. More...
Grow policy define how the vector should grow every time we exceed the size.
In this case it double up the size
Definition at line 46 of file map_vector_grow_p.hpp.
#include <map_vector_grow_p.hpp>
Static Public Member Functions | |
static size_t | grow (size_t original, size_t requested) |
It say how much the vector must grow. | |
|
inlinestatic |
It say how much the vector must grow.
original | size |
requested | size |
Definition at line 58 of file map_vector_grow_p.hpp.