| 180 | } |
| 181 | |
| 182 | void AbstractString::reserve(size_type n) |
| 183 | { |
| 184 | // Do not allow to reserve huge buffers |
| 185 | if (n > getMaxLength()) |
| 186 | n = getMaxLength(); |
| 187 | |
| 188 | reserveBuffer(n); |
| 189 | } |
| 190 | |
| 191 | void AbstractString::resize(const size_type n, char_type c) |
| 192 | { |
no outgoing calls
no test coverage detected