Like str->resize(new_size), except any new characters added to "*str" as a result of resizing may be left uninitialized, rather than being filled with '0' bytes. Typically used when code is then going to overwrite the backing store of the string with known data.
| 82 | // '0' bytes. Typically used when code is then going to overwrite the backing |
| 83 | // store of the string with known data. |
| 84 | inline void STLStringResizeUninitialized(string* s, size_t new_size) { |
| 85 | gtl_internal::ResizeUninitializedTraits<string>::Resize(s, new_size); |
| 86 | } |
| 87 | |
| 88 | // Calls delete (non-array version) on the SECOND item (pointer) in each pair in |
| 89 | // the range [begin, end). |
no test coverage detected