Changeset 108011 in vbox for trunk/include/VBox/com/string.h
- Timestamp:
- Feb 1, 2025 2:18:28 AM (3 months ago)
- svn:sync-xref-src-repo-rev:
- 167283
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/string.h
r106061 r108011 1263 1263 } 1264 1264 1265 /** Resolve compiler confusion. */ 1266 Utf8Str &assign(const char *a_pszSrc) 1267 { 1268 RTCString::assign(a_pszSrc); 1269 return *this; 1270 } 1271 1272 /** Resolve compiler confusion. */ 1273 Utf8Str &assign(const char *a_pszSrc, size_t a_cchSrc) 1274 { 1275 RTCString::assign(a_pszSrc, a_cchSrc); 1276 return *this; 1277 } 1278 1279 /** Resolve compiler confusion. */ 1280 RTCString &assign(const RTCString &a_rSrc) 1281 { 1282 RTCString::assign(a_rSrc); 1283 return *this; 1284 } 1285 1286 /** Resolve compiler confusion. */ 1287 RTCString &assign(const RTCString &a_rSrc, size_t a_offSrc, size_t a_cchSrc = npos) 1288 { 1289 RTCString::assign(a_rSrc, a_offSrc, a_cchSrc); 1290 return *this; 1291 } 1292 1293 /** 1294 * Assignment method for UTF-16 strings. 1295 * 1296 * @throws std::bad_alloc if we failed to allocate a new empty string. 1297 */ 1298 Utf8Str &assign(CBSTR that, size_t a_cwcSize = RTSTR_MAX) 1299 { 1300 copyFrom(that, a_cwcSize); 1301 return *this; 1302 } 1303 1265 1304 RTMEMEF_NEW_AND_DELETE_OPERATORS(); 1266 1305
Note:
See TracChangeset
for help on using the changeset viewer.