Changeset 906d8fa


Ignore:
Timestamp:
Jan 17, 2024, 6:40:02 PM (11 months ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
e8b3717
Parents:
7abc3de
Message:

tidy a string-library unhelpful comment

File:
1 edited

Legend:

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

    r7abc3de r906d8fa  
    9595}
    9696
     97// with and without const on "other" argument helps keep prevent autogen ?=? calls
    9798void ?=?(string & s, const string & c) {
    9899    (*s.inner) = (*c.inner);
    99100}
     101string & ?=?(string & s, string & c) {
     102    (*s.inner) = (*c.inner);
     103    return s;
     104}
    100105
    101106void ?=?( string & s, char val ) {
    102107    (*s.inner) = val;
    103 }
    104 
    105 string & ?=?(string & s, string & c) { //// <---- straw man change
    106     (*s.inner) = (*c.inner);
    107     return s;
    108108}
    109109
Note: See TracChangeset for help on using the changeset viewer.