Changeset c4d6c90 for libcfa/src/collections
- Timestamp:
- Aug 6, 2024, 7:51:31 AM (4 months ago)
- Branches:
- master
- Children:
- c03af31
- Parents:
- 4dab7e8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/collections/string.hfa
r4dab7e8 rc4d6c90 10 10 // Created On : Fri Sep 03 11:00:00 2021 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Aug 5 23:06:14202413 // Update Count : 1 2812 // Last Modified On : Tue Aug 6 07:49:52 2024 13 // Update Count : 130 14 14 // 15 15 … … 161 161 string ?+?( char c, const string & s ); // add a character to a copy of the string 162 162 string ?+?( const string & s, const string & s2 ); // copy and concatenate both strings 163 string ?+?( const char * s, char c ); // copy and concatenate both strings164 string ?+?( char c, const char * s ); // copy and concatenate both strings165 string ?+?( const char * s1, const char * s2 ); // copy and concatenate both strings166 string ?+?( const char * s1, string & s2 ); // copy and concatenate both strings167 string ?+?( const string & s, const char * c ); // copy and concatenatewith NULL-terminated string163 string ?+?( const char * s, char c ); // add a character to a copy of the string 164 string ?+?( char c, const char * s ); // add a character to a copy of the string 165 string ?+?( const char * c, const char * s ); // copy and add with two NULL-terminated string 166 string ?+?( const char * c, string & s ); // copy and add with NULL-terminated string 167 string ?+?( const string & s, const char * c ); // copy and add with NULL-terminated string 168 168 169 169 static inline string & strcat( string & s, const string & s2 ) { s += s2; return s; } … … 184 184 185 185 // Comparisons 186 int strcmp ( const string &, const string & );187 bool ?==?( const string &, const string & );188 bool ?!=?( const string &, const string & );189 bool ?>? ( const string &, const string & );190 bool ?>=?( const string &, const string & );191 bool ?<=?( const string &, const string & );192 bool ?<? ( const string &, const string & );193 194 int strcmp( const string &, const char * );195 bool ?==?( const string &, const char * );196 bool ?!=?( const string &, const char * );197 bool ?>? ( const string &, const char * );198 bool ?>=?( const string &, const char * );199 bool ?<=?( const string &, const char * );200 bool ?<? ( const string &, const char * );201 202 int strcmp( const char *, const string & );203 bool ?==?( const char *, const string & );204 bool ?!=?( const char *, const string & );205 bool ?>? ( const char *, const string & );206 bool ?>=?( const char *, const string & );207 bool ?<=?( const char *, const string & );208 bool ?<? ( const char *, const string & );186 int strcmp ( const string &, const string & ); 187 bool ?==?( const string &, const string & ); 188 bool ?!=?( const string &, const string & ); 189 bool ?>? ( const string &, const string & ); 190 bool ?>=?( const string &, const string & ); 191 bool ?<=?( const string &, const string & ); 192 bool ?<? ( const string &, const string & ); 193 194 int strcmp( const string &, const char * ); 195 bool ?==?( const string &, const char * ); 196 bool ?!=?( const string &, const char * ); 197 bool ?>? ( const string &, const char * ); 198 bool ?>=?( const string &, const char * ); 199 bool ?<=?( const string &, const char * ); 200 bool ?<? ( const string &, const char * ); 201 202 int strcmp( const char *, const string & ); 203 bool ?==?( const char *, const string & ); 204 bool ?!=?( const char *, const string & ); 205 bool ?>? ( const char *, const string & ); 206 bool ?>=?( const char *, const string & ); 207 bool ?<=?( const char *, const string & ); 208 bool ?<? ( const char *, const string & ); 209 209 210 210
Note: See TracChangeset
for help on using the changeset viewer.