Changeset 8d321f9 for libcfa/src/fstream.hfa
- Timestamp:
- Jun 19, 2020, 5:46:38 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 6c4bd02
- Parents:
- 1d2314f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/fstream.hfa
r1d2314f r8d321f9 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jun 16 20:41:21202013 // Update Count : 18 412 // Last Modified On : Fri Jun 19 16:29:17 2020 13 // Update Count : 189 14 14 // 15 15 … … 20 20 21 21 22 // *********************************** ofstream ***********************************22 // *********************************** ofstream *********************************** 23 23 24 24 … … 79 79 80 80 81 // *********************************** ifstream ***********************************81 // *********************************** ifstream *********************************** 82 82 83 83 … … 108 108 109 109 110 // *********************************** exceptions ***********************************110 // *********************************** exceptions *********************************** 111 111 112 112 113 DATA_EXCEPTION( IO_OPEN_FAILURE)(113 DATA_EXCEPTION(Open_Failure)( 114 114 union { 115 115 ofstream * ostream; 116 116 ifstream * istream; 117 117 }; 118 // TEMPORARY: need polymorphic exceptions 119 int tag; // 1 => ostream; 0 => istream 118 120 ); 119 121 120 void ?{}( IO_OPEN_FAILURE& this, ofstream & ostream );121 void ?{}( IO_OPEN_FAILURE& this, ifstream & istream );122 void ?{}( Open_Failure & this, ofstream & ostream ); 123 void ?{}( Open_Failure & this, ifstream & istream ); 122 124 123 125 // Local Variables: //
Note: See TracChangeset
for help on using the changeset viewer.