| 296 | } |
| 297 | |
| 298 | inline void STLAssignToString(string* str, const char* ptr, size_t n) { |
| 299 | STLStringResizeUninitialized(str, n); |
| 300 | if (n == 0) return; |
| 301 | memcpy(&*str->begin(), ptr, n); |
| 302 | } |
| 303 | |
| 304 | inline void STLAppendToString(string* str, const char* ptr, size_t n) { |
| 305 | if (n == 0) return; |
no test coverage detected