Changeset d672350 for libcfa/src/containers/string.cfa
- Timestamp:
- Mar 21, 2022, 1:44:06 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- a76202d
- Parents:
- ef3c383 (diff), dbe2533 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/containers/string.cfa
ref3c383 rd672350 92 92 } 93 93 94 string ?=?(string & this, string other) {94 string & ?=?(string & this, string & other) { //// <---- straw man change 95 95 (*this.inner) = (*other.inner); 96 96 return this; … … 235 235 int find(const string &s, const char* search, size_t searchsize) { 236 236 return find( *s.inner, search, searchsize); 237 } 238 239 int findFrom(const string &s, size_t fromPos, char search) { 240 return findFrom( *s.inner, fromPos, search ); 241 } 242 243 int findFrom(const string &s, size_t fromPos, const string &search) { 244 return findFrom( *s.inner, fromPos, *search.inner ); 245 } 246 247 int findFrom(const string &s, size_t fromPos, const char* search) { 248 return findFrom( *s.inner, fromPos, search ); 249 } 250 251 int findFrom(const string &s, size_t fromPos, const char* search, size_t searchsize) { 252 return findFrom( *s.inner, fromPos, search, searchsize ); 237 253 } 238 254
Note:
See TracChangeset
for help on using the changeset viewer.