- File:
-
- 1 edited
-
libcfa/src/containers/string.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/containers/string.cfa
rbc9f84a rd32679d5 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 7 10:07:26202313 // Update Count : 212 // Last Modified On : Sat Aug 12 15:24:18 2023 13 // Update Count : 6 14 14 // 15 15 … … 100 100 101 101 //////////////////////////////////////////////////////// 102 // Output 103 104 ofstream & ?|?( ofstream & fs, const string & this ) { 105 return fs | (*this.inner); 106 } 107 108 void ?|?( ofstream & fs, const string & this ) { 109 fs | (*this.inner); 110 } 102 // Input-Output 103 104 ofstream & ?|?( ofstream & out, const string & this ) { 105 return out | (*this.inner); // print internal string_res 106 } 107 108 void ?|?( ofstream & out, const string & this ) { 109 (ofstream &)(out | (*this.inner)); ends( out ); 110 } 111 112 ifstream & ?|?(ifstream &in, string &this) { 113 return in | (*this.inner); // read to internal string_res 114 } 115 111 116 112 117 ////////////////////////////////////////////////////////
Note:
See TracChangeset
for help on using the changeset viewer.