Ignore:
Timestamp:
Aug 6, 2024, 7:51:31 AM (3 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
c03af31
Parents:
4dab7e8
Message:

formatting, documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/collections/string.hfa

    r4dab7e8 rc4d6c90  
    1010// Created On       : Fri Sep 03 11:00:00 2021
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Aug  5 23:06:14 2024
    13 // Update Count     : 128
     12// Last Modified On : Tue Aug  6 07:49:52 2024
     13// Update Count     : 130
    1414//
    1515
     
    161161string ?+?( char c, const string & s );                                 // add a character to a copy of the string
    162162string ?+?( const string & s, const string & s2 );              // copy and concatenate both strings
    163 string ?+?( const char * s, char c );                                   // copy and concatenate both strings
    164 string ?+?( char c, const char * s );                                   // copy and concatenate both strings
    165 string ?+?( const char * s1, const char * s2 );                 // copy and concatenate both strings
    166 string ?+?( const char * s1, string & s2 );                             // copy and concatenate both strings
    167 string ?+?( const string & s, const char * c );                 // copy and concatenate with NULL-terminated string
     163string ?+?( const char * s, char c );                                   // add a character to a copy of the string
     164string ?+?( char c, const char * s );                                   // add a character to a copy of the string
     165string ?+?( const char * c, const char * s );                   // copy and add with two NULL-terminated string
     166string ?+?( const char * c, string & s );                               // copy and add with NULL-terminated string
     167string ?+?( const string & s, const char * c );                 // copy and add with NULL-terminated string
    168168
    169169static inline string & strcat( string & s, const string & s2 ) { s += s2; return s; }
     
    184184
    185185// 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 &);
     186int strcmp ( const string &, const string & );
     187bool ?==?( const string &, const string & );
     188bool ?!=?( const string &, const string & );
     189bool ?>? ( const string &, const string & );
     190bool ?>=?( const string &, const string & );
     191bool ?<=?( const string &, const string & );
     192bool ?<? ( const string &, const string & );
     193
     194int strcmp( const string &, const char * );
     195bool ?==?( const string &, const char * );
     196bool ?!=?( const string &, const char * );
     197bool ?>? ( const string &, const char * );
     198bool ?>=?( const string &, const char * );
     199bool ?<=?( const string &, const char * );
     200bool ?<? ( const string &, const char * );
     201
     202int strcmp( const char *, const string & );
     203bool ?==?( const char *, const string & );
     204bool ?!=?( const char *, const string & );
     205bool ?>? ( const char *, const string & );
     206bool ?>=?( const char *, const string & );
     207bool ?<=?( const char *, const string & );
     208bool ?<? ( const char *, const string & );
    209209
    210210
Note: See TracChangeset for help on using the changeset viewer.