Ignore:
Timestamp:
Aug 12, 2023, 10:26:52 PM (11 months ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
8d96dee
Parents:
9ca5e56
Message:

String input operator with chunked memory management.

File:
1 edited

Legend:

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

    r9ca5e56 rd32679d5  
    100100
    101101////////////////////////////////////////////////////////
    102 // Output
     102// Input-Output
    103103
    104104ofstream & ?|?( ofstream & out, const string & this ) {
     
    109109    (ofstream &)(out | (*this.inner)); ends( out );
    110110}
     111
     112ifstream & ?|?(ifstream &in, string &this) {
     113    return in | (*this.inner); // read to internal string_res
     114}
     115
    111116
    112117////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.