It is recommended by the C++ standard that std::vector grows exponentially in order to have an "amortized constant cost" regarding reallocation.
Although this type of growth is suitable for most scenarios, there may be a situation where I found I need vector to grow using a different algorithm.
Is there a way to customize how std::vector grows and what conditions it checks before re-allocating?