Changeset 7abc3de for libcfa/src/collections/string_res.hfa
- Timestamp:
- Jan 17, 2024, 6:31:03 PM (8 months ago)
- Branches:
- master
- Children:
- 906d8fa
- Parents:
- 11f65b3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/collections/string_res.hfa
r11f65b3 r7abc3de 78 78 (s){ rhs, strlen(rhs) }; 79 79 } 80 80 static inline void ?{}(string_res & s, char c ) { 81 ?{}( s, &c, 1); 82 } 83 84 // Deleting the copy constructors makes the compiler reject an attempt to call/return by value 81 85 void ?{}(string_res & s, const string_res & s2) = void; 82 86 void ?{}(string_res & s, string_res & s2) = void; … … 86 90 static inline void ?{}(string_res & s, const string_res & src, StrResInitMode mode ) { 87 91 ?{}( s, src, mode, 0, size(src)); 92 } 93 static inline void ?{}(string_res & s, const string_res & src, StrResInitMode mode, size_t maxlen ) { 94 ?{}( s, src, mode, 0, (size(src) > maxlen)?maxlen:size(src) ); 88 95 } 89 96
Note: See TracChangeset
for help on using the changeset viewer.