Changeset e891349 for libcfa/src/collections/string_res.cfa
- Timestamp:
- Jan 17, 2024, 2:16:04 PM (6 months ago)
- Branches:
- master
- Children:
- 5bf685f
- Parents:
- 06280ad
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/collections/string_res.cfa
r06280ad re891349 563 563 } 564 564 565 string_res & assign(string_res & s, const string_res & src, size_t maxlen) { 566 return assign_(s, src.Handle.s, min(src.Handle.lnth, maxlen), *0p); 567 } 568 565 569 string_res & assign(string_res & s, const char * buffer, size_t bsize) { 566 570 return assign_(s, buffer, bsize, *0p); … … 637 641 } 638 642 643 void append(string_res & str1, const string_res & str2, size_t maxlen) { 644 append( str1, str2.Handle.s, min(str2.Handle.lnth, maxlen) ); 645 } 646 639 647 void ?+=?(string_res & s, char c) { 640 648 append( s, & c, 1 ); 641 649 } 642 650 void ?+=?(string_res & s, const char * c) { 651 append( s, c, strlen(c) ); 652 } 643 653 644 654 ///////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.