Helper function for geometric growth
| 22 | |
| 23 | // Helper function for geometric growth |
| 24 | void grow_capacity() { |
| 25 | size_type new_capacity = capacity_ == 0 ? 1 : capacity_ * 2; |
| 26 | reserve(new_capacity); |
| 27 | } |
| 28 | |
| 29 | public: |
| 30 | // Constructors |
nothing calls this directly
no outgoing calls
no test coverage detected