Changeset ecfd758 for libcfa/src/fstream.cfa
- Timestamp:
- Apr 9, 2021, 2:11:43 PM (2 years ago)
- Branches:
- arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- b91bfde
- Parents:
- e07b589
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/fstream.cfa
re07b589 recfd758 321 321 322 322 323 EHM_VIRTUAL_TABLE(Open_Failure, Open_Failure_main_table); 323 324 void ?{}( Open_Failure & this, ofstream & ostream ) { 324 VTABLE_INIT(this, Open_Failure);325 this.virtual_table = &Open_Failure_main_table; 325 326 this.ostream = &ostream; 326 327 this.tag = 1; 327 328 } 328 329 void ?{}( Open_Failure & this, ifstream & istream ) { 329 VTABLE_INIT(this, Open_Failure);330 this.virtual_table = &Open_Failure_main_table; 330 331 this.istream = &istream; 331 332 this.tag = 0; 332 333 } 333 const char * Open_Failure_msg(Open_Failure * this) {334 return "Open_Failure";335 }336 VTABLE_INSTANCE(Open_Failure)(Open_Failure_msg);337 334 void throwOpen_Failure( ofstream & ostream ) { 338 335 Open_Failure exc = { ostream };
Note: See TracChangeset
for help on using the changeset viewer.