Increase the capacity to at least a certain amount. This increases the capacity of the array to a value that is greater than or equal to `new_capacity`. If `new_capacity > `@ref capacity(), new memory is allocated. Otherwise, the call has no effect. The number of elements and therefore the @ref size() of the container is not changed. If new memory
| 1062 | @throw boost::system::system_error `new_capacity > `@ref max_size(). |
| 1063 | */ |
| 1064 | void |
| 1065 | reserve(std::size_t new_capacity) |
| 1066 | { |
| 1067 | if(new_capacity <= capacity()) |
| 1068 | return; |
| 1069 | reserve_impl(new_capacity); |
| 1070 | } |
| 1071 | |
| 1072 | /** Request the removal of unused capacity. |
| 1073 |
no outgoing calls