Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/exceptions/except-io.hfa

    r3bf9d10 rafe2939  
    22
    33// Echo when a destructor is run and an area/block is left.
    4 
    5 #include <fstream.hfa>
    6 
    74struct loud_exit {
    85    const char * area;
     
    1411
    1512inline void ^?{}(loud_exit & this) {
    16     sout | "Exiting: " | this.area;
     13    printf("Exiting: %s\n", this.area);
    1714}
    1815
     
    2320inline void ?{}(loud_region & this, const char * region) {
    2421        this.region = region;
    25         sout | "Entering: " | region;
     22        printf("Entering: %s\n", region);
    2623}
    2724
    2825inline void ^?{}(loud_region & this) {
    29         sout | "Exiting: " | this.region;
     26        printf("Exiting: %s\n", this.region);
    3027}
Note: See TracChangeset for help on using the changeset viewer.